ILIAS
release_7 Revision v7.30-3-g800a261c036
|
TestCase for the learning progress of users at a programme. More...
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.
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().
|
protected |
Definition at line 63 of file ilStudyProgrammeLPTest.php.
Referenced by assignNewUserToRoot(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), and testUnmarkAccredited().
|
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().
|
protected |
Definition at line 21 of file ilStudyProgrammeLPTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), ROOT_FOLDER_ID, and user().
|
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().
ilStudyProgrammeLPTest::testInitialLPActive | ( | ) |
Definition at line 83 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, and setAllNodesActive().
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.
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.
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().
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().
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().
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().
ilStudyProgrammeLPTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 310 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and setAllNodesActive().
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().
|
protected |
Definition at line 19 of file ilStudyProgrammeLPTest.php.