Class ilTestScoringTest.
More...
◆ setUp()
| ilTestScoringTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
| ilTestScoringTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
Definition at line 41 of file ilTestScoringTest.php.
43 $this->assertInstanceOf(ilTestScoring::class, $this->testObj);
◆ testPreserveManualScores()
| ilTestScoringTest::testPreserveManualScores |
( |
| ) |
|
Definition at line 46 of file ilTestScoringTest.php.
48 $this->testObj->setPreserveManualScores(
false);
49 $this->assertFalse($this->testObj->getPreserveManualScores());
51 $this->testObj->setPreserveManualScores(
true);
52 $this->assertTrue($this->testObj->getPreserveManualScores());
◆ testQuestionId()
| ilTestScoringTest::testQuestionId |
( |
| ) |
|
Definition at line 55 of file ilTestScoringTest.php.
57 $this->testObj->setQuestionId(20);
58 $this->assertEquals(20, $this->testObj->getQuestionId());
◆ $testObj
The documentation for this class was generated from the following file: