23 if (defined(
'ILIAS_PHPUNIT_CONTEXT')) {
24 require_once
'./Services/PHPUnit/classes/class.ilUnitUtil.php';
25 ilUnitUtil::performInitialisation();
27 chdir(dirname(__FILE__));
32 require_once
'./Modules/Test/classes/class.assMark.php';
43 $this->ass_mark->setShortName($expected);
46 $actual = $this->ass_mark->getShortName();
52 "Get/Set on shortName failed, in/out not matching." 63 $this->ass_mark->setPassed($expected);
66 $actual = $this->ass_mark->getPassed();
72 "Get/Set on passed failed, in/out not matching." 82 $expected =
"Esther The Tester";
83 $this->ass_mark->setOfficialName($expected);
86 $actual = $this->ass_mark->getOfficialName();
92 "Get/Set on officialName failed, in/out not matching." 103 $this->ass_mark->setMinimumLevel($expected);
106 $actual = $this->ass_mark->getMinimumLevel();
112 "Get/Set on minimumLevel failed, in/out not matching." 132 $this->ass_mark->setMinimumLevel($expected);
135 $actual = $this->ass_mark->getMinimumLevel();
141 "Set low on minimumLevel failed, in/out not matching." 155 $this->ass_mark->setMinimumLevel($expected);
158 $actual = $this->ass_mark->getMinimumLevel();
164 "Set low on minimumLevel failed, in/out not matching." 179 $this->ass_mark->setMinimumLevel($expected);
182 $actual = $this->ass_mark->getMinimumLevel();
testSetMinimumLevel_TooLow()
Set test on member minimumLevel using accessor methods with a too low level.
testSetMinimumLevel_High()
Set test on member minimumLevel using accessor method with a high level.
A class defining marks for assessment test objects.
testGetSetPassed()
Basic Get/Set test on member passed using accessor methods.
testGetSetShortName()
Basic Get/Set test on member short name using accessor methods.
testSetMinimumLevel_Low()
Set test on member minimumLevel using accessor methods with a very low level.
testGetSetMinimumLevel()
Basic Get/Set test on member minimumLevel using accessor methods.
testGetSetOfficialName()
Basic Get/Set test on member officialName using accessor methods.