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();
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.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
testGetSetOfficialName()
Basic Get/Set test on member officialName using accessor methods.