3 require_once
'Services/Database/interfaces/interface.ilDBInterface.php';
17 if (
defined(
'ILIAS_PHPUNIT_CONTEXT')) {
18 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
19 ilUnitUtil::performInitialisation();
21 chdir(dirname(__FILE__));
29 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
34 $this->assertInstanceOf(
'ilAssOrderingElement', $instance);
40 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
45 $instance->setRandomIdentifier($expected);
46 $actual = $instance->getRandomIdentifier();
49 $this->assertEquals($expected, $actual);
55 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
60 $instance->setId($expected);
61 $actual = $instance->getId();
64 $this->assertEquals($expected, $actual);
71 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
76 $instance->setIndentation($expected);
77 $actual = $instance->getIndentation();
80 $this->assertEquals($expected, $actual);
test_setGetOrdeingDepth()
test_instantiateObject_shouldReturnInstance()
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'