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

Rename test

parent 01c7c423
......@@ -73,7 +73,7 @@ void ImportAddressbookJobInterfaceTest::importAddressbookConfig_data()
QTest::addColumn<QString>("zipFilePath");
QTest::addColumn<QString>("testPath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/import/");
QTest::newRow("test1") << QString::fromLatin1(pathConfig) << QStringLiteral("/test1/");
QTest::newRow("addressbookonlyconfig") << QString::fromLatin1(pathConfig) << QStringLiteral("/addressbookonlyconfig/");
}
void ImportAddressbookJobInterfaceTest::importAddressbookConfig()
......
......@@ -73,7 +73,7 @@ void ImportAlarmJobInterfaceTest::importAlarmConfig_data()
QTest::addColumn<QString>("zipFilePath");
QTest::addColumn<QString>("testPath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/import/");
QTest::newRow("test1") << QString::fromLatin1(pathConfig) << QStringLiteral("/test1/");
QTest::newRow("alarmonlyconfig") << QString::fromLatin1(pathConfig) << QStringLiteral("/alarmonlyconfig/");
}
void ImportAlarmJobInterfaceTest::importAlarmConfig()
......
......@@ -73,7 +73,7 @@ void ImportCalendarJobInterfaceTest::importCalendarConfig_data()
QTest::addColumn<QString>("zipFilePath");
QTest::addColumn<QString>("testPath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/import/");
QTest::newRow("test1") << QString::fromLatin1(pathConfig) << QStringLiteral("/test1/");
QTest::newRow("calendaronlyconfig") << QString::fromLatin1(pathConfig) << QStringLiteral("/calendaronlyconfig/");
}
void ImportCalendarJobInterfaceTest::importCalendarConfig()
......
[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.
[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
configs/globalnotesettings
configs/knotesrc
configs/kmail2rc
information/VERSION_2
information/exportdatatype.xml
configs/foldermailarchiverc
configs/templatesconfigurationrc
......@@ -115,7 +115,7 @@ void ExportMailJobInterfaceTest::exportMailConfig_data()
{
QTest::addColumn<QByteArray>("configpath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/export/");
QTest::newRow("test1") << pathConfig + QByteArray("test1/");
QTest::newRow("mailonlyconfig") << pathConfig + QByteArray("mailonlyconfig/");
}
void ExportMailJobInterfaceTest::exportMailConfig()
......@@ -134,8 +134,7 @@ void ExportMailJobInterfaceTest::exportMailConfigAndResource_data()
{
QTest::addColumn<QByteArray>("configpath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/export/");
//QTest::newRow("test1resource") << pathConfig + QByteArray("test1resource/");
QTest::newRow("fullresource") << pathConfig + QByteArray("fullresource/");
QTest::newRow("mailconfigandconfig") << pathConfig + QByteArray("mailconfigandconfig/");
}
void ExportMailJobInterfaceTest::exportMailConfigAndResource()
......
......@@ -83,7 +83,7 @@ void ImportMailJobInterfaceTest::importMailConfig_data()
QTest::addColumn<QString>("zipFilePath");
QTest::addColumn<QString>("testPath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/import/");
QTest::newRow("test1") << QString::fromLatin1(pathConfig) << QStringLiteral("/test1/");
QTest::newRow("mailonlyconfig") << QString::fromLatin1(pathConfig) << QStringLiteral("/mailonlyconfig/");
}
void ImportMailJobInterfaceTest::importMailConfig()
......
[Defaults]
Profile=Default
[PROFILE_Default]
EmailAddress=
FullName=laurent
Organization=
ReplyAddr=
ServerType=
[General]
Default Identity=1578759321
[Identity #0]
Default Domain=linux-zym0
Disable Fcc=false
Identity=laurent
Image Location=
Inline Signature=
Name=laurent
Signature Enabled=false
uoid=1578759321
[Network]
KnownHosts=199.168.1.13
NoteHostDialogSize=596,334
Port=12
SenderID=VV
[SelectNoteFolder]
DefaultFolder=31
[$Version]
update_info=noteglobalsettings.upd:initial-noteagent-migration,noteglobalsettings.upd:selectcollection-noteagent-migration
[AgentTypeDialog]
Size=979,637
[Display]
width=260
[DownloadDialog Settings]
Height 1080=522
Width 1920=700
[Editor]
titlefont=Liberation Sans,12,-1,5,50,0,0,0,0,0,Regular
[KFileDialog Settings]
Height 1080=540
Width 1920=960
[KNoteDeleteSelectedNotesDialog]
Size=300,200
[KNoteFindDialog]
Size=461,270
[KNotePrintSelectedNotesDialog]
Size=960,656
[KNoteSimpleConfigDialog]
Size=600,400
[KNotesKeyDialog]
Size=1120,685
[KPimPrintPreviewDialog]
Size=1054,732
[Migratekde4]
Version=1
[Misc]
SystemTrayShowNotes=true
[SelectedNotefolderDialog]
Size=600,400
[Network]
KnownHosts=199.168.1.13
NoteHostDialogSize=596,334
Port=12
SenderID=VV
[SelectNoteFolder]
DefaultFolder=foo/bla bla/bli31
[$Version]
update_info=noteglobalsettings.upd:initial-noteagent-migration,noteglobalsettings.upd:selectcollection-noteagent-migration
[AgentTypeDialog]
Size=979,637
[Display]
width=260
[DownloadDialog Settings]
Height 1080=522
Width 1920=700
[Editor]
titlefont=Liberation Sans,12,-1,5,50,0,0,0,0,0,Regular
[KFileDialog Settings]
Height 1080=540
Width 1920=960
[KNoteDeleteSelectedNotesDialog]
Size=300,200
[KNoteFindDialog]
Size=461,270
[KNotePrintSelectedNotesDialog]
Size=960,656
[KNoteSimpleConfigDialog]
Size=600,400
[KNotesKeyDialog]
Size=1120,685
[KPimPrintPreviewDialog]
Size=1054,732
[Migratekde4]
Version=1
[Misc]
SystemTrayShowNotes=true
[SelectedNotefolderDialog]
Size=600,400
......@@ -101,8 +101,7 @@ void ExportNotesJobInterfaceTest::exportNoteConfigAndResource_data()
{
QTest::addColumn<QByteArray>("configpath");
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/export/");
//QTest::newRow("test1resource") << pathConfig + QByteArray("test1resource/");
QTest::newRow("fullresource") << pathConfig + QByteArray("fullresource/");
QTest::newRow("noteconfigandresource") << pathConfig + QByteArray("noteconfigandresource/");
}
void ExportNotesJobInterfaceTest::exportNoteConfigAndResource()
......
Markdown is supported
0% or .