Class ilTestRandomQuestionSetSourcePoolDefinitionFactoryTest.
More...
◆ 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: