|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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.
Definition at line 14 of file ilStudyProgrammeUserAssignmentTest.php.
|
protected |
Definition at line 51 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 17 of file ilStudyProgrammeUserAssignmentTest.php.
References ilObjStudyProgramme\createInstance().
Here is the call graph for this function:
|
protected |
Definition at line 44 of file ilStudyProgrammeUserAssignmentTest.php.
| ilStudyProgrammeUserAssignmentTest::testDeassignRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 251 of file ilStudyProgrammeUserAssignmentTest.php.
References $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 233 of file ilStudyProgrammeUserAssignmentTest.php.
References $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 109 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 215 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 139 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 93 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 80 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
@expectedException ilException
Definition at line 60 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 69 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_OUTDATED.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 195 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 205 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 174 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 186 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:| ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 86 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
Here is the call graph for this function:
|
protected |
Definition at line 15 of file ilStudyProgrammeUserAssignmentTest.php.