ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
TestCase for the learning progress of users at a programme. More...
Public Member Functions | |
testInitialLPActive () | |
testInitialLPDraft () | |
testInitialProgressOutdated () | |
testMarkAccredited () | |
testUnmarkAccredited () | |
testMarkNotRelevant () | |
testMarkFailed () | |
testMarkNotFailed () | |
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 73 of file ilStudyProgrammeLPTest.php.
References array, and newUser().
Referenced by testInitialLPActive(), testInitialLPDraft(), testInitialProgressOutdated(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 59 of file ilStudyProgrammeLPTest.php.
Referenced by assignNewUserToRoot(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 66 of file ilStudyProgrammeLPTest.php.
References ilStudyProgramme\STATUS_ACTIVE.
Referenced by testInitialLPActive(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testNewNodesAreNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 19 of file ilStudyProgrammeLPTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), and user().
|
protected |
Definition at line 52 of file ilStudyProgrammeLPTest.php.
ilStudyProgrammeLPTest::testInitialLPActive | ( | ) |
Definition at line 79 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, and setAllNodesActive().
ilStudyProgrammeLPTest::testInitialLPDraft | ( | ) |
Definition at line 102 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 128 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 154 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 245 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 272 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 218 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 306 of file ilStudyProgrammeLPTest.php.
References ilLPStatusWrapper\_determineStatus(), assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM, and setAllNodesActive().
ilStudyProgrammeLPTest::testUnmarkAccredited | ( | ) |
Definition at line 183 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 17 of file ilStudyProgrammeLPTest.php.