|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 () | |
| testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment () | |
| testDeassignRemovesEntriesInPrgUsrAssignment () | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
| newUser () | |
Protected Attributes | |
| $backupGlobals = false | |
TestCase for the assignment of users to a programme.
@group needsInstalledILIAS
Definition at line 15 of file ilStudyProgrammeUserAssignmentTest.php.
|
protected |
Definition at line 56 of file ilStudyProgrammeUserAssignmentTest.php.
Referenced by testDeassignRemovesEntriesInPrgUsrAssignment(), testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment(), testGetAmountOfAssignments(), testGetAssignments(), testGetAssignmentsOf(), testHasAssignmentOf(), testNoAssignementWhenNotCreated(), testNoAssignmentWhenDraft(), testNoAssignmentWhenOutdated(), testRemoveAssignment1(), testRemoveAssignment2(), testRemoveOnRootNodeOnly1(), testRemoveOnRootNodeOnly2(), and testUserId().
Here is the caller graph for this function:
|
protected |
Definition at line 19 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, and ilObjStudyProgramme\createInstance().
Here is the call graph for this function:
|
protected |
Definition at line 48 of file ilStudyProgrammeUserAssignmentTest.php.
| ilStudyProgrammeUserAssignmentTest::testDeassignRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 272 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 251 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 120 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 232 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 151 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 103 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignementWhenNotCreated | ( | ) |
@expectedException ilException
Definition at line 88 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
@expectedException ilException
Definition at line 66 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_DRAFT.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenOutdated | ( | ) |
@expectedException ilException
Definition at line 76 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 210 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 221 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly1 | ( | ) |
@expectedException ilException
Definition at line 187 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly2 | ( | ) |
@expectedException ilException
Definition at line 200 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 95 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:
|
protected |
Definition at line 17 of file ilStudyProgrammeUserAssignmentTest.php.