ILIAS
Release_5_0_x_branch Revision 61816
|
Unit tests. More...
Protected Member Functions | |
setUp () |
Protected Attributes | |
$backupGlobals = FALSE |
Unit tests.
Definition at line 11 of file assClozeGapTest.php.
|
protected |
Definition at line 15 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchanged | ( | ) |
Definition at line 100 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiple | ( | ) |
Definition at line 116 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiplePlus | ( | ) |
Definition at line 155 of file assClozeGapTest.php.
assClozeGapTest::test_arrayShuffle_shouldNotReturnArrayUnshuffled | ( | ) |
Definition at line 85 of file assClozeGapTest.php.
assClozeGapTest::test_clearItems_shouldClearItems | ( | ) |
Definition at line 320 of file assClozeGapTest.php.
assClozeGapTest::test_deleteItem_shouldDeleteGivenItem | ( | ) |
Definition at line 297 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionIndexes_shouldReturnBestSolutionIndexes | ( | ) |
Definition at line 457 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric | ( | ) |
Definition at line 547 of file assClozeGapTest.php.
References $lng.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText | ( | ) |
Definition at line 482 of file assClozeGapTest.php.
References $lng.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti | ( | ) |
Definition at line 514 of file assClozeGapTest.php.
References $lng.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK | ( | ) |
Definition at line 579 of file assClozeGapTest.php.
References $lng.
assClozeGapTest::test_getItem_shouldReturnNullIfNoItemAtGivenIndex | ( | ) |
Definition at line 134 of file assClozeGapTest.php.
assClozeGapTest::test_getItemCount_shouldReturnCorrectCount | ( | ) |
Definition at line 254 of file assClozeGapTest.php.
assClozeGapTest::test_getItems_shouldReturnItemsAdded | ( | ) |
Definition at line 178 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsRaw_shouldReturnItemsAdded | ( | ) |
Definition at line 231 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsWithShuffle_shouldReturnItemsAddedShuffled | ( | ) |
Definition at line 202 of file assClozeGapTest.php.
assClozeGapTest::test_getMaxWidth_shouldReturnCharacterCountOfLongestAnswertext | ( | ) |
Definition at line 432 of file assClozeGapTest.php.
assClozeGapTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 29 of file assClozeGapTest.php.
assClozeGapTest::test_setGetShuffle_shouldReturnUnchangedValue | ( | ) |
Definition at line 70 of file assClozeGapTest.php.
assClozeGapTest::test_setGetType_shouldReturnUnchangedValue | ( | ) |
Definition at line 40 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsAnswerIfBoundTooHigh | ( | ) |
Definition at line 367 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsLowerBound | ( | ) |
Definition at line 346 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsAnswerIfBoundTooLow | ( | ) |
Definition at line 410 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsUpperBound | ( | ) |
Definition at line 389 of file assClozeGapTest.php.
assClozeGapTest::test_setType_shouldSetDefaultIfNotPassed | ( | ) |
Definition at line 55 of file assClozeGapTest.php.
|
protected |
Definition at line 13 of file assClozeGapTest.php.