ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Unit tests. More...
Protected Member Functions | |
setUp () | |
Protected Member Functions inherited from assBaseTestCase | |
setUp () | |
setGlobalVariable ($name, $value) | |
getGlobalTemplateMock () | |
getDatabaseMock () | |
getIliasMock () | |
Protected Attributes | |
$backupGlobals = false | |
Unit tests.
Definition at line 11 of file assClozeGapTest.php.
|
protected |
Definition at line 15 of file assClozeGapTest.php.
References assBaseTestCase\setGlobalVariable().
assClozeGapTest::test_addGetItem_shouldReturnValueUnchanged | ( | ) |
Definition at line 109 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiple | ( | ) |
Definition at line 125 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiplePlus | ( | ) |
Definition at line 164 of file assClozeGapTest.php.
assClozeGapTest::test_arrayShuffle_shouldNotReturnArrayUnshuffled | ( | ) |
Definition at line 90 of file assClozeGapTest.php.
assClozeGapTest::test_clearItems_shouldClearItems | ( | ) |
Definition at line 340 of file assClozeGapTest.php.
assClozeGapTest::test_deleteItem_shouldDeleteGivenItem | ( | ) |
Definition at line 317 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionIndexes_shouldReturnBestSolutionIndexes | ( | ) |
Definition at line 477 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric | ( | ) |
Definition at line 572 of file assClozeGapTest.php.
References $DIC, and $GLOBALS.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText | ( | ) |
Definition at line 502 of file assClozeGapTest.php.
References $DIC, and $GLOBALS.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti | ( | ) |
Definition at line 536 of file assClozeGapTest.php.
References $DIC, and $GLOBALS.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK | ( | ) |
Definition at line 606 of file assClozeGapTest.php.
References $DIC, and $GLOBALS.
assClozeGapTest::test_getItem_shouldReturnNullIfNoItemAtGivenIndex | ( | ) |
Definition at line 143 of file assClozeGapTest.php.
assClozeGapTest::test_getItemCount_shouldReturnCorrectCount | ( | ) |
Definition at line 274 of file assClozeGapTest.php.
assClozeGapTest::test_getItems_shouldReturnItemsAdded | ( | ) |
Definition at line 187 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsRaw_shouldReturnItemsAdded | ( | ) |
Definition at line 251 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsWithShuffle_shouldReturnItemsAddedShuffled | ( | ) |
Definition at line 210 of file assClozeGapTest.php.
assClozeGapTest::test_getMaxWidth_shouldReturnCharacterCountOfLongestAnswertext | ( | ) |
Definition at line 452 of file assClozeGapTest.php.
assClozeGapTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 34 of file assClozeGapTest.php.
assClozeGapTest::test_setGetShuffle_shouldReturnUnchangedValue | ( | ) |
Definition at line 75 of file assClozeGapTest.php.
assClozeGapTest::test_setGetType_shouldReturnUnchangedValue | ( | ) |
Definition at line 45 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsAnswerIfBoundTooHigh | ( | ) |
Definition at line 387 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsLowerBound | ( | ) |
Definition at line 366 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsAnswerIfBoundTooLow | ( | ) |
Definition at line 430 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsUpperBound | ( | ) |
Definition at line 409 of file assClozeGapTest.php.
assClozeGapTest::test_setType_shouldSetDefaultIfNotPassed | ( | ) |
Definition at line 60 of file assClozeGapTest.php.
|
protected |
Definition at line 13 of file assClozeGapTest.php.