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(
'../../../../../');
38 require_once
'./Services/WorkflowEngine/classes/parser/class.ilBPMN2Parser.php';
43 $test_name =
'Booking_System_FullDiagram';
51 $this->assertTrue(substr($return, 0, 25) ==
'No syntax errors detected',
'Lint of output code failed.');
58 $process =
new $test_name;
59 $this->assertFalse($process->isActive());
getTestOutputFilename($test_name)
getTestGoldsampleFilename($test_name)
test_WorkflowWithSimpleEndEventShouldOutputAccordingly()
getTestInputFilename($test_name)