ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 {
31 $ilSetting->delete( 'IL_PHPUNIT_TEST_TIME' );
32 $ilSetting->delete( 'IL_PHPUNIT_TEST_MICROTIME' );
33 }
34 }
35
36 public function testStartWorkflow()
37 {
38 $this->markTestIncomplete(
39 '$ilDB is not available during unit tests.'
40 );
41 // ilWorkflowDbHelper needs it, so, though luck atm.
42 }
43
44 public function testStopWorkflow()
45 {
46 $this->markTestIncomplete(
47 '$ilDB is not available during unit tests.'
48 );
49 // ilWorkflowDbHelper needs it, so, though luck atm.
50 }
51
52 public function testOnStartWorkflow()
53 {
54 $this->markTestIncomplete(
55 '$ilDB is not available during unit tests.'
56 );
57 // ilWorkflowDbHelper needs it, so, though luck atm.
58 }
59}
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