You are here

public function TrueFalseUnitTest::testTrueFalseNodeOperations in Quiz 7

Same name and namespace in other branches
  1. 6.6 question_types/truefalse/truefalse.test \TrueFalseUnitTest::testTrueFalseNodeOperations()
  2. 6.4 question_types/truefalse/truefalse.test \TrueFalseUnitTest::testTrueFalseNodeOperations()
  3. 7.4 question_types/truefalse/truefalse.test \TrueFalseUnitTest::testTrueFalseNodeOperations()

Run a bundle of Node API tests.

This tests CRUD and revision functionality on a single node.

File

question_types/truefalse/truefalse.test, line 158

Class

TrueFalseUnitTest

Code

public function testTrueFalseNodeOperations() {
  $this
    ->createTrueFalseQuestion();
  $this
    ->unitTestDeleteTrueFalseQuestionNode();
  $this
    ->unitTestCreateTrueFalseQuestionNode();
  $this
    ->unitTestCreateTrueFalseQuestionRevision();
  $this
    ->unitTestUpdateTrueFalseQuestionNode();
}