39 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
40 ilUnitUtil::performInitialisation();
53 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
104 include_once
'./Services/Tracking/classes/class.ilLPMarks.php';
105 include_once
'./Services/Tracking/classes/class.ilLPStatusFactory.php';
108 $marks->setMark(
'Gut');
109 $marks->setComment(
'Weiter so');
110 $marks->setCompleted(
true);
114 $mark = $marks->getMark();
115 $this->assertEquals($mark,
'Gut');
118 $this->assertEquals(
$comment,
'Weiter so');
121 $completed = $class::_getCompleted(999);
122 $this->assertEquals(array(888),$completed);
static _activate()
Activates change event tracking.
static _lookupInsideChangeState($parent_obj_id, $usr_id)
Returns the changed state of objects which are children of the specified parent object.
testLPMarks()
Test lp object settings.
Unit tests for tree table.
_lookupComment($a_usr_id, $a_obj_id)
static _lookupUncaughtWriteEvents($obj_id, $usr_id)
Catches up with all write events which occured before the specified timestamp.
static deleteObject($a_obj_id)
Delete object.
static _deactivate()
Deactivates change event tracking.
static _lookupChangeState($obj_id, $usr_id)
Returns the change state of the object for the specified user.
_getClassById($a_obj_id, $a_mode=NULL)
testChangeEvent()
change event test IL_Init