Commit 702be3ee authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add mailtransport autotest

parent 741e9b2d
[FolderArchiveAccount akonadi_akonotes_resource_0]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_0
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_1]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_1
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_2]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_2
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_6]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_6
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_2]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_2
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_4]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_4
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_43]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_43
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_kolab_resource_1]
enabled=true
folderArchiveType=0
instanceName=akonadi_kolab_resource_1
keepExistingStructure=false
topLevelCollectionId=2378
[FolderArchiveAccount akonadi_kolab_resource_8]
enabled=true
folderArchiveType=0
instanceName=akonadi_kolab_resource_8
keepExistingStructure=false
topLevelCollectionId=4032
[FolderArchiveAccount akonadi_maildir_resource_10]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_10
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_4]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_4
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_6]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_6
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_7]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_7
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_8]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_8
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_9]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_9
keepExistingStructure=false
This diff is collapsed.
[General]
default-transport=765206269
[Transport 765206269]
auth=true
authtype=1
encryption=TLS
host=mail.kde.com
id=765206269
name=test-transport
port=587
storepass=true
user=foo.bla
information/VERSION_2
information/exportdatatype.xml
transports/mailtransports
[FolderArchiveAccount akonadi_akonotes_resource_0]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_0
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_1]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_1
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_2]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_2
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_akonotes_resource_6]
enabled=false
folderArchiveType=0
instanceName=akonadi_akonotes_resource_6
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_2]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_2
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_4]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_4
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_43]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_43
keepExistingStructure=false
[FolderArchiveAccount akonadi_imap_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_imap_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_kolab_resource_1]
enabled=true
folderArchiveType=0
instanceName=akonadi_kolab_resource_1
keepExistingStructure=false
topLevelCollectionId=2378
[FolderArchiveAccount akonadi_kolab_resource_8]
enabled=true
folderArchiveType=0
instanceName=akonadi_kolab_resource_8
keepExistingStructure=false
topLevelCollectionId=4032
[FolderArchiveAccount akonadi_maildir_resource_10]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_10
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_3]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_3
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_4]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_4
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_5]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_5
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_6]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_6
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_7]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_7
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_8]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_8
keepExistingStructure=false
[FolderArchiveAccount akonadi_maildir_resource_9]
enabled=false
folderArchiveType=0
instanceName=akonadi_maildir_resource_9
keepExistingStructure=false
[General]
default-transport=765206269
[Transport 765206269]
auth=true
authtype=1
encryption=TLS
host=mail.kde.com
id=765206269
name=test-transport
port=587
storepass=true
user=foo.bla
information/VERSION_2
information/exportdatatype.xml
transports/mailtransports
[General]
default-transport=1
[Transport 1]
authenticationType=1
encryption=1
host=mail.kde.com
localHostname=
name=test-transport
port=587
precommand=
requiresAuthentication=true
senderOverwriteAddress=
specifyHostname=false
specifySenderOverwriteAddress=false
storePassword=true
userName=foo.bla
......@@ -32,6 +32,9 @@ void ExportMailJobInterfaceTest::exportMail_data()
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport") << pathConfig + QByteArray("mailtransport/") << options;
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport2") << pathConfig + QByteArray("mailtransport2/") << options;
options = {Utils::StoredType::Identity};
QTest::newRow("identities") << pathConfig + QByteArray("identities/") << options;
......
......@@ -33,6 +33,9 @@ void ImportMailJobInterfaceTest::importMail_data()
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport") << QString::fromLatin1(pathConfig) << QStringLiteral("mailtransport/") << options;
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport2") << QString::fromLatin1(pathConfig) << QStringLiteral("mailtransport2/") << options;
options = {Utils::StoredType::Identity};
QTest::newRow("identities") << QString::fromLatin1(pathConfig) << QStringLiteral("identities/") << options;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment