From 28e5a284ed8129b2786ab019e1b8882db3db292d Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Mon, 1 Mar 2010 16:45:53 -0500 Subject: [PATCH] Added a new file for the test_suite.php with the construct and destructor0 CT#191 --- .../lib/be/forumthreadlink.class.test.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/main/gradebook/lib/be/forumthreadlink.class.test.php diff --git a/tests/main/gradebook/lib/be/forumthreadlink.class.test.php b/tests/main/gradebook/lib/be/forumthreadlink.class.test.php new file mode 100644 index 0000000000..03a1138164 --- /dev/null +++ b/tests/main/gradebook/lib/be/forumthreadlink.class.test.php @@ -0,0 +1,22 @@ +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'); + } + +} +?> \ No newline at end of file