ILIAS  Release_4_1_x_branch Revision 61804
 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");
12  }
13 
14  public function testObjDefinitionReader()
15  {
16 
17  include_once("./setup/classes/class.ilObjDefReader.php");
18  $def_reader = new ilObjDefReader("./Services/Object/test/testmodule.xml",
19  "DefinitionTest", "Modules");
20 
21  $def_reader->deleteObjectDefinition("xx1");
22  $def_reader->startParsing();
23 
24  $this->assertEquals("", $result);
25  }
26 }
27 ?>