ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
8{
9 protected $backupGlobals = false;
10
11 protected function setUp()
12 {
13 include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
14 ilUnitUtil::performInitialisation();
15 }
16
20 public function testObjDefinitionReader()
21 {
22 include_once("./setup/classes/class.ilObjDefReader.php");
23 $def_reader = new ilObjDefReader(
24 "./Services/Object/test/testmodule.xml",
25 "DefinitionTest",
26 "Modules"
27 );
28
29 $def_reader->deleteObjectDefinition("xx1");
30 $def_reader->startParsing();
31
32 $this->assertEquals("", $result);
33 }
34}
$result
An exception for terminatinating execution or to throw for unit testing.
Component definition reader (reads common tags in module.xml and service.xml files) Name is misleadin...
@group needsInstalledILIAS
testObjDefinitionReader()
@group IL_Init