ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilBaseWorkflowTest Class Reference

ilBaseWorkflowTest is part of the petri net based workflow engine. More...

+ Inheritance diagram for ilBaseWorkflowTest:
+ Collaboration diagram for ilBaseWorkflowTest:

Public Member Functions

 setUp ()
 
 tearDown ()
 
 testStartWorkflow ()
 
 testStopWorkflow ()
 
 testOnStartWorkflow ()
 

Detailed Description

ilBaseWorkflowTest is part of the petri net based workflow engine.

This class holds all tests for the class workflows/class.BaseWorkflow

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

Definition at line 15 of file ilBaseWorkflowTest.php.

Member Function Documentation

◆ setUp()

ilBaseWorkflowTest::setUp ( )

Definition at line 17 of file ilBaseWorkflowTest.php.

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  }

◆ tearDown()

ilBaseWorkflowTest::tearDown ( )

Definition at line 26 of file ilBaseWorkflowTest.php.

References $ilSetting.

27  {
28  global $ilSetting;
29  if ($ilSetting != null) {
30  $ilSetting->delete('IL_PHPUNIT_TEST_TIME');
31  $ilSetting->delete('IL_PHPUNIT_TEST_MICROTIME');
32  }
33  }
global $ilSetting
Definition: privfeed.php:17

◆ testOnStartWorkflow()

ilBaseWorkflowTest::testOnStartWorkflow ( )

Definition at line 51 of file ilBaseWorkflowTest.php.

52  {
53  $this->markTestIncomplete(
54  '$ilDB is not available during unit tests.'
55  );
56  // ilWorkflowDbHelper needs it, so, though luck atm.
57  }

◆ testStartWorkflow()

ilBaseWorkflowTest::testStartWorkflow ( )

Definition at line 35 of file ilBaseWorkflowTest.php.

36  {
37  $this->markTestIncomplete(
38  '$ilDB is not available during unit tests.'
39  );
40  // ilWorkflowDbHelper needs it, so, though luck atm.
41  }

◆ testStopWorkflow()

ilBaseWorkflowTest::testStopWorkflow ( )

Definition at line 43 of file ilBaseWorkflowTest.php.

44  {
45  $this->markTestIncomplete(
46  '$ilDB is not available during unit tests.'
47  );
48  // ilWorkflowDbHelper needs it, so, though luck atm.
49  }

The documentation for this class was generated from the following file: