nextcloud/build/integration/features/bootstrap
Daniel Calviño Sánchez 125481a660 Add integration tests for creating and updating a mail share
In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.

To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.

In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.

For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 11:37:44 +00:00
..
AppConfiguration.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Auth.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BasicStructure.php Add integration tests for creating and updating a mail share 2020-05-29 11:37:44 +00:00
CalDavContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CardDavContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ChecksumsContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CommandLine.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CommandLineContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CommentsContext.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Download.php Remove unused imports 2020-03-25 22:08:08 +01:00
FakeSMTPHelper.php Add integration tests for creating and updating a mail share 2020-05-29 11:37:44 +00:00
FeatureContext.php Update license headers 2019-12-05 15:38:45 +01:00
FederationContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
FilesDropContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
LDAPContext.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Mail.php Add integration tests for creating and updating a mail share 2020-05-29 11:37:44 +00:00
Provisioning.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RemoteContext.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SetupContext.php Update license headers 2019-12-05 15:38:45 +01:00
ShareesContext.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Sharing.php Generalize integration test steps to download last share 2020-05-29 11:37:43 +00:00
SharingContext.php Add integration tests for creating and updating a mail share 2020-05-29 11:37:44 +00:00
TagsContext.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
Trashbin.php Make sure every file ends with an empty newline 2020-04-09 16:11:50 +02:00
WebDav.php Update license headers for 19 2020-04-29 11:57:22 +02:00