3 require_once
'Services/Database/interfaces/interface.ilDBInterface.php';
17 if (
defined(
'ILIAS_PHPUNIT_CONTEXT'))
19 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
20 ilUnitUtil::performInitialisation();
24 chdir( dirname( __FILE__ ) );
32 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
37 $this->assertInstanceOf(
'ilAssOrderingElement', $instance);
43 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
48 $instance->setRandomIdentifier($expected);
49 $actual = $instance->getRandomIdentifier();
52 $this->assertEquals($expected, $actual);
58 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
63 $instance->setId($expected);
64 $actual = $instance->getId();
67 $this->assertEquals($expected, $actual);
74 require_once
'./Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElement.php';
79 $instance->setIndentation($expected);
80 $actual = $instance->getIndentation();
83 $this->assertEquals($expected, $actual);
test_setGetOrdeingDepth()
test_instantiateObject_shouldReturnInstance()
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'