Commit 0795ed1c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more autotest

parent 7ba090af
[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
[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
......@@ -237,7 +237,7 @@ void ExportMailJobInterface::backupConfig()
for (const QString &str : archiveList) {
KConfigGroup oldGroup = archiveConfig->group(str);
qint64 id = oldGroup.readEntry("topLevelCollectionId", -1);
const qint64 id = oldGroup.readEntry("topLevelCollectionId", -1);
if (id != -1) {
const QString realPath = convertToFullCollectionPath(id);
if (!realPath.isEmpty()) {
......
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