Commit b0a3d7c5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add autotest about mailtransport export too

parent a985b232
[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=1701481874
[Transport 1100263210]
authtype=0
encryption=SSL
host=smtp.foo.fr
id=1100263210
name=transportname1
port=465
senderOverwriteAddress=bla@foo.fr
specifySenderOverwriteAddress=true
storepass=true
user=vla@bla.fr
[Transport 1701481874]
auth=true
authtype=0
encryption=TLS
host=smtp.bla.org
id=1701481874
name=transportname2
port=587
storepass=true
user=foo@bla.org
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=1701481874
[Transport 1100263210]
authtype=0
encryption=SSL
host=smtp.foo.fr
id=1100263210
name=transportname1
port=465
senderOverwriteAddress=bla@foo.fr
specifySenderOverwriteAddress=true
storepass=true
user=vla@bla.fr
[Transport 1701481874]
auth=true
authtype=0
encryption=TLS
host=smtp.bla.org
id=1701481874
name=transportname2
port=587
storepass=true
user=foo@bla.org
......@@ -145,7 +145,9 @@ void ExportMailJobInterfaceTest::exportMail_data()
Utils::StoredTypes options = {Utils::StoredType::Config};
QTest::newRow("mailonlyconfig") << pathConfig + QByteArray("mailonlyconfig/") << options;
options = {Utils::StoredType::Config|Utils::StoredType::Resources};
QTest::newRow("mailconfigandconfig") << pathConfig + QByteArray("mailconfigandconfig/") << options;
QTest::newRow("mailconfigandresource") << pathConfig + QByteArray("mailconfigandresource/") << options;
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport") << pathConfig + QByteArray("mailtransport/") << options;
}
void ExportMailJobInterfaceTest::exportMail()
......
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