ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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 13 of file assLongMenuTest.php.
Referenced by test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnFalse(), and test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnTrue().
|
protected |
Definition at line 20 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerDoesNotExistsInAnswers | ( | ) |
Definition at line 143 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoAnswers | ( | ) |
Definition at line 151 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerHasNoPoints | ( | ) |
Definition at line 159 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseCorrectAnswerPointsAreZero | ( | ) |
Definition at line 167 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseNoCustomPart | ( | ) |
Definition at line 115 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyAnswers | ( | ) |
Definition at line 121 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseOnlyCorrectAnswers | ( | ) |
Definition at line 128 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeFalseBecauseToManyCorrectAnswers | ( | ) |
Definition at line 135 of file assLongMenuTest.php.
assLongmenuTest::test_checkQuestionCustomPart_shouldBeTrue | ( | ) |
Definition at line 175 of file assLongMenuTest.php.
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnFalse | ( | ) |
Definition at line 68 of file assLongMenuTest.php.
References getMethod().
assLongmenuTest::test_correctAnswerDoesNotExistInAnswerOptions_shouldReturnTrue | ( | ) |
Definition at line 60 of file assLongMenuTest.php.
References getMethod().
assLongmenuTest::test_getAdditionalTableName_shouldReturnString | ( | ) |
Definition at line 42 of file assLongMenuTest.php.
assLongmenuTest::test_getAnswerTableName_shouldReturnString | ( | ) |
Definition at line 54 of file assLongMenuTest.php.
assLongmenuTest::test_getMaximumPoints_shouldBeFour | ( | ) |
Definition at line 76 of file assLongMenuTest.php.
assLongmenuTest::test_getMaximumPoints_shouldBeFourPointFive | ( | ) |
Definition at line 85 of file assLongMenuTest.php.
assLongmenuTest::test_getQuestionType_shouldReturnString | ( | ) |
Definition at line 48 of file assLongMenuTest.php.
assLongmenuTest::test_getSolutionSubmit_shouldReturnSolution | ( | ) |
Definition at line 183 of file assLongMenuTest.php.
References $_POST.
assLongmenuTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 36 of file assLongMenuTest.php.
assLongmenuTest::test_isComplete_shouldBeFalse | ( | ) |
Definition at line 94 of file assLongMenuTest.php.
assLongmenuTest::test_isComplete_shouldBeTrue | ( | ) |
Definition at line 103 of file assLongMenuTest.php.
assLongmenuTest::test_isShuffleAnswersEnabled_shouldReturnFalse | ( | ) |
Definition at line 212 of file assLongMenuTest.php.
assLongmenuTest::test_setAnswerType_shouldReturnGetAnswerType | ( | ) |
Definition at line 191 of file assLongMenuTest.php.
assLongmenuTest::test_setJsonStructure_shouldReturnGetJsonStructure | ( | ) |
Definition at line 205 of file assLongMenuTest.php.
assLongmenuTest::test_setLongMenuTextValue_shouldReturnGetLongMenuTextValue | ( | ) |
Definition at line 197 of file assLongMenuTest.php.
|
protected |
Definition at line 11 of file assLongMenuTest.php.