ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
23 include_once("./setup/classes/class.ilObjDefReader.php");
24 $def_reader = new ilObjDefReader("./Services/Object/test/testmodule.xml",
25 "DefinitionTest", "Modules");
26
27 $def_reader->deleteObjectDefinition("xx1");
28 $def_reader->startParsing();
29
30 $this->assertEquals("", $result);
31 }
32}
33?>
$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