|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
TestCase for the learning progress of users at a programme. More...
Inheritance diagram for ilStudyProgrammeLPTest:
Collaboration diagram for ilStudyProgrammeLPTest:Public Member Functions | |
| testInitialLPActive () | |
| testInitialLPDraft () | |
| testInitialProgressOutdated () | |
| testMarkAccredited () | |
| testUnmarkAccredited () | |
| testMarkNotRelevant () | |
| testMarkFailed () | |
| testMarkNotFailed () | |
| testNewNodesAreNotRelevant () | |
| test_invalidate () | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
| newUser () | |
| setAllNodesActive () | |
| assignNewUserToRoot () | |
Protected Attributes | |
| $backupGlobals = false | |
TestCase for the learning progress of users at a programme.
@group needsInstalledILIAS
Definition at line 17 of file ilStudyProgrammeLPTest.php.
|
protected |
Definition at line 77 of file ilStudyProgrammeLPTest.php.
References newUser().
Referenced by test_invalidate(), testInitialLPActive(), testInitialLPDraft(), testInitialProgressOutdated(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 63 of file ilStudyProgrammeLPTest.php.
Referenced by assignNewUserToRoot(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), and testUnmarkAccredited().
Here is the caller graph for this function:
|
protected |
Definition at line 70 of file ilStudyProgrammeLPTest.php.
References ilStudyProgrammeSettings\STATUS_ACTIVE.
Referenced by test_invalidate(), testInitialLPActive(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file ilStudyProgrammeLPTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), ROOT_FOLDER_ID, and user().
Here is the call graph for this function:
|
protected |
Definition at line 56 of file ilStudyProgrammeLPTest.php.
| ilStudyProgrammeLPTest::test_invalidate | ( | ) |
Definition at line 328 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilStudyProgrammeDIC\dic(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED_NUM, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testInitialLPActive | ( | ) |
Definition at line 83 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testInitialLPDraft | ( | ) |
Definition at line 106 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, ilStudyProgrammeSettings\STATUS_ACTIVE, and ilStudyProgrammeSettings\STATUS_DRAFT.
Here is the call graph for this function:| ilStudyProgrammeLPTest::testInitialProgressOutdated | ( | ) |
Definition at line 132 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, ilStudyProgrammeSettings\STATUS_ACTIVE, and ilStudyProgrammeSettings\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeLPTest::testMarkAccredited | ( | ) |
Definition at line 158 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testMarkFailed | ( | ) |
Definition at line 249 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testMarkNotFailed | ( | ) |
Definition at line 276 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testMarkNotRelevant | ( | ) |
Definition at line 222 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 310 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeLPTest::testUnmarkAccredited | ( | ) |
Definition at line 187 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, newUser(), and setAllNodesActive().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file ilStudyProgrammeLPTest.php.