|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilMailTest:
Collaboration diagram for ilMailTest:Public Member Functions | |
| testExternalMailDeliveryWorksAsExpected () | |
| testGetMailObjectReferenceId () | |
| testFormatNamesForOutput () | |
| testGetPreviousMail (array $row_data) | |
| testGetNextMail () | |
| testGetMailsOfFolder () | |
| testCountMailsOfFolder () | |
| testGetMail () | |
| testMarkRead () | |
| testMarkUnread () | |
| testMoveMailsToFolder () | |
| testMoveMailsToFolderFalse () | |
| testGetNewDraftId () | |
| testUpdateDraft () | |
| testPersistingToStage () | |
| testRetrievalFromStage () | |
| testValidateRecipients ($errors=[]) | |
| provideValidateRecipients () | |
| testGetIliasMailerName () | |
| testSaveAttachments () | |
Static Public Member Functions | |
| static | provideGetPreviousMail () |
Private Member Functions | |
| queryCallback ($return_value, array $expected_types, array $expected_values) | |
| createAndExpectDatabaseCall (int $some_mail_id, array $row_data) | |
| create (int $ref_id=234, int $usr_id=123) | |
Private Attributes | |
| MockObject &ilDBInterface | $mock_database |
| MockObject &ilMailAddressTypeFactory | $mock_address_type_factory |
| MockObject &ilLogger | $mock_log |
| MockObject &ilMailRfc822AddressParserFactory | $mock_parser_factory |
| MockObject &ilLanguage | $mock_language |
Additional Inherited Members | |
Protected Member Functions inherited from ilMailBaseTestCase | |
| brutallyTrimHTML (string $html) | |
| setUp () | |
| tearDown () | |
| setGlobalVariable (string $name, $value) | |
Definition at line 30 of file ilMailTest.php.
|
private |
Definition at line 657 of file ilMailTest.php.
References $ref_id, ILIAS\UI\examples\Layout\Page\Mail\$refinery, and ilMailBaseTestCase\setGlobalVariable().
Referenced by createAndExpectDatabaseCall(), testCountMailsOfFolder(), testFormatNamesForOutput(), testGetMailObjectReferenceId(), testGetMailsOfFolder(), testGetNewDraftId(), testMarkRead(), testMarkUnread(), testMoveMailsToFolder(), testMoveMailsToFolderFalse(), testPersistingToStage(), testRetrievalFromStage(), testSaveAttachments(), testUpdateDraft(), and testValidateRecipients().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 646 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:
|
static |
Definition at line 293 of file ilMailTest.php.
| ilMailTest::provideValidateRecipients | ( | ) |
Definition at line 598 of file ilMailTest.php.
|
private |
Definition at line 636 of file ilMailTest.php.
Referenced by createAndExpectDatabaseCall(), testCountMailsOfFolder(), testGetMailsOfFolder(), testMarkRead(), testMarkUnread(), testMoveMailsToFolder(), testPersistingToStage(), and testRetrievalFromStage().
Here is the caller graph for this function:| ilMailTest::testCountMailsOfFolder | ( | ) |
Definition at line 351 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testExternalMailDeliveryWorksAsExpected | ( | ) |
Definition at line 38 of file ilMailTest.php.
References $lng, ILIAS\UI\examples\Layout\Page\Mail\$refinery, ILIAS\GlobalScreen\Provider\__construct(), ilMailMimeSenderUserById\addUserToCache(), ilMimeMail\getBcc(), ilMimeMail\getDefaultTransport(), ilMailOptions\INCOMING_EMAIL, ilMimeMail\setDefaultTransport(), ilMailBaseTestCase\setGlobalVariable(), and true.
Here is the call graph for this function:| ilMailTest::testFormatNamesForOutput | ( | ) |
Definition at line 274 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetIliasMailerName | ( | ) |
Definition at line 606 of file ilMailTest.php.
References ilMail\_getIliasMailerName(), and ilMailBaseTestCase\setGlobalVariable().
Here is the call graph for this function:| ilMailTest::testGetMail | ( | ) |
Definition at line 364 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetMailObjectReferenceId | ( | ) |
| ilMailTest::testGetMailsOfFolder | ( | ) |
Definition at line 324 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testGetNewDraftId | ( | ) |
Definition at line 417 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetNextMail | ( | ) |
Definition at line 316 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetPreviousMail | ( | array | $row_data | ) |
Definition at line 285 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testMarkRead | ( | ) |
Definition at line 371 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMarkUnread | ( | ) |
Definition at line 383 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolder | ( | ) |
Definition at line 395 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolderFalse | ( | ) |
Definition at line 407 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testPersistingToStage | ( | ) |
Definition at line 491 of file ilMailTest.php.
References $params, create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testRetrievalFromStage | ( | ) |
Definition at line 540 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testSaveAttachments | ( | ) |
Definition at line 617 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testUpdateDraft | ( | ) |
Definition at line 435 of file ilMailTest.php.
References $params, and create().
Here is the call graph for this function:| ilMailTest::testValidateRecipients | ( | $errors = [] | ) |
Definition at line 556 of file ilMailTest.php.
References create().
Here is the call graph for this function:
|
private |
Definition at line 33 of file ilMailTest.php.
|
private |
Definition at line 32 of file ilMailTest.php.
|
private |
Definition at line 36 of file ilMailTest.php.
|
private |
Definition at line 34 of file ilMailTest.php.
|
private |
Definition at line 35 of file ilMailTest.php.