4 require_once
'Services/WorkflowEngine/test/ilWorkflowEngineBaseTest.php';
15 public $base_path =
'./Services/WorkflowEngine/test/parser/';
20 return $this->base_path . $this->suite_path . $test_name .
'.bpmn2';
25 return $this->base_path . $this->suite_path . $test_name .
'_output.php';
30 return $this->base_path . $this->suite_path . $test_name .
'_goldsample.php';
35 chdir(dirname(__FILE__));
36 chdir(
'../../../../../');
40 require_once
'./Services/WorkflowEngine/classes/parser/class.ilBPMN2Parser.php';
45 $this->markTestIncomplete(
'The complex gateway has conceptual issues. Proper modeling of a default outgoing 46 sequence flows seems to be impossible with available modelling tools. Once this is resolved, testing makes 50 $test_name =
'ComplexGateway_Blanko_Simple';
58 $this->assertTrue(substr($return, 0, 25) ==
'No syntax errors detected',
'Lint of output code failed.');
61 $this->assertEquals($goldsample,
$parse_result,
'Output does not match goldsample.');
64 $process =
new $test_name;
65 $this->assertFalse($process->isActive());
Class ilWorkflowEngineBaseTest.
getTestInputFilename($test_name)
getTestOutputFilename($test_name)
getTestGoldsampleFilename($test_name)
test_WorkflowWithSimpleEndEventShouldOutputAccordingly()