ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilServicesWorkflowEngineSuite.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
5 
6 require_once __DIR__ . '/bootstrap.php';
7 
8 $GLOBALS["DIC"] = new \ILIAS\DI\Container();
9 
21 class ilServicesWorkflowEngineSuite extends TestSuite
22 {
23  public static function suite()
24  {
25  error_reporting(E_ALL ^ E_NOTICE);
26 
27  chdir(dirname(__FILE__));
28  chdir('../../../');
29 
31 
32  //
33  // ---------------------------------------------------------------------
34  // Activities
35  // ---------------------------------------------------------------------
36  //
37 
38  require_once './Services/WorkflowEngine/test/activities/ilEventRaisingActivityTest.php';
39  $suite->addTestSuite('ilEventRaisingActivityTest');
40 
41  require_once './Services/WorkflowEngine/test/activities/ilLoggingActivityTest.php';
42  $suite->addTestSuite('ilLoggingActivityTest');
43 
44  require_once './Services/WorkflowEngine/test/activities/ilScriptActivityTest.php';
45  $suite->addTestSuite('ilScriptActivityTest');
46 
47  require_once './Services/WorkflowEngine/test/activities/ilSettingActivityTest.php';
48  $suite->addTestSuite('ilSettingActivityTest');
49 
50  require_once './Services/WorkflowEngine/test/activities/ilStaticMethodCallActivityTest.php';
51  $suite->addTestSuite('ilStaticMethodCallActivityTest');
52 
53  require_once './Services/WorkflowEngine/test/activities/ilStopWorkflowActivityTest.php';
54  $suite->addTestSuite('ilStopWorkflowActivityTest');
55 
56  //
57  // ---------------------------------------------------------------------
58  // Detectors
59  // ---------------------------------------------------------------------
60  //
61 
62  require_once './Services/WorkflowEngine/test/detectors/ilCounterDetectorTest.php';
63  $suite->addTestSuite('ilCounterDetectorTest');
64 
65  require_once './Services/WorkflowEngine/test/detectors/ilSimpleDetectorTest.php';
66  $suite->addTestSuite('ilSimpleDetectorTest');
67 
68  require_once './Services/WorkflowEngine/test/detectors/ilTimerDetectorTest.php';
69  $suite->addTestSuite('ilTimerDetectorTest');
70 
71  require_once './Services/WorkflowEngine/test/detectors/ilEventDetectorTest.php';
72  $suite->addTestSuite('ilEventDetectorTest');
73 
74  require_once './Services/WorkflowEngine/test/detectors/ilDataDetectorTest.php';
75  $suite->addTestSuite('ilDataDetectorTest');
76 
77  //
78  // ---------------------------------------------------------------------
79  // Emitters
80  // ---------------------------------------------------------------------
81  //
82 
83  require_once './Services/WorkflowEngine/test/emitters/ilSimpleEmitterTest.php';
84  $suite->addTestSuite('ilSimpleEmitterTest');
85 
86  require_once './Services/WorkflowEngine/test/emitters/ilActivationEmitterTest.php';
87  $suite->addTestSuite('ilActivationEmitterTest');
88 
89  require_once './Services/WorkflowEngine/test/emitters/ilDataEmitterTest.php';
90  $suite->addTestSuite('ilDataEmitterTest');
91 
92  //
93  // ---------------------------------------------------------------------
94  // Nodes
95  // ---------------------------------------------------------------------
96  //
97 
98  require_once './Services/WorkflowEngine/test/nodes/ilBasicNodeTest.php';
99  $suite->addTestSuite('ilBasicNodeTest');
100 
101  require_once './Services/WorkflowEngine/test/nodes/ilConditionalNodeTest.php';
102  $suite->addTestSuite('ilConditionalNodeTest');
103 
104  require_once './Services/WorkflowEngine/test/nodes/ilCaseNodeTest.php';
105  $suite->addTestSuite('ilCaseNodeTest');
106 
107  require_once './Services/WorkflowEngine/test/nodes/ilPluginNodeTest.php';
108  $suite->addTestSuite('ilPluginNodeTest');
109 
110  //
111  // ---------------------------------------------------------------------
112  // Workflows
113  // ---------------------------------------------------------------------
114  //
115 
116  // ---------------------------------------------------------------------
117  // Utils
118  // ---------------------------------------------------------------------
119 
120  //
121  // ---------------------------------------------------------------------
122  // Parser - Components
123  // ---------------------------------------------------------------------
124 
125  // 001_EmptyWorkflow
126  require_once './Services/WorkflowEngine/test/parser/001_EmptyWorkflow/class.test_001_EmptyWorkflow.php';
127  $suite->addTestSuite('test_001_EmptyWorkflow');
128 
129  // 002_StartNode
130  require_once './Services/WorkflowEngine/test/parser/002_StartEvent/class.test_002_StartEvent.php';
131  $suite->addTestSuite('test_002_StartEvent');
132 
133  // 003_ParallelGateway
134  require_once './Services/WorkflowEngine/test/parser/003_ParallelGateway/class.test_003_ParallelGateway.php';
135  $suite->addTestSuite('test_003_ParallelGateway');
136 
137  // 004_InclusiveGateway
138  require_once './Services/WorkflowEngine/test/parser/004_InclusiveGateway/class.test_004_InclusiveGateway.php';
139  $suite->addTestSuite('test_004_InclusiveGateway');
140 
141  // 005_ExclusiveGateway
142  require_once './Services/WorkflowEngine/test/parser/005_ExclusiveGateway/class.test_005_ExclusiveGateway.php';
143  $suite->addTestSuite('test_005_ExclusiveGateway');
144 
145  // 006_Task
146  require_once './Services/WorkflowEngine/test/parser/006_Task/class.test_006_Task.php';
147  $suite->addTestSuite('test_006_Task');
148 
149  // 007_IntermediateCatchEvent
150  require_once './Services/WorkflowEngine/test/parser/007_IntermediateCatchEvent/class.test_007_IntermediateCatchEvent.php';
151  $suite->addTestSuite('test_007_IntermediateCatchEvent');
152 
153  // 008_IntermediateThrowEvent
154  require_once './Services/WorkflowEngine/test/parser/008_IntermediateThrowEvent/class.test_008_IntermediateThrowEvent.php';
155  $suite->addTestSuite('test_008_IntermediateThrowEvent');
156 
157  // 009_EndEvent
158  require_once './Services/WorkflowEngine/test/parser/009_EndEvent/class.test_009_EndEvent.php';
159  $suite->addTestSuite('test_009_EndEvent');
160 
161  // 012_DataInput
162  require_once './Services/WorkflowEngine/test/parser/012_DataInput/class.test_012_DataInput.php';
163  $suite->addTestSuite('test_012_DataInput');
164 
165  // 014_DataObject
166  require_once './Services/WorkflowEngine/test/parser/014_DataObject/class.test_014_DataObject.php';
167  $suite->addTestSuite('test_014_DataObject');
168 
169  // 015_Data_Wiring
170  require_once './Services/WorkflowEngine/test/parser/015_Data_Wiring/class.test_015_Data_Wiring.php';
171  $suite->addTestSuite('test_015_Data_Wiring');
172 
173  //
174  // ---------------------------------------------------------------------
175  // Parser Cases
176  // ---------------------------------------------------------------------
177  //
178  // 014_DataObject
179  require_once './Services/WorkflowEngine/test/parser/case_01/class.test_case_01.php';
180  $suite->addTestSuite('test_case_01');
181 
182  // ---------------------------------------------------------------------
183  return $suite;
184  }
185 }
$suite
ilServicesWorkflowEngineSuite is part of the petri net based workflow engine.