ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 53 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 18 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, and ilObjStudyProgramme\createInstance().
|
protected |
Definition at line 46 of file ilStudyProgrammeUserAssignmentTest.php.
ilStudyProgrammeUserAssignmentTest::testDeassignRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 254 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testDeleteOfProgrammeRemovesEntriesInPrgUsrAssignment | ( | ) |
Definition at line 235 of file ilStudyProgrammeUserAssignmentTest.php.
References $DIC, $ilDB, $res, newUser(), ilStudyProgrammeAssignment\returnDbTableName(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAmountOfAssignments | ( | ) |
Definition at line 111 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignments | ( | ) |
Definition at line 217 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testGetAssignmentsOf | ( | ) |
Definition at line 141 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testHasAssignmentOf | ( | ) |
Definition at line 95 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testNoAssignementWhenNotCreated | ( | ) |
Definition at line 82 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser().
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenDraft | ( | ) |
Definition at line 62 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_DRAFT.
ilStudyProgrammeUserAssignmentTest::testNoAssignmentWhenOutdated | ( | ) |
Definition at line 71 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_OUTDATED.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment1 | ( | ) |
Definition at line 197 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveAssignment2 | ( | ) |
Definition at line 207 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly1 | ( | ) |
Definition at line 176 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testRemoveOnRootNodeOnly2 | ( | ) |
Definition at line 188 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
ilStudyProgrammeUserAssignmentTest::testUserId | ( | ) |
Definition at line 88 of file ilStudyProgrammeUserAssignmentTest.php.
References newUser(), and ilStudyProgramme\STATUS_ACTIVE.
|
protected |
Definition at line 16 of file ilStudyProgrammeUserAssignmentTest.php.