This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilTestRandomQuestionCollectionSubsetApplicationTest
- Author
- Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de
Definition at line 25 of file ilTestRandomQuestionCollectionSubsetApplicationTest.php.
◆ setUp()
ilTestRandomQuestionCollectionSubsetApplicationTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestRandomQuestionCollectionSubsetApplicationTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testApplicantId()
ilTestRandomQuestionCollectionSubsetApplicationTest::testApplicantId |
( |
| ) |
|
◆ testDecrementRequiredAmount()
ilTestRandomQuestionCollectionSubsetApplicationTest::testDecrementRequiredAmount |
( |
| ) |
|
◆ testGetQuestion()
ilTestRandomQuestionCollectionSubsetApplicationTest::testGetQuestion |
( |
| ) |
|
◆ testHasQuestion()
ilTestRandomQuestionCollectionSubsetApplicationTest::testHasQuestion |
( |
| ) |
|
◆ testHasRequiredAmountLeft()
ilTestRandomQuestionCollectionSubsetApplicationTest::testHasRequiredAmountLeft |
( |
| ) |
|
Definition at line 53 of file ilTestRandomQuestionCollectionSubsetApplicationTest.php.
55 $this->testObj->setRequiredAmount(5);
56 $this->assertTrue($this->testObj->hasRequiredAmountLeft());
58 $this->testObj->setRequiredAmount(-200);
59 $this->assertFalse($this->testObj->hasRequiredAmountLeft());
61 $this->testObj->setRequiredAmount(0);
62 $this->assertFalse($this->testObj->hasRequiredAmountLeft());
◆ testRequiredAmount()
ilTestRandomQuestionCollectionSubsetApplicationTest::testRequiredAmount |
( |
| ) |
|
◆ $testObj
The documentation for this class was generated from the following file: