ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
TestCase for the progress of users at a programme. More...
Protected Member Functions | |
setUp () | |
tearDown () | |
newUser () | |
setAllNodesActive () | |
assignNewUserToRoot () | |
Protected Attributes | |
$backupGlobals = false | |
TestCase for the progress of users at a programme.
needsInstalledILIAS
Definition at line 15 of file ilStudyProgrammeUserProgressTest.php.
|
protected |
Definition at line 73 of file ilStudyProgrammeUserProgressTest.php.
References array, and 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().
|
protected |
Definition at line 59 of file ilStudyProgrammeUserProgressTest.php.
Referenced by assignNewUserToRoot(), testCompletionOnDeeplyNestedProgresses(), testGetNamesOfCompletedOrAccreditedChildren(), testMarkAccredited(), testMarkFailed(), testMarkNotFailed(), testMarkNotRelevant(), and testUnmarkAccredited().
|
protected |
Definition at line 66 of file ilStudyProgrammeUserProgressTest.php.
References ilStudyProgramme\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().
|
protected |
Definition at line 19 of file ilStudyProgrammeUserProgressTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), and user().
|
protected |
Definition at line 52 of file ilStudyProgrammeUserProgressTest.php.
ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 379 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 395 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 413 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testCompletionOnDeeplyNestedProgresses | ( | ) |
Definition at line 644 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate1 | ( | ) |
Definition at line 474 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 495 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testGetInstance | ( | ) |
Definition at line 742 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testGetInstanceCalls | ( | ) |
Definition at line 768 of file ilStudyProgrammeUserProgressTest.php.
ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 614 of file ilStudyProgrammeUserProgressTest.php.
References $names, array, assignNewUserToRoot(), newUser(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 567 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 578 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 590 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 602 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 330 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 79 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testInitialProgressDraft | ( | ) |
Definition at line 123 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\STATUS_ACTIVE, ilStudyProgramme\STATUS_DRAFT, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testInitialProgressOutdated | ( | ) |
Definition at line 146 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\STATUS_ACTIVE, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeUserProgressTest::testMarkAccredited | ( | ) |
Definition at line 181 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.
ilStudyProgrammeUserProgressTest::testMarkFailed | ( | ) |
Definition at line 246 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testMarkNotFailed | ( | ) |
Definition at line 266 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testMarkNotRelevant | ( | ) |
Definition at line 290 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints1 | ( | ) |
Definition at line 347 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 363 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 315 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testNoImplicitPointUpdate | ( | ) |
Definition at line 455 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 516 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testOutdatedNodesCantBeSetToRelevant | ( | ) |
QUA-Objekte, welche "Inaktiv" sind können bei Studierenden-Studienplänen nicht von "nicht relevant" auf irgendeinen anderen Status gesetzt werden.
Definition at line 552 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, ilStudyProgramme\STATUS_OUTDATED, and user().
ilStudyProgrammeUserProgressTest::testPossibleActions | ( | ) |
Definition at line 681 of file ilStudyProgrammeUserProgressTest.php.
References ilStudyProgrammeUserProgress\ACTION_MARK_ACCREDITED, ilStudyProgrammeUserProgress\ACTION_REMOVE_USER, ilStudyProgrammeUserProgress\ACTION_SHOW_INDIVIDUAL_PLAN, ilStudyProgrammeUserProgress\ACTION_UNMARK_ACCREDITED, array, ilStudyProgrammeUserProgress\getPossibleActions(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 214 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testUserDeletionDeletesAssignments | ( | ) |
Definition at line 437 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testUserSelection | ( | ) |
Definition at line 169 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
|
protected |
Definition at line 17 of file ilStudyProgrammeUserProgressTest.php.