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 Unit tests
- Author
- Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Definition at line 26 of file assAnswerClozeTest.php.
◆ setUp()
assAnswerClozeTest::setUp |
( |
| ) |
|
|
protected |
◆ test_constructorShouldReturnInstance()
assAnswerClozeTest::test_constructorShouldReturnInstance |
( |
| ) |
|
Definition at line 36 of file assAnswerClozeTest.php.
39 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
45 $this->assertNotNull($instance);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetLowerBond_GreaterThanAnswerShouldSetAnswertext()
assAnswerClozeTest::test_setGetLowerBond_GreaterThanAnswerShouldSetAnswertext |
( |
| ) |
|
Definition at line 63 of file assAnswerClozeTest.php.
66 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
71 $instance->setLowerBound(4);
72 $actual = $instance->getLowerBound();
75 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetLowerBound()
assAnswerClozeTest::test_setGetLowerBound |
( |
| ) |
|
Definition at line 48 of file assAnswerClozeTest.php.
51 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
56 $instance->setLowerBound($expected);
57 $actual = $instance->getLowerBound();
60 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetLowerBound_nonNumericShouldSetAnswertext()
assAnswerClozeTest::test_setGetLowerBound_nonNumericShouldSetAnswertext |
( |
| ) |
|
Definition at line 78 of file assAnswerClozeTest.php.
81 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
86 $instance->setLowerBound(
'test');
87 $actual = $instance->getLowerBound();
90 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetUpperBound()
assAnswerClozeTest::test_setGetUpperBound |
( |
| ) |
|
Definition at line 93 of file assAnswerClozeTest.php.
96 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
101 $instance->setUpperBound($expected);
102 $actual = $instance->getUpperBound();
105 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetUpperBound_nonNumericShouldSetAnswertext()
assAnswerClozeTest::test_setGetUpperBound_nonNumericShouldSetAnswertext |
( |
| ) |
|
Definition at line 123 of file assAnswerClozeTest.php.
126 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
131 $instance->setUpperBound(
'test');
132 $actual = $instance->getUpperBound();
135 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ test_setGetUpperBound_smallerThanAnswerShouldSetAnswertext()
assAnswerClozeTest::test_setGetUpperBound_smallerThanAnswerShouldSetAnswertext |
( |
| ) |
|
Definition at line 108 of file assAnswerClozeTest.php.
111 require_once
'./Modules/TestQuestionPool/classes/class.assAnswerCloze.php';
116 $instance->setUpperBound(2);
117 $actual = $instance->getUpperBound();
120 $this->assertEquals($expected, $actual);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ $backupGlobals
assAnswerClozeTest::$backupGlobals = false |
|
protected |
The documentation for this class was generated from the following file: