ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
7
class
ilObjectDefinitionTest
extends
PHPUnit_Framework_TestCase
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
$result
Definition:
CleanUpTest.php:463
ilObjectDefinitionTest
needsInstalledILIAS
Definition:
ilObjectDefinitionTest.php:7
PHPUnit_Framework_TestCase
ilObjectDefinitionTest\$backupGlobals
$backupGlobals
Definition:
ilObjectDefinitionTest.php:9
ilObjDefReader
Component definition reader (reads common tags in module.xml and service.xml files) Name is misleadin...
Definition:
class.ilObjDefReader.php:15
php
ilObjectDefinitionTest\setUp
setUp()
Definition:
ilObjectDefinitionTest.php:11
ilObjectDefinitionTest\testObjDefinitionReader
testObjDefinitionReader()
IL_Init
Definition:
ilObjectDefinitionTest.php:20
Services
Object
test
ilObjectDefinitionTest.php
Generated on Thu Jan 16 2025 19:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)