ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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)
 

Detailed Description

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

/

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

Member Function Documentation

◆ getTestGoldsampleFilename()

test_006_Task::getTestGoldsampleFilename (   $test_name)

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

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

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

◆ getTestInputFilename()

test_006_Task::getTestInputFilename (   $test_name)

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

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

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

◆ getTestOutputFilename()

test_006_Task::getTestOutputFilename (   $test_name)

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

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

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

◆ requestList()

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

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

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

231  {
232  self::$wasListRequestTriggered = true;
233  self::$callParams = $params;
234  return array('DataObjectReference_1' => self::$retval);
235  }
Create styles array
The data for the language used.
$params
Definition: example_049.php:96
+ Here is the call graph for this function:

◆ setUp()

test_006_Task::setUp ( )

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

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

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

◆ triggerMe()

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

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

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

Referenced by Task_ScriptTask_Simple\_v_ScriptTask_1_script().

132  {
133  self::$wasTriggered = true;
134  }
+ 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 13 of file class.test_006_Task.php.

◆ $callParams

test_006_Task::$callParams
static

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

◆ $retval

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

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

◆ $suite_path

test_006_Task::$suite_path = '006_Task/'

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

◆ $wasListRequestTriggered

test_006_Task::$wasListRequestTriggered
static

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

◆ $wasTriggered

test_006_Task::$wasTriggered
static

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


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