ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBaseWorkflowTest.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3
16{
17 public function setUp()
18 {
19 include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
20 //ilUnitUtil::performInitialisation();
21
22 // Empty workflow as test fixture for the abstract class.
23 require_once './Services/WorkflowEngine/classes/workflows/class.ilEmptyWorkflow.php';
24 }
25
26 public function tearDown()
27 {
28 global $ilSetting;
29 if ($ilSetting != null) {
30 $ilSetting->delete('IL_PHPUNIT_TEST_TIME');
31 $ilSetting->delete('IL_PHPUNIT_TEST_MICROTIME');
32 }
33 }
34}
An exception for terminatinating execution or to throw for unit testing.
ilBaseWorkflowTest is part of the petri net based workflow engine.
global $ilSetting
Definition: privfeed.php:17