|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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 32 of file ilMailTest.php.
|
private |
Definition at line 666 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 655 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 302 of file ilMailTest.php.
| ilMailTest::provideValidateRecipients | ( | ) |
Definition at line 607 of file ilMailTest.php.
|
private |
Definition at line 645 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 360 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testExternalMailDeliveryWorksAsExpected | ( | ) |
Definition at line 40 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 283 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetIliasMailerName | ( | ) |
Definition at line 615 of file ilMailTest.php.
References ilMail\_getIliasMailerName(), and ilMailBaseTestCase\setGlobalVariable().
Here is the call graph for this function:| ilMailTest::testGetMail | ( | ) |
Definition at line 373 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetMailObjectReferenceId | ( | ) |
| ilMailTest::testGetMailsOfFolder | ( | ) |
Definition at line 333 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testGetNewDraftId | ( | ) |
Definition at line 426 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testGetNextMail | ( | ) |
Definition at line 325 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testGetPreviousMail | ( | array | $row_data | ) |
Definition at line 294 of file ilMailTest.php.
References createAndExpectDatabaseCall().
Here is the call graph for this function:| ilMailTest::testMarkRead | ( | ) |
Definition at line 380 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMarkUnread | ( | ) |
Definition at line 392 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolder | ( | ) |
Definition at line 404 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testMoveMailsToFolderFalse | ( | ) |
Definition at line 416 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testPersistingToStage | ( | ) |
Definition at line 500 of file ilMailTest.php.
References $params, create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testRetrievalFromStage | ( | ) |
Definition at line 549 of file ilMailTest.php.
References create(), and queryCallback().
Here is the call graph for this function:| ilMailTest::testSaveAttachments | ( | ) |
Definition at line 626 of file ilMailTest.php.
References create().
Here is the call graph for this function:| ilMailTest::testUpdateDraft | ( | ) |
Definition at line 444 of file ilMailTest.php.
References $params, and create().
Here is the call graph for this function:| ilMailTest::testValidateRecipients | ( | $errors = [] | ) |
Definition at line 565 of file ilMailTest.php.
References create().
Here is the call graph for this function:
|
private |
Definition at line 35 of file ilMailTest.php.
|
private |
Definition at line 34 of file ilMailTest.php.
|
private |
Definition at line 38 of file ilMailTest.php.
|
private |
Definition at line 36 of file ilMailTest.php.
|
private |
Definition at line 37 of file ilMailTest.php.