ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 |
|
protected |
Definition at line 22 of file assLongMenuTest.php.
References $GLOBALS, and defined.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerDoesNotExistsInAnswers | ( | ) |
Definition at line 144 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoAnswers | ( | ) |
Definition at line 152 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoPoints | ( | ) |
Definition at line 160 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerPointsAreZero | ( | ) |
Definition at line 168 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseNoCustomPart | ( | ) |
Definition at line 116 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyAnswers | ( | ) |
Definition at line 122 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyCorrectAnswers | ( | ) |
Definition at line 129 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseToManyCorrectAnswers | ( | ) |
Definition at line 136 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeTrue | ( | ) |
Definition at line 176 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnFalse | ( | ) |
Definition at line 69 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnTrue | ( | ) |
Definition at line 61 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getAdditionalTableName_shouldReturnString | ( | ) |
Definition at line 43 of file assLongMenuTest.php.
assLongmenuTest::test_getAnswerTableName_shouldReturnString | ( | ) |
Definition at line 55 of file assLongMenuTest.php.
assLongmenuTest::test_getMaximumPoints_shouldBeFour | ( | ) |
Definition at line 77 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getMaximumPoints_shouldBeFourPointFive | ( | ) |
Definition at line 86 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_getQuestionType_shouldReturnString | ( | ) |
Definition at line 49 of file assLongMenuTest.php.
assLongmenuTest::test_getSolutionSubmit_shouldReturnSolution | ( | ) |
Definition at line 184 of file assLongMenuTest.php.
assLongmenuTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 37 of file assLongMenuTest.php.
assLongmenuTest::test_isComplete_shouldBeFalse | ( | ) |
Definition at line 95 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_isComplete_shouldBeTrue | ( | ) |
Definition at line 104 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_isShuffleAnswersEnabled_shouldReturnFalse | ( | ) |
Definition at line 213 of file assLongMenuTest.php.
assLongmenuTest::test_setAnswerType_shouldReturnGetAnswerType | ( | ) |
Definition at line 192 of file assLongMenuTest.php.
assLongmenuTest::test_setJsonStructure_shouldReturnGetJsonStructure | ( | ) |
Definition at line 206 of file assLongMenuTest.php.
References array.
assLongmenuTest::test_setLongMenuTextValue_shouldReturnGetLongMenuTextValue | ( | ) |
Definition at line 198 of file assLongMenuTest.php.
|
protected |
Definition at line 11 of file assLongMenuTest.php.