ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
TestCase for the progress of users at a programme. More...
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.
needsInstalledILIAS
Definition at line 15 of file ilStudyProgrammeUserProgressTest.php.
|
protected |
Definition at line 68 of file ilStudyProgrammeUserProgressTest.php.
References array, and 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().
|
protected |
Definition at line 56 of file ilStudyProgrammeUserProgressTest.php.
Referenced by assignNewUserToRoot(), testCompletionOnDeeplyNestedProgresses(), testGetNamesOfCompletedOrAccreditedChildren(), testMarkAccredited(), testMarkNotRelevant(), and testUnmarkAccredited().
|
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().
|
protected |
Definition at line 18 of file ilStudyProgrammeUserProgressTest.php.
References $DIC, $ilUser, ilObjStudyProgramme\createInstance(), and user().
|
protected |
Definition at line 50 of file ilStudyProgrammeUserProgressTest.php.
ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 331 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 346 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 363 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testCompletionOnDeeplyNestedProgresses | ( | ) |
Definition at line 583 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate1 | ( | ) |
Definition at line 421 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 441 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 554 of file ilStudyProgrammeUserProgressTest.php.
References $names, array, assignNewUserToRoot(), newUser(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 511 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 521 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 532 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 543 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 285 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and user().
ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 73 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
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.
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.
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.
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.
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints1 | ( | ) |
Definition at line 301 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 316 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 271 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testNoImplicitPointUpdate | ( | ) |
Definition at line 403 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 461 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 496 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, ilStudyProgramme\STATUS_OUTDATED, and user().
ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 215 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testUserDeletionDeletesAssignments | ( | ) |
Definition at line 386 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testUserSelection | ( | ) |
Definition at line 172 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
|
protected |
Definition at line 16 of file ilStudyProgrammeUserProgressTest.php.