<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */

class ilObjectDefinitionTest extends PHPUnit_Framework_TestCase
{
	protected $backupGlobals = FALSE;

	protected function setUp()
	{
		include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
		ilUnitUtil::performInitialisation();
	}
	
	public function testObjDefinitionReader()
	{
		
		include_once("./setup/classes/class.ilObjDefReader.php");
		$def_reader = new ilObjDefReader("./Services/Object/test/testmodule.xml",
			"DefinitionTest", "Modules");
		
		$def_reader->deleteObjectDefinition("xx1");
		$def_reader->startParsing();
		
		$this->assertEquals("", $result);
	}
}
?>
