|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
TestCase for the progress of users at a programme. More...
Inheritance diagram for ilStudyProgrammeUserProgressTest:
Collaboration diagram for ilStudyProgrammeUserProgressTest:Protected Member Functions | |
| setUp () | |
| tearDown () | |
| newUser () | |
| setAllNodesActive () | |
| assignNewUserToRoot () | |
Protected Attributes | |
| $backupGlobals = false | |
TestCase for the progress of users at a programme.
@group needsInstalledILIAS
Definition at line 17 of file ilStudyProgrammeUserProgressTest.php.
|
protected |
Definition at line 80 of file ilStudyProgrammeUserProgressTest.php.
References newUser().
Referenced by testCanBeCompleted1(), testCanBeCompleted2(), testCanBeCompleted3(), testExplicitPointUpdate1(), testExplicitPointUpdate2(), testGetInstance(), testGetNamesOfCompletedOrAccreditedChildren(), testHasDeviationToProgram1(), testHasDeviationToProgram2(), testHasDeviationToProgram3(), testHasDeviationToProgram4(), testIndividualRequiredPoints(), testInitialProgressActive(), testInitialProgressDraft(), testInitialProgressOutdated(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testMaximimPossibleAmountOfPoints1(), testMaximimPossibleAmountOfPoints2(), testNewNodesAreNotRelevant(), testNoImplicitPointUpdate(), testNoUpdateOnModifiedNodes(), testOutdatedNodesCantBeSetToRelevant(), testUnmarkAccredited(), testUserDeletionDeletesAssignments(), and testUserSelection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 66 of file ilStudyProgrammeUserProgressTest.php.
Referenced by assignNewUserToRoot(), test_limited_validity_accredited(), test_limited_validity_date(), test_limited_validity_period(), test_set_failed_limited_validity_future(), test_set_failed_limited_validity_past(), test_set_failed_no_limited_validity(), testCompletionOnDeeplyNestedProgresses(), testGetNamesOfCompletedOrAccreditedChildren(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), and testUnmarkAccredited().
Here is the caller graph for this function:
|
protected |
Definition at line 73 of file ilStudyProgrammeUserProgressTest.php.
References ilStudyProgrammeSettings\STATUS_ACTIVE.
Referenced by testCanBeCompleted1(), testCanBeCompleted2(), testCanBeCompleted3(), testExplicitPointUpdate1(), testExplicitPointUpdate2(), testGetInstance(), testGetNamesOfCompletedOrAccreditedChildren(), testHasDeviationToProgram1(), testHasDeviationToProgram2(), testHasDeviationToProgram3(), testHasDeviationToProgram4(), testIndividualRequiredPoints(), testInitialProgressActive(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), testMaximimPossibleAmountOfPoints1(), testMaximimPossibleAmountOfPoints2(), testNewNodesAreNotRelevant(), testNoImplicitPointUpdate(), testNoUpdateOnModifiedNodes(), testOutdatedNodesCantBeSetToRelevant(), testUnmarkAccredited(), testUserDeletionDeletesAssignments(), and testUserSelection().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file ilStudyProgrammeUserProgressTest.php.
References $DIC, Vendor\Package\$e, $ilUser, ilObjStudyProgramme\createInstance(), ROOT_FOLDER_ID, and user().
Here is the call graph for this function:
|
protected |
Definition at line 59 of file ilStudyProgrammeUserProgressTest.php.
| ilStudyProgrammeUserProgressTest::test_limited_validity_accredited | ( | ) |
Definition at line 895 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::test_limited_validity_date | ( | ) |
Definition at line 860 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::test_limited_validity_period | ( | ) |
Definition at line 825 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::test_set_failed_limited_validity_future | ( | ) |
Definition at line 920 of file ilStudyProgrammeUserProgressTest.php.
References Vendor\Package\$e, ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::test_set_failed_limited_validity_past | ( | ) |
Definition at line 960 of file ilStudyProgrammeUserProgressTest.php.
References Vendor\Package\$e, ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::test_set_failed_no_limited_validity | ( | ) |
Definition at line 1003 of file ilStudyProgrammeUserProgressTest.php.
References Vendor\Package\$e, ilObjStudyProgramme\createInstance(), newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 406 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 422 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 440 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilStudyProgrammeSettings\DEFAULT_POINTS, setAllNodesActive(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCompletionOnDeeplyNestedProgresses | ( | ) |
Definition at line 682 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), ilStudyProgrammeSettings\DEFAULT_POINTS, newUser(), ROOT_FOLDER_ID, and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testExplicitPointUpdate1 | ( | ) |
Definition at line 501 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 522 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testGetInstance | ( | ) |
Definition at line 780 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeDIC\dic(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testGetInstanceCalls | ( | ) |
Definition at line 806 of file ilStudyProgrammeUserProgressTest.php.
References Vendor\Package\$e, and ilStudyProgrammeDIC\dic().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 652 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 605 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 616 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 628 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 640 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 357 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 86 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressDraft | ( | ) |
Definition at line 133 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\STATUS_ACTIVE, ilStudyProgrammeSettings\STATUS_DRAFT, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressOutdated | ( | ) |
Definition at line 156 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\STATUS_ACTIVE, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, and ilStudyProgrammeSettings\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkAccredited | ( | ) |
Definition at line 191 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkFailed | ( | ) |
Definition at line 265 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkNotFailed | ( | ) |
Definition at line 288 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkNotRelevant | ( | ) |
Definition at line 314 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints1 | ( | ) |
Definition at line 374 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 390 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 342 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNoImplicitPointUpdate | ( | ) |
Definition at line 482 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 544 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgrammeSettings\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testOutdatedNodesCantBeSetToRelevant | ( | ) |
QUA-Objekte, welche "Inaktiv" sind können bei Studierenden-Studienplänen nicht von "nicht relevant" auf irgendeinen anderen Status gesetzt werden.
@expectedException ilException
Definition at line 590 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, ilStudyProgrammeSettings\STATUS_OUTDATED, and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testPossibleActions | ( | ) |
Definition at line 719 of file ilStudyProgrammeUserProgressTest.php.
References ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
| ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 230 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUserDeletionDeletesAssignments | ( | ) |
Definition at line 464 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUserSelection | ( | ) |
Definition at line 179 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file ilStudyProgrammeUserProgressTest.php.