ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Unit tests. More...
Protected Member Functions | |
setUp () | |
Static Protected Member Functions | |
static | getMethod ($name) |
Protected Attributes | |
$backupGlobals = FALSE | |
Unit tests.
Definition at line 9 of file assLongMenuTest.php.
|
staticprotected |
Definition at line 14 of file assLongMenuTest.php.
|
protected |
Definition at line 21 of file assLongMenuTest.php.
References $GLOBALS, and defined.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerDoesNotExistsInAnswers | ( | ) |
Definition at line 146 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoAnswers | ( | ) |
Definition at line 154 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoPoints | ( | ) |
Definition at line 162 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerPointsAreZero | ( | ) |
Definition at line 170 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseNoCustomPart | ( | ) |
Definition at line 118 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyAnswers | ( | ) |
Definition at line 124 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyCorrectAnswers | ( | ) |
Definition at line 131 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseToManyCorrectAnswers | ( | ) |
Definition at line 138 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeTrue | ( | ) |
Definition at line 178 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnFalse | ( | ) |
Definition at line 71 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnTrue | ( | ) |
Definition at line 63 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getAdditionalTableName_shouldReturnString | ( | ) |
Definition at line 45 of file assLongMenuTest.php.
assLongmenuTest::test_getAnswerTableName_shouldReturnString | ( | ) |
Definition at line 57 of file assLongMenuTest.php.
assLongmenuTest::test_getMaximumPoints_shouldBeFour | ( | ) |
Definition at line 79 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getMaximumPoints_shouldBeFourPointFive | ( | ) |
Definition at line 88 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getQuestionType_shouldReturnString | ( | ) |
Definition at line 51 of file assLongMenuTest.php.
assLongmenuTest::test_getSolutionSubmit_shouldReturnSolution | ( | ) |
Definition at line 186 of file assLongMenuTest.php.
assLongmenuTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 39 of file assLongMenuTest.php.
assLongmenuTest::test_isComplete_shouldBeFalse | ( | ) |
Definition at line 97 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_isComplete_shouldBeTrue | ( | ) |
Definition at line 106 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_isShuffleAnswersEnabled_shouldReturnFalse | ( | ) |
Definition at line 215 of file assLongMenuTest.php.
assLongmenuTest::test_setAnswerType_shouldReturnGetAnswerType | ( | ) |
Definition at line 194 of file assLongMenuTest.php.
assLongmenuTest::test_setJsonStructure_shouldReturnGetJsonStructure | ( | ) |
Definition at line 208 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_setLongMenuTextValue_shouldReturnGetLongMenuTextValue | ( | ) |
Definition at line 200 of file assLongMenuTest.php.
|
protected |
Definition at line 11 of file assLongMenuTest.php.