ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
test_006_Task Class Reference
+ Inheritance diagram for test_006_Task:
+ Collaboration diagram for test_006_Task:

Public Member Functions

 getTestInputFilename ($test_name)
 
 getTestOutputFilename ($test_name)
 
 getTestGoldsampleFilename ($test_name)
 
 setUp ()
 

Static Public Member Functions

static triggerMe ($context="", $params="")
 
static requestList ($context, $params)
 

Data Fields

 $base_path = './Services/WorkflowEngine/test/parser/'
 
 $suite_path = '006_Task/'
 

Static Public Attributes

static $wasTriggered
 
static $wasListRequestTriggered
 
static $callParams
 
static $retval = array(1,2,3,4,5)
 

Additional Inherited Members

- Protected Member Functions inherited from ilWorkflowEngineBaseTest
 setGlobalVariable ($name, $value)
 
 setUp ()
 

Detailed Description

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

/

Definition at line 12 of file class.test_006_Task.php.

Member Function Documentation

◆ getTestGoldsampleFilename()

test_006_Task::getTestGoldsampleFilename (   $test_name)

Definition at line 28 of file class.test_006_Task.php.

Referenced by requestList(), setUp(), and triggerMe().

29  {
30  return $this->base_path . $this->suite_path . $test_name . '_goldsample.php';
31  }
+ Here is the caller graph for this function:

◆ getTestInputFilename()

test_006_Task::getTestInputFilename (   $test_name)

Definition at line 18 of file class.test_006_Task.php.

Referenced by requestList(), setUp(), and triggerMe().

19  {
20  return $this->base_path . $this->suite_path . $test_name . '.bpmn2';
21  }
+ Here is the caller graph for this function:

◆ getTestOutputFilename()

test_006_Task::getTestOutputFilename (   $test_name)

Definition at line 23 of file class.test_006_Task.php.

Referenced by requestList(), setUp(), and triggerMe().

24  {
25  return $this->base_path . $this->suite_path . $test_name . '_output.php';
26  }
+ Here is the caller graph for this function:

◆ requestList()

static test_006_Task::requestList (   $context,
  $params 
)
static

Definition at line 214 of file class.test_006_Task.php.

References $params, $parse_result, $parser, $xml, array, getTestGoldsampleFilename(), getTestInputFilename(), and getTestOutputFilename().

215  {
216  self::$wasListRequestTriggered = true;
217  self::$callParams = $params;
218  return array('DataObjectReference_1' => self::$retval);
219  }
$params
Definition: disable.php:11
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ setUp()

test_006_Task::setUp ( )

Definition at line 33 of file class.test_006_Task.php.

References $parse_result, $parser, $xml, getTestGoldsampleFilename(), getTestInputFilename(), and getTestOutputFilename().

34  {
35  chdir(dirname(__FILE__));
36  chdir('../../../../../');
37 
38  parent::setUp();
39 
40  require_once './Services/WorkflowEngine/classes/parser/class.ilBPMN2Parser.php';
41  }
+ Here is the call graph for this function:

◆ triggerMe()

static test_006_Task::triggerMe (   $context = "",
  $params = "" 
)
static

Definition at line 125 of file class.test_006_Task.php.

References $parse_result, $parser, $xml, getTestGoldsampleFilename(), getTestInputFilename(), and getTestOutputFilename().

Referenced by Task_ScriptTask_Simple\_v_ScriptTask_1_script().

126  {
127  self::$wasTriggered = true;
128  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $base_path

test_006_Task::$base_path = './Services/WorkflowEngine/test/parser/'

Definition at line 15 of file class.test_006_Task.php.

◆ $callParams

test_006_Task::$callParams
static

Definition at line 211 of file class.test_006_Task.php.

◆ $retval

test_006_Task::$retval = array(1,2,3,4,5)
static

Definition at line 212 of file class.test_006_Task.php.

◆ $suite_path

test_006_Task::$suite_path = '006_Task/'

Definition at line 16 of file class.test_006_Task.php.

◆ $wasListRequestTriggered

test_006_Task::$wasListRequestTriggered
static

Definition at line 210 of file class.test_006_Task.php.

◆ $wasTriggered

test_006_Task::$wasTriggered
static

Definition at line 123 of file class.test_006_Task.php.


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