ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
31  $ilSetting->delete( 'IL_PHPUNIT_TEST_TIME' );
32  $ilSetting->delete( 'IL_PHPUNIT_TEST_MICROTIME' );
33  }
34  }
global $ilSetting
Definition: privfeed.php:17

◆ testOnStartWorkflow()

ilBaseWorkflowTest::testOnStartWorkflow ( )

Definition at line 52 of file ilBaseWorkflowTest.php.

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

◆ testStartWorkflow()

ilBaseWorkflowTest::testStartWorkflow ( )

Definition at line 36 of file ilBaseWorkflowTest.php.

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

◆ testStopWorkflow()

ilBaseWorkflowTest::testStopWorkflow ( )

Definition at line 44 of file ilBaseWorkflowTest.php.

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

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