Go to the source code of this file.
Classes | |
| class | WorkflowDefinitionDbStub |
| class | WorkflowDefinitionModuleStub |
| class | WorkflowDefinitionApiStub |
| class | WorkflowRoundTripFormStub |
Functions | |
| workflow_test_assert ($condition, string $message) | |
Variables | |
| $originalNeed | |
| $baseDefinition | |
| $_POST | |
| $form | |
| $admin = new \dbx\dbxWorkflow_admin\dbxWorkflowAdmin() | |
| $merge = new ReflectionMethod($admin, 'workflow_definition_from_post') | |
| $definition = $merge->invoke($admin, $form, $baseDefinition) | |
| $need = $definition['needs'][0] | |
| $_POST ['workflow_step_original'][0] = '' | |
| $_POST ['workflow_step_actions'][0] = array('form') | |
| $_POST ['workflow_step_action'][0] = 'form' | |
| $_POST ['workflow_step_label'][0] = 'Neue Notiz' | |
| $_POST ['workflow_step_key'][0] = 'new_note' | |
| $_POST ['workflow_step_complete_label'][0] = '' | |
| $_POST ['workflow_step_source'][0] = '' | |
| $newDefinition = $merge->invoke($admin, $form, $baseDefinition) | |
| $newNeed = $newDefinition['needs'][0] | |
| $_POST ['workflow_step_original'][0] = '{ungueltig' | |
| $_POST ['workflow_step_original_index'][0] = '0' | |
| $fallbackDefinition = $merge->invoke($admin, $form, $baseDefinition) | |
| $fallbackNeed = $fallbackDefinition['needs'][0] | |
| $engine = new \dbx\dbxWorkflow\dbxWorkflowEngine() | |
| $normalized | |
| $check = $normalized['checks'][0] | |
| $applicable = new ReflectionMethod($engine, 'need_is_applicable') | |
| workflow_test_assert | ( | $condition, | |
| string | $message ) |
Definition at line 87 of file workflow_roundtrip_test.php.
References if.
| $_POST[ 'workflow_step_action'][0] = 'form' |
Definition at line 192 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_actions'][0] = array('form') |
Definition at line 191 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_complete_label'][0] = '' |
Definition at line 195 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_key'][0] = 'new_note' |
Definition at line 194 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_label'][0] = 'Neue Notiz' |
Definition at line 193 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_original'][0] = '{ungueltig' |
Definition at line 206 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_original'][0] = '' |
Definition at line 190 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_original_index'][0] = '0' |
Definition at line 207 of file workflow_roundtrip_test.php.
| $_POST[ 'workflow_step_source'][0] = '' |
Definition at line 196 of file workflow_roundtrip_test.php.
| $_POST |
Definition at line 132 of file workflow_roundtrip_test.php.
| $admin = new \dbx\dbxWorkflow_admin\dbxWorkflowAdmin() |
Definition at line 170 of file workflow_roundtrip_test.php.
| $applicable = new ReflectionMethod($engine, 'need_is_applicable') |
Definition at line 234 of file workflow_roundtrip_test.php.
| $baseDefinition |
Definition at line 112 of file workflow_roundtrip_test.php.
Referenced by dbx\dbxWorkflow\dbxWorkflowEngine\render().
| $check = $normalized['checks'][0] |
Definition at line 229 of file workflow_roundtrip_test.php.
| $definition = $merge->invoke($admin, $form, $baseDefinition) |
Definition at line 172 of file workflow_roundtrip_test.php.
Referenced by dbx\dbxWorkflow\dbxWorkflowModule\applyBindRef(), dbx\dbxWorkflow\dbxWorkflowModule\applyFinish(), dbx\dbxShop\dbxShopRepository\attributeDefinitionsForProduct(), dbx\dbxWorkflow\dbxWorkflowModule\automateNeed(), dbx\dbxSetup\dbxInstallationService\discoverDDs(), dbx\dbxWorkflow\dbxWorkflowModule\enrichDefinition(), WorkflowDefinitionModuleStub\enrichDefinition(), dbx\dbxWorkflow\dbxWorkflowModule\formatValueLabel(), dbxReport\get_report_action_label(), dbx\dbxWorkflow\dbxWorkflowEngine\load_definition(), dbx\dbxWorkflow\dbxWorkflowModule\loadRecord(), dbx\dbxWorkflow\dbxWorkflowEngine\normalize_definition(), dbx\dbxWorkflow\dbxWorkflowEngine\overview(), dbx\dbxWorkflow\dbxWorkflowModule\prefillStart(), dbx\dbxWorkflow\dbxWorkflowModule\recordIdFromValues(), dbx\dbxWorkflow\dbxWorkflowEngine\render(), dbx\dbxWorkflow\dbxWorkflowModule\renderFinalStatus(), dbx\dbxWorkflow\dbxWorkflowModule\renderFormValue(), dbx\dbxWorkflow\dbxWorkflowModule\renderStepContext(), and dbx\dbxWorkflow\dbxWorkflowEngine\start().
| $engine = new \dbx\dbxWorkflow\dbxWorkflowEngine() |
Definition at line 212 of file workflow_roundtrip_test.php.
| $fallbackDefinition = $merge->invoke($admin, $form, $baseDefinition) |
Definition at line 208 of file workflow_roundtrip_test.php.
| $fallbackNeed = $fallbackDefinition['needs'][0] |
Definition at line 209 of file workflow_roundtrip_test.php.
| $form |
Definition at line 164 of file workflow_roundtrip_test.php.
| $merge = new ReflectionMethod($admin, 'workflow_definition_from_post') |
Definition at line 171 of file workflow_roundtrip_test.php.
Referenced by dbx\dbxContent\dbxContentRenderer\renderStatic().
| $need = $definition['needs'][0] |
Definition at line 173 of file workflow_roundtrip_test.php.
Referenced by dbx\dbxWorkflow\dbxWorkflowModule\automateNeed(), dbx\dbxWorkflow\dbxWorkflowModule\enrichDefinition(), dbx\dbxWorkflow\dbxWorkflowModule\formatValueLabel(), dbx\dbxWorkflow\dbxWorkflowEngine\normalize_definition(), dbx\dbxWorkflow\dbxWorkflowEngine\render(), dbx\dbxWorkflow\dbxWorkflowModule\renderFormValue(), and dbx\dbxWorkflow\dbxWorkflowModule\renderStepContext().
| $newDefinition = $merge->invoke($admin, $form, $baseDefinition) |
Definition at line 197 of file workflow_roundtrip_test.php.
| $newNeed = $newDefinition['needs'][0] |
Definition at line 198 of file workflow_roundtrip_test.php.
| $normalized |
Definition at line 213 of file workflow_roundtrip_test.php.
Referenced by dbx\dbxSetup\dbxInstallationService\discoverDDs(), dbxDD\enforce_auto_increment_id(), dbxWebApp\normalize_route_params(), dbx\dbxKi\dbxKiWritingStyles\save(), and dbxReport\set_multi_selects().
| $originalNeed |
Definition at line 93 of file workflow_roundtrip_test.php.