|
ILIAS
release_8 Revision v8.24
|
Class ilMailMimeTest. More...
Inheritance diagram for ilMailTest:
Collaboration diagram for ilMailTest:Public Member Functions | |
| testExternalMailDeliveryToLocalRecipientsWorksAsExpected () | |
| testGetMailObjectReferenceId () | |
| testFormatNamesForOutput () | |
| testGetPreviousMail (array $rowData) | |
| @dataProvider provideGetPreviousMail More... | |
| provideGetPreviousMail () | |
| testGetNextMail () | |
| testGetMailsOfFolder () | |
| testCountMailsOfFolder () | |
| testGetMail () | |
| testMarkRead () | |
| testMarkUnread () | |
| testMoveMailsToFolder () | |
| testMoveMailsToFolderFalse () | |
| testGetNewDraftId () | |
| testUpdateDraft () | |
| testPersistingToStage () | |
| testRetrievalFromStage () | |
| testValidateRecipients ($errors=[]) | |
| provideValidateRecipients () | |
| testGetIliasMailerName () | |
| testSaveAttachments () | |
Private Member Functions | |
| queryCallback ($returnValue, array $expectedTypes, array $expectedValues) | |
| createAndExpectDatabaseCall (int $someMailId, array $rowData) | |
| create (int $refId=234, int $userId=123) | |
Private Attributes | |
| ilDBInterface | $mockDatabase |
| $mockAddressTypeFactory | |
| $mockLog | |
| $mockParserFactory | |
| $mockLanguage | |
Additional Inherited Members | |
Protected Member Functions inherited from ilMailBaseTest | |
| brutallyTrimHTML (string $html) | |
| setUp () | |
| tearDown () | |
| setGlobalVariable (string $name, $value) | |
Class ilMailMimeTest.
Definition at line 28 of file ilMailTest.php.
|
private |
Definition at line 561 of file ilMailTest.php.
References $refId.
Referenced by createAndExpectDatabaseCall(), testCountMailsOfFolder(), testFormatNamesForOutput(), testGetMailObjectReferenceId(), testGetMailsOfFolder(), testGetNewDraftId(), testMarkRead(), testMarkUnread(), testMoveMailsToFolder(), testMoveMailsToFolderFalse(), testPersistingToStage(), testRetrievalFromStage(), testSaveAttachments(), testUpdateDraft(), and testValidateRecipients().
Here is the caller graph for this function:
|
private |
Definition at line 550 of file ilMailTest.php.
References create(), and queryCallback().
Referenced by testGetMail(), testGetNextMail(), and testGetPreviousMail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailTest::provideGetPreviousMail | ( | ) |
Definition at line 230 of file ilMailTest.php.
| ilMailTest::provideValidateRecipients | ( | ) |
Definition at line 501 of file ilMailTest.php.
|
private |
Definition at line 540 of file ilMailTest.php.
References $query.
Referenced by createAndExpectDatabaseCall(), testCountMailsOfFolder(), testGetMailsOfFolder(), testMarkRead(), testMarkUnread(), testMoveMailsToFolder(), testPersistingToStage(), and testRetrievalFromStage().
Here is the caller graph for this function:| ilMailTest::testCountMailsOfFolder | ( | ) |
Definition at line 288 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testExternalMailDeliveryToLocalRecipientsWorksAsExpected | ( | ) |
| ReflectionException |
Definition at line 44 of file ilMailTest.php.
References $lng, ILIAS\LTI\ToolProvider\$settings, ILIAS\GlobalScreen\Provider\__construct(), ilMailMimeSenderUserById\addUserToCache(), ilMimeMail\getBcc(), ilMimeMail\getDefaultTransport(), ilMailOptions\INCOMING_EMAIL, ilMimeMail\setDefaultTransport(), and ilMailBaseTest\setGlobalVariable().
Here is the call graph for this function:| ilMailTest::testFormatNamesForOutput | ( | ) |
Definition at line 209 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetIliasMailerName | ( | ) |
Definition at line 509 of file ilMailTest.php.
References ilMailBaseTest\setGlobalVariable().
Here is the call graph for this function:| ilMailTest::testGetMail | ( | ) |
Definition at line 301 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetMailObjectReferenceId | ( | ) |
| ilMailTest::testGetMailsOfFolder | ( | ) |
Definition at line 261 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testGetNewDraftId | ( | ) |
Definition at line 354 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetNextMail | ( | ) |
Definition at line 253 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetPreviousMail | ( | array | $rowData | ) |
@dataProvider provideGetPreviousMail
Definition at line 222 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testMarkRead | ( | ) |
Definition at line 308 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMarkUnread | ( | ) |
Definition at line 320 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolder | ( | ) |
Definition at line 332 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolderFalse | ( | ) |
Definition at line 344 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testPersistingToStage | ( | ) |
Definition at line 406 of file ilMailTest.php.
References $message, $params, create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testRetrievalFromStage | ( | ) |
Definition at line 455 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testSaveAttachments | ( | ) |
Definition at line 521 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testUpdateDraft | ( | ) |
Definition at line 372 of file ilMailTest.php.
References $message, $params, and create().
Here is the call graph for this function:| ilMailTest::testValidateRecipients | ( | $errors = [] | ) |
Definition at line 471 of file ilMailTest.php.
References $errors, and create().
Here is the call graph for this function:
|
private |
Definition at line 33 of file ilMailTest.php.
|
private |
Definition at line 31 of file ilMailTest.php.
|
private |
Definition at line 39 of file ilMailTest.php.
|
private |
Definition at line 35 of file ilMailTest.php.
|
private |
Definition at line 37 of file ilMailTest.php.