ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
TestCase for the assignment of users to a programme. More...
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().
|
protected |
Definition at line 17 of file ilStudyProgrammeUserAssignmentTest.php.
References ilObjStudyProgramme\createInstance().
|
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.
ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 233 of file ilStudyProgrammeUserAssignmentTest.php.
References $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 109 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 215 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 139 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 93 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testNoAssignementWhenNotCreated | ( | ) |
Definition at line 80 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
Definition at line 60 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_DRAFT.
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenOutdated | ( | ) |
Definition at line 69 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 195 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 205 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly1 | ( | ) |
Definition at line 174 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly2 | ( | ) |
Definition at line 186 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 86 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
|
protected |
Definition at line 15 of file ilStudyProgrammeUserAssignmentTest.php.