public function LongAnswerUnitTest::testNodeAPI in Quiz 6.6
Same name and namespace in other branches
- 6.3 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
- 6.4 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
- 6.5 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
- 7 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
- 7.4 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
Run a bundle of Node API tests.
This tests CRUD and revision functionality on a single node.
File
- question_types/
long_answer/ long_answer.test, line 134 - Unit tests for the long_answer Module.
Class
- LongAnswerUnitTest
- Unit tests for the long_answer Module. @file
Code
public function testNodeAPI() {
$this
->unitTestCreateQuestionNode();
$this
->unitTestCheckNodeProperties();
$this
->unitTestUpdateQuestionNode();
$this
->unitTestListQuestions();
// Revisions
$this
->unitTestCreateQuestionRevision();
$this
->unitTestDeleteQuestionNode();
}