Преглед на файлове

Added a new file for the test_suite.php with the construct and destructor0 CT#191

Arthur Portugal преди 15 години
родител
ревизия
28e5a284ed
променени са 1 файла, в които са добавени 22 реда и са изтрити 0 реда
  1. 22 0
      tests/main/gradebook/lib/be/forumthreadlink.class.test.php

+ 22 - 0
tests/main/gradebook/lib/be/forumthreadlink.class.test.php

@@ -0,0 +1,22 @@
+<?php
+class TestForumThreadLink extends UnitTestCase {
+	
+	public function TestForumThreadLink() {
+		$this->UnitTestCase('Test Forum Thread Link');
+	}
+
+	public function __construct() {
+		// The constructor acts like a global setUp for the class
+		TestManager::create_test_course('COURSEFORUMTHREAD');			
+	}
+	
+	
+	
+	
+	public function __destruct() {
+		// The destructor acts like a global tearDown for the class			
+		TestManager::delete_test_course('COURSEFORUMTHREAD');			
+	}
+	
+}
+?>