ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilServicesWorkflowEngineSuite Class Reference

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

+ Inheritance diagram for ilServicesWorkflowEngineSuite:
+ Collaboration diagram for ilServicesWorkflowEngineSuite:

Static Public Member Functions

static suite ()
 

Detailed Description

ilServicesWorkflowEngineSuite is part of the petri net based workflow engine.

This class collects all unit tests/suites for the workflow engine and returns it's insights to the Ilias test suite generator.

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

/

Definition at line 18 of file ilServicesWorkflowEngineSuite.php.

Member Function Documentation

◆ suite()

static ilServicesWorkflowEngineSuite::suite ( )
static

Definition at line 20 of file ilServicesWorkflowEngineSuite.php.

21 {
22 error_reporting(E_ALL ^ E_NOTICE);
23
24 chdir(dirname(__FILE__));
25 chdir('../../../');
26
28
29 //
30 // ---------------------------------------------------------------------
31 // Activities
32 // ---------------------------------------------------------------------
33 //
34
35 require_once './Services/WorkflowEngine/test/activities/ilEventRaisingActivityTest.php';
36 $suite->addTestSuite('ilEventRaisingActivityTest');
37
38 require_once './Services/WorkflowEngine/test/activities/ilLoggingActivityTest.php';
39 $suite->addTestSuite('ilLoggingActivityTest');
40
41 require_once './Services/WorkflowEngine/test/activities/ilScriptActivityTest.php';
42 $suite->addTestSuite('ilScriptActivityTest');
43
44 require_once './Services/WorkflowEngine/test/activities/ilSettingActivityTest.php';
45 $suite->addTestSuite('ilSettingActivityTest');
46
47 require_once './Services/WorkflowEngine/test/activities/ilStaticMethodCallActivityTest.php';
48 $suite->addTestSuite('ilStaticMethodCallActivityTest');
49
50 require_once './Services/WorkflowEngine/test/activities/ilStopWorkflowActivityTest.php';
51 $suite->addTestSuite('ilStopWorkflowActivityTest');
52
53 //
54 // ---------------------------------------------------------------------
55 // Detectors
56 // ---------------------------------------------------------------------
57 //
58
59 require_once './Services/WorkflowEngine/test/detectors/ilCounterDetectorTest.php';
60 $suite->addTestSuite('ilCounterDetectorTest');
61
62 require_once './Services/WorkflowEngine/test/detectors/ilSimpleDetectorTest.php';
63 $suite->addTestSuite('ilSimpleDetectorTest');
64
65 require_once './Services/WorkflowEngine/test/detectors/ilTimerDetectorTest.php';
66 $suite->addTestSuite('ilTimerDetectorTest');
67
68 require_once './Services/WorkflowEngine/test/detectors/ilEventDetectorTest.php';
69 $suite->addTestSuite('ilEventDetectorTest');
70
71 require_once './Services/WorkflowEngine/test/detectors/ilDataDetectorTest.php';
72 $suite->addTestSuite('ilDataDetectorTest');
73
74 //
75 // ---------------------------------------------------------------------
76 // Emitters
77 // ---------------------------------------------------------------------
78 //
79
80 require_once './Services/WorkflowEngine/test/emitters/ilSimpleEmitterTest.php';
81 $suite->addTestSuite('ilSimpleEmitterTest');
82
83 require_once './Services/WorkflowEngine/test/emitters/ilActivationEmitterTest.php';
84 $suite->addTestSuite('ilActivationEmitterTest');
85
86 require_once './Services/WorkflowEngine/test/emitters/ilDataEmitterTest.php';
87 $suite->addTestSuite('ilDataEmitterTest');
88
89 //
90 // ---------------------------------------------------------------------
91 // Nodes
92 // ---------------------------------------------------------------------
93 //
94
95 require_once './Services/WorkflowEngine/test/nodes/ilBasicNodeTest.php';
96 $suite->addTestSuite('ilBasicNodeTest');
97
98 require_once './Services/WorkflowEngine/test/nodes/ilConditionalNodeTest.php';
99 $suite->addTestSuite('ilConditionalNodeTest');
100
101 require_once './Services/WorkflowEngine/test/nodes/ilCaseNodeTest.php';
102 $suite->addTestSuite('ilCaseNodeTest');
103
104 require_once './Services/WorkflowEngine/test/nodes/ilPluginNodeTest.php';
105 $suite->addTestSuite('ilPluginNodeTest');
106
107 //
108 // ---------------------------------------------------------------------
109 // Workflows
110 // ---------------------------------------------------------------------
111 //
112
113 require_once './Services/WorkflowEngine/test/workflows/ilBaseWorkflowTest.php';
114 $suite->addTestSuite('ilBaseWorkflowTest');
115
116 //return $suite; // Uncomment to exclude parsertests for more meaningful coverage data.
117
118 // ---------------------------------------------------------------------
119 // Utils
120 // ---------------------------------------------------------------------
121
122 //
123 // ---------------------------------------------------------------------
124 // Parser - Components
125 // ---------------------------------------------------------------------
126
127 // 001_EmptyWorkflow
128 require_once './Services/WorkflowEngine/test/parser/001_EmptyWorkflow/class.test_001_EmptyWorkflow.php';
129 $suite->addTestSuite('test_001_EmptyWorkflow');
130
131 // 002_StartNode
132 require_once './Services/WorkflowEngine/test/parser/002_StartEvent/class.test_002_StartEvent.php';
133 $suite->addTestSuite('test_002_StartEvent');
134
135 // 003_ParallelGateway
136 require_once './Services/WorkflowEngine/test/parser/003_ParallelGateway/class.test_003_ParallelGateway.php';
137 $suite->addTestSuite('test_003_ParallelGateway');
138
139 // 004_InclusiveGateway
140 require_once './Services/WorkflowEngine/test/parser/004_InclusiveGateway/class.test_004_InclusiveGateway.php';
141 $suite->addTestSuite('test_004_InclusiveGateway');
142
143 // 005_ExclusiveGateway
144 require_once './Services/WorkflowEngine/test/parser/005_ExclusiveGateway/class.test_005_ExclusiveGateway.php';
145 $suite->addTestSuite('test_005_ExclusiveGateway');
146
147 // 006_Task
148 require_once './Services/WorkflowEngine/test/parser/006_Task/class.test_006_Task.php';
149 $suite->addTestSuite('test_006_Task');
150
151 // 007_IntermediateCatchEvent
152 require_once './Services/WorkflowEngine/test/parser/007_IntermediateCatchEvent/class.test_007_IntermediateCatchEvent.php';
153 $suite->addTestSuite('test_007_IntermediateCatchEvent');
154
155 // 008_IntermediateThrowEvent
156 require_once './Services/WorkflowEngine/test/parser/008_IntermediateThrowEvent/class.test_008_IntermediateThrowEvent.php';
157 $suite->addTestSuite('test_008_IntermediateThrowEvent');
158
159 // 009_EndEvent
160 require_once './Services/WorkflowEngine/test/parser/009_EndEvent/class.test_009_EndEvent.php';
161 $suite->addTestSuite('test_009_EndEvent');
162
163 // 010_ComplexGateway
164 require_once './Services/WorkflowEngine/test/parser/010_ComplexGateway/class.test_010_ComplexGateway.php';
165 $suite->addTestSuite('test_010_ComplexGateway');
166
167 // 011_EventBasedGateway
168 require_once './Services/WorkflowEngine/test/parser/011_EventBasedGateway/class.test_011_EventBasedGateway.php';
169 $suite->addTestSuite('test_011_EventBasedGateway');
170
171 // 012_DataInput
172 require_once './Services/WorkflowEngine/test/parser/012_DataInput/class.test_012_DataInput.php';
173 $suite->addTestSuite('test_012_DataInput');
174
175 // 013_DataOutput
176 require_once './Services/WorkflowEngine/test/parser/013_DataOutput/class.test_013_DataOutput.php';
177 $suite->addTestSuite('test_013_DataOutput');
178
179 // 014_DataObject
180 require_once './Services/WorkflowEngine/test/parser/014_DataObject/class.test_014_DataObject.php';
181 $suite->addTestSuite('test_014_DataObject');
182
183 // 015_Data_Wiring
184 require_once './Services/WorkflowEngine/test/parser/015_Data_Wiring/class.test_015_Data_Wiring.php';
185 $suite->addTestSuite('test_015_Data_Wiring');
186
187 //
188 // ---------------------------------------------------------------------
189 // Parser Cases
190 // ---------------------------------------------------------------------
191 //
192 // 014_DataObject
193 require_once './Services/WorkflowEngine/test/parser/case_01/class.test_case_01.php';
194 $suite->addTestSuite('test_case_01');
195
196 // ---------------------------------------------------------------------
197 return $suite;
198 }
$suite
ilServicesWorkflowEngineSuite is part of the petri net based workflow engine.

References $suite.


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