ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Unit tests for Mark. More...
Public Member Functions | |
testGetWithShortName () | |
Basic Get/Set test on member short name using accessor methods. More... | |
testGetWithPassed () | |
Basic Get/Set test on member passed using accessor methods. More... | |
testGetWithOfficialName () | |
Basic Get/Set test on member officialName using accessor methods. More... | |
testGetWithMinimumLevel () | |
Basic Get/Set test on member minimumLevel using accessor methods. More... | |
testWithMinimumLevel_High () | |
Set test on member minimumLevel using accessor method with a high level. More... | |
testWithMinimumLevel_Low () | |
Set test on member minimumLevel using accessor methods with a very low level. More... | |
testWithMinimumLevel_TooLow () | |
Set test on member minimumLevel using accessor methods with a too low level. More... | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$backupGlobals = false | |
Mark | $ass_mark |
|
protected |
Definition at line 36 of file MarkTest.php.
MarkTest::testGetWithMinimumLevel | ( | ) |
Basic Get/Set test on member minimumLevel using accessor methods.
Definition at line 107 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), and ILIAS\Test\Scoring\Marks\Mark\withMinimumLevel().
MarkTest::testGetWithOfficialName | ( | ) |
Basic Get/Set test on member officialName using accessor methods.
Definition at line 87 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getOfficialName(), and ILIAS\Test\Scoring\Marks\Mark\withOfficialName().
MarkTest::testGetWithPassed | ( | ) |
Basic Get/Set test on member passed using accessor methods.
Definition at line 67 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getPassed(), and ILIAS\Test\Scoring\Marks\Mark\withPassed().
MarkTest::testGetWithShortName | ( | ) |
Basic Get/Set test on member short name using accessor methods.
Definition at line 47 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getShortName(), and ILIAS\Test\Scoring\Marks\Mark\withShortName().
MarkTest::testWithMinimumLevel_High | ( | ) |
Set test on member minimumLevel using accessor method with a high level.
Tested method should accept double according to docblock at getMinimumLevel(). Confusingly, setMinimumLevel states that it accepts strings as param, which can be considered an oversight of the author.
Enhance documentation of class.assMark.php::setMinimumLevel();
Enhance documentation of class.assMark.php::getMinimumLevel();
Definition at line 134 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), and ILIAS\Test\Scoring\Marks\Mark\withMinimumLevel().
MarkTest::testWithMinimumLevel_Low | ( | ) |
Set test on member minimumLevel using accessor methods with a very low level.
Definition at line 156 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), and ILIAS\Test\Scoring\Marks\Mark\withMinimumLevel().
MarkTest::testWithMinimumLevel_TooLow | ( | ) |
Set test on member minimumLevel using accessor methods with a too low level.
Definition at line 178 of file MarkTest.php.
References ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), and ILIAS\Test\Scoring\Marks\Mark\withMinimumLevel().
|
protected |
Definition at line 34 of file MarkTest.php.
|
protected |
Definition at line 32 of file MarkTest.php.