ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
35 public function testStartWorkflow()
36 {
37 $this->markTestIncomplete(
38 '$ilDB is not available during unit tests.'
39 );
40 // ilWorkflowDbHelper needs it, so, though luck atm.
41 }
42
43 public function testStopWorkflow()
44 {
45 $this->markTestIncomplete(
46 '$ilDB is not available during unit tests.'
47 );
48 // ilWorkflowDbHelper needs it, so, though luck atm.
49 }
50
51 public function testOnStartWorkflow()
52 {
53 $this->markTestIncomplete(
54 '$ilDB is not available during unit tests.'
55 );
56 // ilWorkflowDbHelper needs it, so, though luck atm.
57 }
58}
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