|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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.
@group needsInstalledILIAS
Definition at line 15 of file ilStudyProgrammeUserProgressTest.php.
|
protected |
Definition at line 68 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 56 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 62 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 18 of file ilStudyProgrammeUserProgressTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file ilStudyProgrammeUserProgressTest.php.
| ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 331 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 346 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 363 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 583 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 421 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 441 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 554 of file ilStudyProgrammeUserProgressTest.php.
References $names, assignNewUserToRoot(), newUser(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 511 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 521 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 532 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 543 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 285 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 73 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 122 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 147 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 183 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 247 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 301 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 316 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 271 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 403 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 461 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and user().
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 496 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, ilStudyProgramme\STATUS_OUTDATED, and user().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 215 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 386 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:| ilStudyProgrammeUserProgressTest::testUserSelection | ( | ) |
Definition at line 172 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
Here is the call graph for this function:
|
protected |
Definition at line 16 of file ilStudyProgrammeUserProgressTest.php.