ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ilBaseWorkflowTest.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3
15
class
ilBaseWorkflowTest
extends
PHPUnit_Framework_TestCase
16
{
17
public
function
setUp
()
18
{
19
include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php"
);
20
//ilUnitUtil::performInitialisation();
21
22
// Empty workflow as test fixture for the abstract class.
23
require_once
'./Services/WorkflowEngine/classes/workflows/class.ilEmptyWorkflow.php'
;
24
}
25
26
public
function
tearDown
()
27
{
28
global
$ilSetting
;
29
if
($ilSetting != NULL)
30
{
31
$ilSetting->delete(
'IL_PHPUNIT_TEST_TIME'
);
32
$ilSetting->delete(
'IL_PHPUNIT_TEST_MICROTIME'
);
33
}
34
}
35
36
public
function
testStartWorkflow
()
37
{
38
$this->markTestIncomplete(
39
'$ilDB is not available during unit tests.'
40
);
41
// ilWorkflowDbHelper needs it, so, though luck atm.
42
}
43
44
public
function
testStopWorkflow
()
45
{
46
$this->markTestIncomplete(
47
'$ilDB is not available during unit tests.'
48
);
49
// ilWorkflowDbHelper needs it, so, though luck atm.
50
}
51
52
public
function
testOnStartWorkflow
()
53
{
54
$this->markTestIncomplete(
55
'$ilDB is not available during unit tests.'
56
);
57
// ilWorkflowDbHelper needs it, so, though luck atm.
58
}
59
}
ilBaseWorkflowTest\testOnStartWorkflow
testOnStartWorkflow()
Definition:
ilBaseWorkflowTest.php:52
ilBaseWorkflowTest
ilBaseWorkflowTest is part of the petri net based workflow engine.
Definition:
ilBaseWorkflowTest.php:15
ilBaseWorkflowTest\setUp
setUp()
Definition:
ilBaseWorkflowTest.php:17
PHPUnit_Framework_TestCase
ilBaseWorkflowTest\testStopWorkflow
testStopWorkflow()
Definition:
ilBaseWorkflowTest.php:44
ilBaseWorkflowTest\tearDown
tearDown()
Definition:
ilBaseWorkflowTest.php:26
$ilSetting
global $ilSetting
Definition:
privfeed.php:17
php
ilBaseWorkflowTest\testStartWorkflow
testStartWorkflow()
Definition:
ilBaseWorkflowTest.php:36
Services
WorkflowEngine
test
workflows
ilBaseWorkflowTest.php
Generated on Fri Jan 17 2025 19:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)