40 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
41 ilUnitUtil::performInitialisation();
56 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
106 include_once
'./Services/Tracking/classes/class.ilLPMarks.php';
107 include_once
'./Services/Tracking/classes/class.ilLPStatusFactory.php';
110 $marks->setMark(
'Gut');
111 $marks->setComment(
'Weiter so');
112 $marks->setCompleted(
true);
116 $mark = $marks->getMark();
117 $this->assertEquals($mark,
'Gut');
120 $this->assertEquals(
$comment,
'Weiter so');
123 $completed = $class::_getCompleted(999);
124 $this->assertEquals(array(888), $completed);
An exception for terminatinating execution or to throw for unit testing.
static _lookupChangeState($obj_id, $usr_id)
Returns the change state of the object for the specified user.
static _lookupUncaughtWriteEvents($obj_id, $usr_id)
Catches up with all write events which occured before the specified timestamp.
static _activate()
Activates change event tracking.
static _deactivate()
Deactivates change event tracking.
static deleteObject($a_obj_id)
Delete object.
static _lookupComment($a_usr_id, $a_obj_id)
static _getClassById($a_obj_id, $a_mode=null)
Unit tests for tree table @group needsInstalledILIAS.
testLPMarks()
Test lp object settings.
testChangeEvent()
change event test @group IL_Init
foreach($_POST as $key=> $value) $res