ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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?>
$result
Component definition reader (reads common tags in module.xml and service.xml files) Name is misleadin...
testObjDefinitionReader()
@group IL_Init