ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjectDefinitionTest.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
5 {
6  protected $backupGlobals = FALSE;
7 
8  protected function setUp()
9  {
10  include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
11  ilUnitUtil::performInitialisation();
12  }
13 
17  public function testObjDefinitionReader()
18  {
19 
20  include_once("./setup/classes/class.ilObjDefReader.php");
21  $def_reader = new ilObjDefReader("./Services/Object/test/testmodule.xml",
22  "DefinitionTest", "Modules");
23 
24  $def_reader->deleteObjectDefinition("xx1");
25  $def_reader->startParsing();
26 
27  $this->assertEquals("", $result);
28  }
29 }
30 ?>