ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4use PHPUnit\Framework\TestCase;
5
17class ilBaseWorkflowTest extends TestCase
18{
19 public function setUp() : void
20 {
21 include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
22 //ilUnitUtil::performInitialisation();
23
24 // Empty workflow as test fixture for the abstract class.
25 require_once './Services/WorkflowEngine/classes/workflows/class.ilEmptyWorkflow.php';
26 }
27
28 public function tearDown() : void
29 {
30 global $ilSetting;
31 if ($ilSetting != null) {
32 $ilSetting->delete('IL_PHPUNIT_TEST_TIME');
33 $ilSetting->delete('IL_PHPUNIT_TEST_MICROTIME');
34 }
35 }
36}
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