ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
$ilSetting->delete(
'IL_PHPUNIT_TEST_TIME'
);
31
$ilSetting->delete(
'IL_PHPUNIT_TEST_MICROTIME'
);
32
}
33
}
34
35
public
function
testStartWorkflow
()
36
{
37
$this->markTestIncomplete(
38
'$ilDB is not available during unit tests.'
39
);
40
// ilWorkflowDbHelper needs it, so, though luck atm.
41
}
42
43
public
function
testStopWorkflow
()
44
{
45
$this->markTestIncomplete(
46
'$ilDB is not available during unit tests.'
47
);
48
// ilWorkflowDbHelper needs it, so, though luck atm.
49
}
50
51
public
function
testOnStartWorkflow
()
52
{
53
$this->markTestIncomplete(
54
'$ilDB is not available during unit tests.'
55
);
56
// ilWorkflowDbHelper needs it, so, though luck atm.
57
}
58
}
ilBaseWorkflowTest\testOnStartWorkflow
testOnStartWorkflow()
Definition:
ilBaseWorkflowTest.php:51
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:43
ilBaseWorkflowTest\tearDown
tearDown()
Definition:
ilBaseWorkflowTest.php:26
$ilSetting
global $ilSetting
Definition:
privfeed.php:17
ilBaseWorkflowTest\testStartWorkflow
testStartWorkflow()
Definition:
ilBaseWorkflowTest.php:35
Services
WorkflowEngine
test
workflows
ilBaseWorkflowTest.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)