|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
TestCase for the assignment of users to a programme. More...
Inheritance diagram for ilStudyProgrammeUserAssignmentTest:
Collaboration diagram for ilStudyProgrammeUserAssignmentTest:Public Member Functions | |
| testNoAssignmentWhenDraft () | |
| @expectedException ilException More... | |
| testNoAssignmentWhenOutdated () | |
| @expectedException ilException More... | |
| testNoAssignementWhenNotCreated () | |
| @expectedException ilException More... | |
| testUserId () | |
| testHasAssignmentOf () | |
| testGetAmountOfAssignments () | |
| testGetAssignmentsOf () | |
| testRemoveOnRootNodeOnly1 () | |
| @expectedException ilException More... | |
| testRemoveOnRootNodeOnly2 () | |
| @expectedException ilException More... | |
| testRemoveAssignment1 () | |
| testRemoveAssignment2 () | |
| testGetAssignments () | |
| testNoRestartDate () | |
| testRestartDate () | |
| testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment () | |
| testDeassignRemovesEntriesInPrgUsrAssignment () | |
| testRstartAssignment () | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
| newUser () | |
Protected Attributes | |
| $backupGlobals = false | |
TestCase for the assignment of users to a programme.
@group needsInstalledILIAS
Definition at line 17 of file ilStudyProgrammeUserAssignmentTest.php.
|
protected |
Definition at line 63 of file ilStudyProgrammeUserAssignmentTest.php.
Referenced by testDeassignRemovesEntriesInPrgUsrAssignment(), testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment(), testGetAmountOfAssignments(), testGetAssignments(), testGetAssignmentsOf(), testHasAssignmentOf(), testNoAssignementWhenNotCreated(), testNoAssignmentWhenDraft(), testNoAssignmentWhenOutdated(), testNoRestartDate(), testRemoveAssignment1(), testRemoveAssignment2(), testRemoveOnRootNodeOnly1(), testRemoveOnRootNodeOnly2(), testRestartDate(), testRstartAssignment(), and testUserId().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, Vendor\Package\$e, and ilObjStudyProgramme\createInstance().
Here is the call graph for this function:
|
protected |
Definition at line 55 of file ilStudyProgrammeUserAssignmentTest.php.
| ilStudyProgrammeUserAssignmentTest::testDeassignRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 336 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeSettings\STATUS_ACTIVE, and ilStudyProgrammeAssignmentDBRepository\TABLE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 315 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeSettings\STATUS_ACTIVE, and ilStudyProgrammeAssignmentDBRepository\TABLE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 127 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 239 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 158 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 110 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignementWhenNotCreated | ( | ) |
@expectedException ilException
Definition at line 95 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
@expectedException ilException
Definition at line 73 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_DRAFT.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenOutdated | ( | ) |
@expectedException ilException
Definition at line 83 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoRestartDate | ( | ) |
Definition at line 258 of file ilStudyProgrammeUserAssignmentTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 217 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 228 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly1 | ( | ) |
@expectedException ilException
Definition at line 194 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly2 | ( | ) |
@expectedException ilException
Definition at line 207 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRestartDate | ( | ) |
Definition at line 283 of file ilStudyProgrammeUserAssignmentTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRstartAssignment | ( | ) |
Definition at line 354 of file ilStudyProgrammeUserAssignmentTest.php.
References ilObjStudyProgramme\createInstance(), newUser(), ilStudyProgrammeAssignment\NO_RESTARTED_ASSIGNMENT, ilStudyProgrammeSettings\STATUS_ACTIVE, ilStudyProgrammeProgress\STATUS_FAILED, and ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 102 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:
|
protected |
Definition at line 19 of file ilStudyProgrammeUserAssignmentTest.php.