ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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.
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().
|
protected |
Definition at line 19 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, and ilObjStudyProgramme\createInstance().
|
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.
ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 251 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 120 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 232 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 151 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 103 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testNoAssignementWhenNotCreated | ( | ) |
Definition at line 88 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
Definition at line 66 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_DRAFT.
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenOutdated | ( | ) |
Definition at line 76 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 210 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 221 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly1 | ( | ) |
Definition at line 187 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly2 | ( | ) |
Definition at line 200 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 95 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
|
protected |
Definition at line 17 of file ilStudyProgrammeUserAssignmentTest.php.