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 ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest
- Author
- Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de
Definition at line 25 of file ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest.php.
◆ setUp()
ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testGetEmptySourcePoolDefinition()
ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest::testGetEmptySourcePoolDefinition |
( |
| ) |
|
◆ testGetSourcePoolDefinitionByOriginalPoolData()
ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest::testGetSourcePoolDefinitionByOriginalPoolData |
( |
| ) |
|
Definition at line 44 of file ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest.php.
49 "qpl_title" =>
"testTitle",
50 "qpl_path" =>
"test/path",
54 $result = $this->testObj->getSourcePoolDefinitionByOriginalPoolData($originalPoolData);
55 $this->assertEquals($originalPoolData[
"qpl_id"], $result->getPoolId());
56 $this->assertEquals($originalPoolData[
"qpl_ref_id"], $result->getPoolRefId());
57 $this->assertEquals($originalPoolData[
"qpl_title"], $result->getPoolTitle());
58 $this->assertEquals($originalPoolData[
"qpl_path"], $result->getPoolPath());
59 $this->assertEquals($originalPoolData[
"count"], $result->getPoolQuestionCount());
◆ $testObj
The documentation for this class was generated from the following file: