ILIAS
Release_4_2_x_branch Revision 61807
◀ 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
14
public
function
testObjDefinitionReader
()
15
{
16
17
include_once(
"./setup/classes/class.ilObjDefReader.php"
);
18
$def_reader =
new
ilObjDefReader
(
"./Services/Object/test/testmodule.xml"
,
19
"DefinitionTest"
,
"Modules"
);
20
21
$def_reader->deleteObjectDefinition(
"xx1"
);
22
$def_reader->startParsing();
23
24
$this->assertEquals(
""
,
$result
);
25
}
26
}
27
?>
Services
Object
test
ilObjectDefinitionTest.php
Generated on Fri Apr 22 2016 19:04:14 for ILIAS by
1.8.1.2 (using
Doxyfile
)