|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Unit tests for single choice questions. More...
Inheritance diagram for assSingleChoiceTest:
Collaboration diagram for assSingleChoiceTest:Public Member Functions | |
| test_isComplete_shouldReturnTrue () | |
| Create a sample question and save it to the database. More... | |
| test_getThumbPrefix_shouldReturnString () | |
| test_setOutputType_shouldReturngetOutputType () | |
| test_getAnswerCount_shouldReturnCount () | |
| test_flushAnswers_shouldClearAnswers () | |
| test_getQuestionType_shouldReturnQuestionType () | |
| test_getAdditionalTableName_shouldReturnAdditionalTableName () | |
| test_getAnswerTableName_shouldReturnAnswerTableName () | |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $backupGlobals = false | |
Unit tests for single choice questions.
Definition at line 13 of file assSingleChoiceTest.php.
|
protected |
Definition at line 17 of file assSingleChoiceTest.php.
References defined.
| assSingleChoiceTest::test_flushAnswers_shouldClearAnswers | ( | ) |
Definition at line 121 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_getAdditionalTableName_shouldReturnAdditionalTableName | ( | ) |
Definition at line 137 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_getAnswerCount_shouldReturnCount | ( | ) |
Definition at line 110 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_getAnswerTableName_shouldReturnAnswerTableName | ( | ) |
Definition at line 143 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_getQuestionType_shouldReturnQuestionType | ( | ) |
Definition at line 131 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_getThumbPrefix_shouldReturnString | ( | ) |
Definition at line 97 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_isComplete_shouldReturnTrue | ( | ) |
Create a sample question and save it to the database.
| integer | $obj_id | Object ID of the containing question pool object (optional) |
return
Definition at line 85 of file assSingleChoiceTest.php.
| assSingleChoiceTest::test_setOutputType_shouldReturngetOutputType | ( | ) |
Definition at line 103 of file assSingleChoiceTest.php.
|
protected |
Definition at line 15 of file assSingleChoiceTest.php.