23 if (defined(
'ILIAS_PHPUNIT_CONTEXT'))
25 require_once
'./Services/PHPUnit/classes/class.ilUnitUtil.php';
26 ilUnitUtil::performInitialisation();
30 chdir( dirname( __FILE__ ) );
35 require_once
'./Modules/Test/classes/class.assMark.php';
46 $this->ass_mark->setShortName($expected);
49 $actual = $this->ass_mark->getShortName();
55 "Get/Set on shortName failed, in/out not matching."
66 $this->ass_mark->setPassed($expected);
69 $actual = $this->ass_mark->getPassed();
75 "Get/Set on passed failed, in/out not matching."
85 $expected =
"Esther The Tester";
86 $this->ass_mark->setOfficialName($expected);
89 $actual = $this->ass_mark->getOfficialName();
95 "Get/Set on officialName failed, in/out not matching."
106 $this->ass_mark->setMinimumLevel($expected);
109 $actual = $this->ass_mark->getMinimumLevel();
115 "Get/Set on minimumLevel failed, in/out not matching."
135 $this->ass_mark->setMinimumLevel($expected);
138 $actual = $this->ass_mark->getMinimumLevel();
144 "Set low on minimumLevel failed, in/out not matching."
158 $this->ass_mark->setMinimumLevel($expected);
161 $actual = $this->ass_mark->getMinimumLevel();
167 "Set low on minimumLevel failed, in/out not matching."
182 $this->ass_mark->setMinimumLevel($expected);
185 $actual = $this->ass_mark->getMinimumLevel();