Class ilTestQuestionHeaderBlockBuilderTest.
More...
◆ setUp()
ilTestQuestionHeaderBlockBuilderTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestQuestionHeaderBlockBuilderTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testHeaderMode()
ilTestQuestionHeaderBlockBuilderTest::testHeaderMode |
( |
| ) |
|
◆ testQuestionAnswered()
ilTestQuestionHeaderBlockBuilderTest::testQuestionAnswered |
( |
| ) |
|
Definition at line 62 of file ilTestQuestionHeaderBlockBuilderTest.php.
64 $this->testObj->setQuestionAnswered(
false);
65 $this->assertFalse($this->testObj->isQuestionAnswered());
67 $this->testObj->setQuestionAnswered(
true);
68 $this->assertTrue($this->testObj->isQuestionAnswered());
◆ testQuestionCount()
ilTestQuestionHeaderBlockBuilderTest::testQuestionCount |
( |
| ) |
|
◆ testQuestionPoints()
ilTestQuestionHeaderBlockBuilderTest::testQuestionPoints |
( |
| ) |
|
Definition at line 55 of file ilTestQuestionHeaderBlockBuilderTest.php.
57 $questionPoints = 20.5;
58 $this->testObj->setQuestionPoints($questionPoints);
59 $this->assertEquals($questionPoints, $this->testObj->getQuestionPoints());
◆ testQuestionPosition()
ilTestQuestionHeaderBlockBuilderTest::testQuestionPosition |
( |
| ) |
|
Definition at line 71 of file ilTestQuestionHeaderBlockBuilderTest.php.
73 $questionPosition = 20;
74 $this->testObj->setQuestionPosition($questionPosition);
75 $this->assertEquals($questionPosition, $this->testObj->getQuestionPosition());
◆ testQuestionPostponed()
ilTestQuestionHeaderBlockBuilderTest::testQuestionPostponed |
( |
| ) |
|
Definition at line 85 of file ilTestQuestionHeaderBlockBuilderTest.php.
87 $this->testObj->setQuestionPostponed(
false);
88 $this->assertFalse($this->testObj->isQuestionPostponed());
90 $this->testObj->setQuestionPostponed(
true);
91 $this->assertTrue($this->testObj->isQuestionPostponed());
◆ testQuestionRelatedObjectives()
ilTestQuestionHeaderBlockBuilderTest::testQuestionRelatedObjectives |
( |
| ) |
|
Definition at line 94 of file ilTestQuestionHeaderBlockBuilderTest.php.
96 $questionRelatedObjectives =
'test';
97 $this->testObj->setQuestionRelatedObjectives($questionRelatedObjectives);
98 $this->assertEquals($questionRelatedObjectives, $this->testObj->getQuestionRelatedObjectives());
◆ testQuestionTitle()
ilTestQuestionHeaderBlockBuilderTest::testQuestionTitle |
( |
| ) |
|
Definition at line 48 of file ilTestQuestionHeaderBlockBuilderTest.php.
50 $questionTitle =
'test';
51 $this->testObj->setQuestionTitle($questionTitle);
52 $this->assertEquals($questionTitle, $this->testObj->getQuestionTitle());
◆ $testObj
The documentation for this class was generated from the following file: