|
ILIAS
release_8 Revision v8.24
|
Class ilMailAddressTypesTest. More...
Inheritance diagram for ilMailAddressTypesTest:
Collaboration diagram for ilMailAddressTypesTest:Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from ilMailBaseTest | |
| brutallyTrimHTML (string $html) | |
| setUp () | |
| tearDown () | |
| setGlobalVariable (string $name, $value) | |
Private Member Functions | |
| createGroupNameAsValidatorMock () | |
| getAddressTypeFactory (ilGroupNameAsMailValidator $groupNameValidatorMock) | |
| getWrappedAddressType (ilMailAddressType $type) | |
Class ilMailAddressTypesTest.
Definition at line 27 of file ilMailAddressTypesTest.php.
|
private |
Definition at line 38 of file ilMailAddressTypesTest.php.
Referenced by testAdminCourseNameIsAValidMailAddressType(), testAdminGroupNameIsAValidMailAddressTypes(), testFactoryWillReturnGroupAddressTypeForGroupName(), testFactoryWillReturnListAddressTypeForListName(), testFactoryWillReturnLoginOrEmailAddressAddressType(), testFactoryWillReturnRoleAddressType(), testMemberCourseNameIsAValidMailAddressType(), and testMemberGroupNameIsAValidMailAddressType().
Here is the caller graph for this function:
|
private |
Definition at line 46 of file ilMailAddressTypesTest.php.
Referenced by testAdminCourseNameIsAValidMailAddressType(), testAdminGroupNameIsAValidMailAddressTypes(), testFactoryWillReturnGroupAddressTypeForGroupName(), testFactoryWillReturnListAddressTypeForListName(), testFactoryWillReturnLoginOrEmailAddressAddressType(), testFactoryWillReturnRoleAddressType(), testMemberCourseNameIsAValidMailAddressType(), and testMemberGroupNameIsAValidMailAddressType().
Here is the caller graph for this function:
|
private |
Definition at line 66 of file ilMailAddressTypesTest.php.
References $type.
Referenced by testAdminCourseNameIsAValidMailAddressType(), testAdminGroupNameIsAValidMailAddressTypes(), testFactoryWillReturnGroupAddressTypeForGroupName(), testFactoryWillReturnListAddressTypeForListName(), testFactoryWillReturnLoginOrEmailAddressAddressType(), testFactoryWillReturnRoleAddressType(), testMemberCourseNameIsAValidMailAddressType(), and testMemberGroupNameIsAValidMailAddressType().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilMailBaseTest.
Definition at line 29 of file ilMailAddressTypesTest.php.
References ilMailCachedAddressType\clearCache().
Here is the call graph for this function:| ilMailAddressTypesTest::testAddressCanBeValidatedFromLoginOrEmailAddressType | ( | ) |
Definition at line 240 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testAdminCourseNameIsAValidMailAddressType | ( | ) |
Definition at line 151 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testAdminGroupNameIsAValidMailAddressTypes | ( | ) |
Definition at line 127 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testCacheOnlyResolvesAndValidatesRecipientsOnceIfCachingIsEnabled | ( | ) |
Definition at line 584 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testCacheResolvesAndValidatesRecipientsOnEveryCallIfCachingIsDisabled | ( | ) |
Definition at line 599 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testFactoryWillReturnGroupAddressTypeForGroupName | ( | ) |
Definition at line 91 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testFactoryWillReturnListAddressTypeForListName | ( | ) |
Definition at line 79 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testFactoryWillReturnLoginOrEmailAddressAddressType | ( | ) |
Definition at line 103 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testFactoryWillReturnRoleAddressType | ( | ) |
Definition at line 115 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testMailingListAddressCanBeValidated | ( | ) |
Definition at line 403 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testMemberCourseNameIsAValidMailAddressType | ( | ) |
Definition at line 163 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testMemberGroupNameIsAValidMailAddressType | ( | ) |
Definition at line 139 of file ilMailAddressTypesTest.php.
References createGroupNameAsValidatorMock(), getAddressTypeFactory(), and getWrappedAddressType().
Here is the call graph for this function:| ilMailAddressTypesTest::testNoUserIdCanBeResolvedFromEmailAddress | ( | ) |
Definition at line 219 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testNoUserIdCanBeResolvedFromUnknownLoginAddress | ( | ) |
Definition at line 198 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testNoUserIdsCanBeResolvedFromInvalidRoleAddress | ( | ) |
Definition at line 460 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testNoUserIdsCanBeResolvedFromRoleAddressWithoutAnyUsersBeingAssinged | ( | ) |
Definition at line 485 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testPermissionsAreCheckedForRegularUsersWhenValidatingGlobalRoleAddresses | ( | ) |
Definition at line 534 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testUserIdCanBeResolvedFromLoginAddress | ( | ) |
Definition at line 175 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testUserIdsCanBeResolvedFromGroupNameAddress | ( | ) |
Definition at line 283 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testUserIdsCanBeResolvedFromMailingListAddress | ( | ) |
Definition at line 359 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testUserIdsCanBeResolvedFromRoleAddress | ( | ) |
Definition at line 431 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testUserIdsCannotBeResolvedFromNonExistingGroupNameAddress | ( | ) |
Definition at line 306 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testValidationFailsForNonExistingGroupNameAddress | ( | ) |
Definition at line 329 of file ilMailAddressTypesTest.php.
References $type.
| ilMailAddressTypesTest::testValidationForAnonymousUserAsSystemActorSucceedsAlwaysForGlobalRoleAddresses | ( | ) |
Definition at line 510 of file ilMailAddressTypesTest.php.
References $type, and ANONYMOUS_USER_ID.
| ilMailAddressTypesTest::testValidationSucceedsForExistingGroupName | ( | ) |
Definition at line 344 of file ilMailAddressTypesTest.php.
References $type.