ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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.
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().
|
protected |
Definition at line 53 of file ilStudyProgrammeUserProgressTest.php.
Referenced by assignNewUserToRoot(), testCompletionOnDeeplyNestedProgresses(), testGetNamesOfCompletedOrAccreditedChildren(), testMarkAccredited(), testMarkNotRelevant(), and testUnmarkAccredited().
|
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().
|
protected |
Definition at line 17 of file ilStudyProgrammeUserProgressTest.php.
References $ilUser, and ilObjStudyProgramme\createInstance().
|
protected |
Definition at line 47 of file ilStudyProgrammeUserProgressTest.php.
ilStudyProgrammeUserProgressTest::testCanBeCompleted1 | ( | ) |
Definition at line 328 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted2 | ( | ) |
Definition at line 343 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testCanBeCompleted3 | ( | ) |
Definition at line 360 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, setAllNodesActive(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testCompletionOnDeeplyNestedProgresses | ( | ) |
Definition at line 580 of file ilStudyProgrammeUserProgressTest.php.
References ilObjStudyProgramme\createInstance(), ilStudyProgramme\DEFAULT_POINTS, newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate1 | ( | ) |
Definition at line 418 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testExplicitPointUpdate2 | ( | ) |
Definition at line 438 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testGetNamesOfCompletedOrAccreditedChildren | ( | ) |
Definition at line 551 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), newUser(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram1 | ( | ) |
Definition at line 508 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram2 | ( | ) |
Definition at line 518 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram3 | ( | ) |
Definition at line 529 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testHasDeviationToProgram4 | ( | ) |
Definition at line 540 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testIndividualRequiredPoints | ( | ) |
Definition at line 282 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testInitialProgressActive | ( | ) |
Definition at line 70 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
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.
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.
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.
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.
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints1 | ( | ) |
Definition at line 298 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testMaximimPossibleAmountOfPoints2 | ( | ) |
Definition at line 313 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNewNodesAreNotRelevant | ( | ) |
Definition at line 268 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilObjStudyProgramme\createInstance(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
ilStudyProgrammeUserProgressTest::testNoImplicitPointUpdate | ( | ) |
Definition at line 400 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
ilStudyProgrammeUserProgressTest::testNoUpdateOnModifiedNodes | ( | ) |
Definition at line 458 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), ilStudyProgramme\DEFAULT_POINTS, and setAllNodesActive().
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 493 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), setAllNodesActive(), ilStudyProgrammeProgress\STATUS_NOT_RELEVANT, and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeUserProgressTest::testUnmarkAccredited | ( | ) |
Definition at line 212 of file ilStudyProgrammeUserProgressTest.php.
References assignNewUserToRoot(), IL_CAL_DATETIME, newUser(), setAllNodesActive(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
ilStudyProgrammeUserProgressTest::testUserDeletionDeletesAssignments | ( | ) |
Definition at line 383 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 15 of file ilStudyProgrammeUserProgressTest.php.