|
ILIAS
release_8 Revision v8.24
|
Unit tests. More...
Inheritance diagram for assClozeGapTest:
Collaboration diagram for assClozeGapTest:Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from assBaseTestCase | |
| setUp () | |
| tearDown () | |
| setGlobalVariable (string $name, $value) | |
| getGlobalTemplateMock () | |
| getDatabaseMock () | |
| getIliasMock () | |
Protected Attributes | |
| $backupGlobals = false | |
Protected Attributes inherited from assBaseTestCase | |
| Container | $dic = null |
Private Member Functions | |
| getDummyTransformationMock () | |
Unit tests.
Definition at line 28 of file assClozeGapTest.php.
|
private |
Definition at line 649 of file assClozeGapTest.php.
Referenced by test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric(), test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText(), test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti(), and test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK().
Here is the caller graph for this function:
|
protected |
Reimplemented from assBaseTestCase.
Definition at line 32 of file assClozeGapTest.php.
References assBaseTestCase\setGlobalVariable().
Here is the call graph for this function:| assClozeGapTest::test_addGetItem_shouldReturnValueUnchanged | ( | ) |
Definition at line 123 of file assClozeGapTest.php.
| assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiple | ( | ) |
Definition at line 139 of file assClozeGapTest.php.
| assClozeGapTest::test_addGetItem_shouldReturnValueUnchangedMultiplePlus | ( | ) |
Definition at line 178 of file assClozeGapTest.php.
| assClozeGapTest::test_arrayShuffle_shouldNotReturnArrayUnshuffled | ( | ) |
Definition at line 101 of file assClozeGapTest.php.
| assClozeGapTest::test_clearItems_shouldClearItems | ( | ) |
Definition at line 349 of file assClozeGapTest.php.
| assClozeGapTest::test_deleteItem_shouldDeleteGivenItem | ( | ) |
Definition at line 326 of file assClozeGapTest.php.
| assClozeGapTest::test_getBestSolutionIndexes_shouldReturnBestSolutionIndexes | ( | ) |
Definition at line 486 of file assClozeGapTest.php.
| assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseNumeric | ( | ) |
Definition at line 581 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
Here is the call graph for this function:| assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseText | ( | ) |
Definition at line 511 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
Here is the call graph for this function:| assClozeGapTest::test_getBestSolutionOutput_shouldReturnBestSolutionOutput_CaseTextMulti | ( | ) |
Definition at line 545 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
Here is the call graph for this function:| assClozeGapTest::test_getBestSolutionOutput_shouldReturnEmptyStringOnUnknownType_WhichMakesNoSenseButK | ( | ) |
Definition at line 615 of file assClozeGapTest.php.
References $DIC, $GLOBALS, and getDummyTransformationMock().
Here is the call graph for this function:| assClozeGapTest::test_getItem_shouldReturnNullIfNoItemAtGivenIndex | ( | ) |
Definition at line 157 of file assClozeGapTest.php.
| assClozeGapTest::test_getItemCount_shouldReturnCorrectCount | ( | ) |
Definition at line 283 of file assClozeGapTest.php.
| assClozeGapTest::test_getItems_shouldReturnItemsAdded | ( | ) |
Definition at line 201 of file assClozeGapTest.php.
| assClozeGapTest::test_getItemsRaw_shouldReturnItemsAdded | ( | ) |
Definition at line 260 of file assClozeGapTest.php.
| assClozeGapTest::test_getItemsWithShuffle_shouldReturnItemsAddedShuffled | ( | ) |
Definition at line 226 of file assClozeGapTest.php.
| assClozeGapTest::test_getMaxWidth_shouldReturnCharacterCountOfLongestAnswertext | ( | ) |
Definition at line 461 of file assClozeGapTest.php.
| assClozeGapTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 45 of file assClozeGapTest.php.
| assClozeGapTest::test_setGetShuffle_shouldReturnUnchangedValue | ( | ) |
Definition at line 86 of file assClozeGapTest.php.
| assClozeGapTest::test_setGetType_shouldReturnUnchangedValue | ( | ) |
Definition at line 56 of file assClozeGapTest.php.
| assClozeGapTest::test_setItemLowerBound_shouldSetItemsAnswerIfBoundTooHigh | ( | ) |
Definition at line 396 of file assClozeGapTest.php.
| assClozeGapTest::test_setItemLowerBound_shouldSetItemsLowerBound | ( | ) |
Definition at line 375 of file assClozeGapTest.php.
| assClozeGapTest::test_setItemUpperBound_shouldSetItemsAnswerIfBoundTooLow | ( | ) |
Definition at line 439 of file assClozeGapTest.php.
| assClozeGapTest::test_setItemUpperBound_shouldSetItemsUpperBound | ( | ) |
Definition at line 418 of file assClozeGapTest.php.
| assClozeGapTest::test_setType_shouldSetDefaultIfNotPassed | ( | ) |
Definition at line 71 of file assClozeGapTest.php.
|
protected |
Definition at line 30 of file assClozeGapTest.php.