39 if (defined(
'ILIAS_PHPUNIT_CONTEXT'))
41 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
42 ilUnitUtil::performInitialisation();
46 chdir( dirname( __FILE__ ) );
50 include_once
'./Modules/Test/classes/class.assMark.php';
61 $this->ass_mark->setShortName($expected);
64 $actual = $this->ass_mark->getShortName();
70 "Get/Set on shortName failed, in/out not matching."
81 $this->ass_mark->setPassed($expected);
84 $actual = $this->ass_mark->getPassed();
90 "Get/Set on passed failed, in/out not matching."
100 $expected =
"Esther The Tester";
101 $this->ass_mark->setOfficialName($expected);
104 $actual = $this->ass_mark->getOfficialName();
110 "Get/Set on officialName failed, in/out not matching."
121 $this->ass_mark->setMinimumLevel($expected);
124 $actual = $this->ass_mark->getMinimumLevel();
130 "Get/Set on minimumLevel failed, in/out not matching."
150 $this->ass_mark->setMinimumLevel($expected);
153 $actual = $this->ass_mark->getMinimumLevel();
159 "Set low on minimumLevel failed, in/out not matching."
173 $this->ass_mark->setMinimumLevel($expected);
176 $actual = $this->ass_mark->getMinimumLevel();
182 "Set low on minimumLevel failed, in/out not matching."