|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilStudyProgrammeProgressCalculationsTest:
Collaboration diagram for ilStudyProgrammeProgressCalculationsTest:Protected Member Functions | |
| buildProgramme (int $prg_id) | |
| getRootPrg () | |
| setPointsForNode (int $node_id, int $points) | |
| setModeForNode (int $node_id, int $mode) | |
Definition at line 7 of file ilStudyProgrammeProgressCalculationsTest.php.
|
protected |
Definition at line 9 of file ilStudyProgrammeProgressCalculationsTest.php.
References ilStudyProgrammeSettings\MODE_POINTS, ilStudyProgrammeAssessmentSettings\STATUS_ACTIVE, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Referenced by setUp().
Here is the caller graph for this function:
|
protected |
Definition at line 65 of file ilStudyProgrammeProgressCalculationsTest.php.
Referenced by testAchievedPoints(), testChangingDeadline(), testChangingValidity(), testChildrenPossiblePointsAddition(), testDontChangeDeadlineForCompleted(), testDontChangeValidityForIncomplete(), testDontFailByDeadlineIfSucceeded(), testDontFailByFutureDeadline(), testFailByDeadline(), testInternalTreeIntegrity(), testMarkAccreditedOnLPNode(), testMarkAccreditedShouldCompleteParentBySufficientPoints(), testMarkAccreditedShouldNotChangeIrrelevantParent(), testMarkAsIndividual(), testMarkIrrelevantDoesNotCompleteParent(), testMarkRelevantShouldRecalculateStatusAndPoints(), testParentAcquisition(), testTranstitionToProgressWithPastDeadline(), testUpdateFromSettingsResetsIndividual(), and testUpdatePlanFromSettings().
Here is the caller graph for this function:
|
protected |
Definition at line 79 of file ilStudyProgrammeProgressCalculationsTest.php.
Referenced by testMarkAccreditedOnLPNode(), and testSuccessionCompletingParents().
Here is the caller graph for this function:
|
protected |
Definition at line 70 of file ilStudyProgrammeProgressCalculationsTest.php.
References ilStudyProgrammeAssessmentSettings\STATUS_ACTIVE.
Referenced by testAchievedPoints(), testChildrenPossiblePointsAddition(), testMarkAccreditedOnLPNode(), testMarkAccreditedShouldCompleteParentBySufficientPoints(), testMarkIrrelevantDoesNotCompleteParent(), and testSuccessionCompletingParents().
Here is the caller graph for this function:| ilStudyProgrammeProgressCalculationsTest::setUp | ( | ) |
Definition at line 35 of file ilStudyProgrammeProgressCalculationsTest.php.
References buildProgramme().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testAchievedPoints | ( | ) |
── 1 (1) ├── 11 (8) │ ├── 111 (5) │ └── 112 (10) ├── 12 (12) └── 13 (10)
Definition at line 195 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and setPointsForNode().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testChangingDeadline | ( | ) |
Definition at line 435 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and ilStudyProgrammeProgress\STATUS_FAILED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testChangingValidity | ( | ) |
Definition at line 478 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), getRootPrg(), and ilStudyProgrammeProgress\STATUS_COMPLETED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testChildrenPossiblePointsAddition | ( | ) |
── 1 (1) ├── 11 (8) │ ├── 111 (5) │ └── 112 (10) <– turns irrelevant ├── 12 (12) <– turns irrelevant └── 13 (10)
Definition at line 146 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and setPointsForNode().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testDontChangeDeadlineForCompleted | ( | ) |
Definition at line 446 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and ilStudyProgrammeProgress\STATUS_COMPLETED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testDontChangeValidityForIncomplete | ( | ) |
Definition at line 493 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), getRootPrg(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testDontFailByDeadlineIfSucceeded | ( | ) |
Definition at line 418 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and ilStudyProgrammeProgress\STATUS_COMPLETED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testDontFailByFutureDeadline | ( | ) |
Definition at line 404 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), getRootPrg(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testFailByDeadline | ( | ) |
Definition at line 391 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), and ilStudyProgrammeProgress\STATUS_FAILED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testInternalRunIntegrity | ( | ) |
Definition at line 112 of file ilStudyProgrammeProgressCalculationsTest.php.
References ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
| ilStudyProgrammeProgressCalculationsTest::testInternalTreeIntegrity | ( | ) |
Definition at line 86 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkAccreditedOnLPNode | ( | ) |
── 1 (10) ├── 11 (5, LP) └── 12 (5)
Definition at line 267 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, setModeForNode(), setPointsForNode(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkAccreditedShouldCompleteParentBySufficientPoints | ( | ) |
PRG: MODE_POINTS ── 1 (5) ├── 11 (12) │ ├── 111 (5) │ └── 112 (7) ├── 12 (2) └── 13 (2)
Definition at line 228 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), setPointsForNode(), ilStudyProgrammeProgress\STATUS_ACCREDITED, and ilStudyProgrammeProgress\STATUS_COMPLETED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkAccreditedShouldNotChangeIrrelevantParent | ( | ) |
── 1 ├── 11 (irrelevant) │ ├── 111 │ └── 112 ├── 12 └── 13
Definition at line 302 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkAsIndividual | ( | ) |
Definition at line 504 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), and getRootPrg().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkIrrelevantDoesNotCompleteParent | ( | ) |
Definition at line 375 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), setPointsForNode(), and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testMarkRelevantShouldRecalculateStatusAndPoints | ( | ) |
Definition at line 317 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testParentAcquisition | ( | ) |
── 1 ├── 11 │ ├── 111 │ └── 112 ├── 12 └── 13
Definition at line 127 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testSuccessionCompletingParents | ( | ) |
Definition at line 345 of file ilStudyProgrammeProgressCalculationsTest.php.
References ilStudyProgrammeSettings\MODE_LP_COMPLETED, setModeForNode(), setPointsForNode(), and ilStudyProgrammeProgress\STATUS_COMPLETED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testTranstitionToProgressWithPastDeadline | ( | ) |
Definition at line 461 of file ilStudyProgrammeProgressCalculationsTest.php.
References getRootPrg(), ilStudyProgrammeProgress\STATUS_ACCREDITED, and ilStudyProgrammeProgress\STATUS_FAILED.
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testUpdateFromSettingsResetsIndividual | ( | ) |
Definition at line 520 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), and getRootPrg().
Here is the call graph for this function:| ilStudyProgrammeProgressCalculationsTest::testUpdatePlanFromSettings | ( | ) |
Definition at line 532 of file ilStudyProgrammeProgressCalculationsTest.php.
References add(), getRootPrg(), and ilStudyProgrammeAssessmentSettings\STATUS_ACTIVE.
Here is the call graph for this function: