ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Unit tests. More...
Protected Member Functions | |
setUp () | |
![]() | |
setUp () | |
tearDown () | |
getIRSSMock () | |
Protected Attributes | |
$backupGlobals = false | |
![]() | |
Container | $dic = null |
Private Member Functions | |
getDummyTransformationMock () | |
|
private |
Definition at line 511 of file assClozeGapTest.php.
Referenced by test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric(), test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText(), test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti(), and test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK().
|
protected |
Reimplemented from assBaseTestCase.
Definition at line 32 of file assClozeGapTest.php.
References setGlobalVariable().
assClozeGapTest::test_addGetItem_shouldReturnValueUnchanged | ( | ) |
Definition at line 100 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiple | ( | ) |
Definition at line 111 of file assClozeGapTest.php.
assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiplePlus | ( | ) |
Definition at line 140 of file assClozeGapTest.php.
assClozeGapTest::test_arrayShuffle_shouldNotReturnArrayUnshuffled | ( | ) |
Definition at line 83 of file assClozeGapTest.php.
assClozeGapTest::test_clearItems_shouldClearItems | ( | ) |
Definition at line 274 of file assClozeGapTest.php.
assClozeGapTest::test_deleteItem_shouldDeleteGivenItem | ( | ) |
Definition at line 256 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionIndexes_shouldReturnBestSolutionIndexes | ( | ) |
Definition at line 381 of file assClozeGapTest.php.
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric | ( | ) |
Definition at line 457 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText | ( | ) |
Definition at line 401 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti | ( | ) |
Definition at line 428 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
assClozeGapTest::test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK | ( | ) |
Definition at line 484 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
assClozeGapTest::test_getItem_shouldReturnNullIfNoItemAtGivenIndex | ( | ) |
Definition at line 124 of file assClozeGapTest.php.
assClozeGapTest::test_getItemCount_shouldReturnCorrectCount | ( | ) |
Definition at line 223 of file assClozeGapTest.php.
assClozeGapTest::test_getItems_shouldReturnItemsAdded | ( | ) |
Definition at line 157 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsRaw_shouldReturnItemsAdded | ( | ) |
Definition at line 205 of file assClozeGapTest.php.
assClozeGapTest::test_getItemsWithShuffle_shouldReturnItemsAddedShuffled | ( | ) |
Definition at line 177 of file assClozeGapTest.php.
assClozeGapTest::test_getMaxWidth_shouldReturnCharacterCountOfLongestAnswertext | ( | ) |
Definition at line 361 of file assClozeGapTest.php.
assClozeGapTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 43 of file assClozeGapTest.php.
assClozeGapTest::test_setGetShuffle_shouldReturnUnchangedValue | ( | ) |
Definition at line 72 of file assClozeGapTest.php.
assClozeGapTest::test_setGetType_shouldReturnUnchangedValue | ( | ) |
Definition at line 50 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsAnswerIfBoundTooHigh | ( | ) |
Definition at line 311 of file assClozeGapTest.php.
assClozeGapTest::test_setItemLowerBound_shouldSetItemsLowerBound | ( | ) |
Definition at line 295 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsAnswerIfBoundTooLow | ( | ) |
Definition at line 344 of file assClozeGapTest.php.
assClozeGapTest::test_setItemUpperBound_shouldSetItemsUpperBound | ( | ) |
Definition at line 328 of file assClozeGapTest.php.
assClozeGapTest::test_setType_shouldSetDefaultIfNotPassed | ( | ) |
Definition at line 61 of file assClozeGapTest.php.
|
protected |
Definition at line 30 of file assClozeGapTest.php.