public function QuizQuestionTestCase::testQuizQuestionImplementation in Quiz 7.5
Same name and namespace in other branches
- 7.6 question_types/quiz_question/QuizQuestionTestCase.test \QuizQuestionTestCase::testQuizQuestionImplementation()
Test the subclass's quiz question implementation.
File
- question_types/
quiz_question/ QuizQuestionTestCase.test, line 40 - Unit tests for the quiz question Module.
Class
- QuizQuestionTestCase
- Base test class for Quiz questions.
Code
public function testQuizQuestionImplementation() {
$qq = quiz_question_get_info();
$this
->assertTrue(isset($qq[$this->question_node_type]), t('Check that the question implementation is correct.'));
}