ILIAS
Release_4_4_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
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
4
class
ilObjectDefinitionTest
extends
PHPUnit_Framework_TestCase
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
?>
Services
Object
test
ilObjectDefinitionTest.php
Generated on Wed Apr 27 2016 20:01:49 for ILIAS by
1.8.1.2 (using
Doxyfile
)