You are here

public function LongAnswerUnitTest::testNodeAPI in Quiz 7.4

Same name and namespace in other branches
  1. 6.6 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
  2. 6.3 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
  3. 6.4 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
  4. 6.5 question_types/long_answer/long_answer.test \LongAnswerUnitTest::testNodeAPI()
  5. 7 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();
}