13 public $base_path =
'./Services/WorkflowEngine/test/parser/';
18 return $this->base_path . $this->suite_path . $test_name .
'.bpmn2';
23 return $this->base_path . $this->suite_path . $test_name .
'_output.php';
28 return $this->base_path . $this->suite_path . $test_name .
'_goldsample.php';
33 chdir( dirname( __FILE__ ) );
34 chdir(
'../../../../../' );
36 require_once
'./Services/WorkflowEngine/classes/parser/class.ilBPMN2Parser.php';
41 $this->markTestIncomplete(
'The complex gateway has conceptual issues. Proper modeling of a default outgoing 42 sequence flows seems to be impossible with available modelling tools. Once this is resolved, testing makes 46 $test_name =
'ComplexGateway_Blanko_Simple';
54 $this->assertTrue(substr($return,0,25) ==
'No syntax errors detected',
'Lint of output code failed.');
57 $this->assertEquals($goldsample,
$parse_result,
'Output does not match goldsample.');
60 $process =
new $test_name;
61 $this->assertFalse($process->isActive());
getTestInputFilename($test_name)
getTestOutputFilename($test_name)
getTestGoldsampleFilename($test_name)
test_WorkflowWithSimpleEndEventShouldOutputAccordingly()