|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
TestCase for the progress of users at a programme. More...
Inheritance diagram for ilStudyProgrammeUserProgressTest:
Collaboration diagram for ilStudyProgrammeUserProgressTest:Public Member Functions | |
| testInitialProgressActive () | |
| testInitialProgressDraft () | |
| testInitialProgressOutdated () | |
| testUserSelection () | |
| testMarkAccredited () | |
| testUnmarkAccredited () | |
| testMarkNotRelevant () | |
| testNewNodesAreNotRelevant () | |
| testIndividualRequiredPoints () | |
| testMaximimPossibleAmountOfPoints1 () | |
| testMaximimPossibleAmountOfPoints2 () | |
| testCanBeCompleted1 () | |
| testCanBeCompleted2 () | |
| testCanBeCompleted3 () | |
| testUserDeletionDeletesAssignments () | |
| testNoImplicitPointUpdate () | |
| testExplicitPointUpdate1 () | |
| testExplicitPointUpdate2 () | |
| testNoUpdateOnModifiedNodes () | |
| testOutdatedNodesCantBeSetToRelevant () | |
| QUA-Objekte, welche "Inaktiv" sind können bei Studierenden-Studienplänen nicht von "nicht relevant" auf irgendeinen anderen Status gesetzt werden. More... | |
| testHasDeviationToProgram1 () | |
| testHasDeviationToProgram2 () | |
| testHasDeviationToProgram3 () | |
| testHasDeviationToProgram4 () | |
| testGetNamesOfCompletedOrAccreditedChildren () | |
| testCompletionOnDeeplyNestedProgresses () | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
| newUser () | |
| setAllNodesActive () | |
| assignNewUserToRoot () | |
Protected Attributes | |
| $backupGlobals = FALSE | |
TestCase for the progress of users at a programme.
Definition at line 14 of file ilStudyProgrammeUserProgressTest.php.
|
protected |
Definition at line 65 of file ilStudyProgrammeUserProgressTest.php.
References newUser().
Referenced by testCanBeCompleted1(), testCanBeCompleted2(), testCanBeCompleted3(), testExplicitPointUpdate1(), testExplicitPointUpdate2(), testGetNamesOfCompletedOrAccreditedChildren(), testHasDeviationToProgram1(), testHasDeviationToProgram2(), testHasDeviationToProgram3(), testHasDeviationToProgram4(), testIndividualRequiredPoints(), testInitialProgressActive(), testInitialProgressDraft(), testInitialProgressOutdated(), testMarkAccredited(), 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 53 of file ilStudyProgrammeUserProgressTest.php.
Referenced by assignNewUserToRoot(), testCompletionOnDeeplyNestedProgresses(), testGetNamesOfCompletedOrAccreditedChildren(), testMarkAccredited(), testMarkNotRelevant(), and testUnmarkAccredited().
Here is the caller graph for this function:
|
protected |
Definition at line 59 of file ilStudyProgrammeUserProgressTest.php.
References ilStudyProgramme\STATUS_ACTIVE.
Referenced by testCanBeCompleted1(), testCanBeCompleted2(), testCanBeCompleted3(), testExplicitPointUpdate1(), testExplicitPointUpdate2(), testGetNamesOfCompletedOrAccreditedChildren(), testHasDeviationToProgram1(), testHasDeviationToProgram2(), testHasDeviationToProgram3(), testHasDeviationToProgram4(), testIndividualRequiredPoints(), testInitialProgressActive(), testMarkAccredited(), testMarkNotRelevant(), testMaximimPossibleAmountOfPoints1(), testMaximimPossibleAmountOfPoints2(), testNewNodesAreNotRelevant(), testNoImplicitPointUpdate(), testNoUpdateOnModifiedNodes(), testOutdatedNodesCantBeSetToRelevant(), testUnmarkAccredited(), testUserDeletionDeletesAssignments(), and testUserSelection().
Here is the caller graph for this function:
|
protected |
Definition at line 17 of file ilStudyProgrammeUserProgressTest.php.
References $ilUser, and ilObjStudyProgramme\createInstance().
Here is the call graph for this function:
|
protected |
Definition at line 47 of file ilStudyProgrammeUserProgressTest.php.
| ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 328 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 343 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 360 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCompletionOnDeeplyNestedProgresses | ( | ) |
Definition at line 580 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testExplicitPointUpdate1 | ( | ) |
Definition at line 418 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 438 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 551 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 508 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 518 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 529 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 540 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 282 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 70 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 119 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\STATUS_ACTIVE, ilStudyProgramme\STATUS_DRAFT, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressOutdated | ( | ) |
Definition at line 144 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\STATUS_ACTIVE, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, and ilStudyProgramme\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkAccredited | ( | ) |
Definition at line 180 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, IL_CAL_DATETIME, newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMarkNotRelevant | ( | ) |
Definition at line 244 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints1 | ( | ) |
Definition at line 298 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 313 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 268 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 400 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 458 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\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 493 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, and ilStudyProgramme\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 212 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUserDeletionDeletesAssignments | ( | ) |
Definition at line 383 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUserSelection | ( | ) |
Definition at line 169 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file ilStudyProgrammeUserProgressTest.php.