ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
TestCase for the learning progress of users at a programme. More...
Public Member Functions | |
testInitialLPActive () | |
testInitialLPDraft () | |
testInitialProgressOutdated () | |
testMarkAccredited () | |
testUnmarkAccredited () | |
testMarkNotRelevant () | |
testNewNodesAreNotRelevant () | |
Protected Member Functions | |
setUp () | |
tearDown () | |
newUser () | |
setAllNodesActive () | |
assignNewUserToRoot () | |
Protected Attributes | |
$backupGlobals = FALSE | |
TestCase for the learning progress of users at a programme.
needsInstalledILIAS
Definition at line 15 of file ilStudyProgrammeLPTest.php.
|
protected |
Definition at line 68 of file ilStudyProgrammeLPTest.php.
References array, and newUser().
Referenced by testInitialLPActive(), testInitialLPDraft(), testInitialProgressOutdated(), testMarkAccredited(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 56 of file ilStudyProgrammeLPTest.php.
Referenced by assignNewUserToRoot(), testMarkAccredited(), testMarkNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 62 of file ilStudyProgrammeLPTest.php.
References ilStudyProgramme\STATUS_ACTIVE.
Referenced by testInitialLPActive(), testMarkAccredited(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 18 of file ilStudyProgrammeLPTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), and user().
|
protected |
Definition at line 50 of file ilStudyProgrammeLPTest.php.
ilStudyProgrammeLPTest::testInitialLPActive | ( | ) |
Definition at line 73 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, and setAllNodesActive().
ilStudyProgrammeLPTest::testInitialLPDraft | ( | ) |
Definition at line 92 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, ilStudyProgramme\STATUS_ACTIVE, and ilStudyProgramme\STATUS_DRAFT.
ilStudyProgrammeLPTest::testInitialProgressOutdated | ( | ) |
Definition at line 114 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, ilStudyProgramme\STATUS_ACTIVE, and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeLPTest::testMarkAccredited | ( | ) |
Definition at line 136 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
ilStudyProgrammeLPTest::testMarkNotRelevant | ( | ) |
Definition at line 191 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, newUser(), and setAllNodesActive().
ilStudyProgrammeLPTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 215 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and setAllNodesActive().
ilStudyProgrammeLPTest::testUnmarkAccredited | ( | ) |
Definition at line 161 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
|
protected |
Definition at line 16 of file ilStudyProgrammeLPTest.php.