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 $test_name =
'Booking_System_FullDiagram';
49 $this->assertTrue(substr($return, 0, 25) ==
'No syntax errors detected',
'Lint of output code failed.');
56 $process =
new $test_name;
57 $this->assertFalse($process->isActive());
getTestOutputFilename($test_name)
getTestGoldsampleFilename($test_name)
test_WorkflowWithSimpleEndEventShouldOutputAccordingly()
getTestInputFilename($test_name)