Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Data Exporter
Commits
04a850ea
Commit
04a850ea
authored
May 02, 2020
by
Laurent Montel
Browse files
Add more autotest
parent
d7d7b2cd
Changes
14
Hide whitespace changes
Inline
Side-by-side
core/autotests/addressbook/exportaddressbookjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -66,8 +66,8 @@ ExportAddressbookJobInterfaceTest::ExportAddressbookJobInterfaceTest(QObject *pa
void
ExportAddressbookJobInterfaceTest
::
exportAddressBookConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/
test1/
"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
)
;
}
void
ExportAddressbookJobInterfaceTest
::
exportAddressBookConfig
()
...
...
core/autotests/akregator/exportakregatorjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -45,8 +45,8 @@ ExportAkregatorJobInterfaceTest::ExportAkregatorJobInterfaceTest(QObject *parent
void
ExportAkregatorJobInterfaceTest
::
exportAkregatorConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/
test1/
"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
)
;
}
void
ExportAkregatorJobInterfaceTest
::
exportAkregatorConfig
()
...
...
core/autotests/alarm/exportalarmjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -55,8 +55,8 @@ ExportAlarmJobInterfaceTest::ExportAlarmJobInterfaceTest(QObject *parent)
void
ExportAlarmJobInterfaceTest
::
exportAlarmConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/
test1/
"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
)
;
}
void
ExportAlarmJobInterfaceTest
::
exportAlarmConfig
()
...
...
core/autotests/calendar/exportcalendarsjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -54,8 +54,8 @@ ExportCalendarsJobInterfaceTest::ExportCalendarsJobInterfaceTest(QObject *parent
void
ExportCalendarsJobInterfaceTest
::
exportCalendarConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/
test1/
"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
)
;
}
void
ExportCalendarsJobInterfaceTest
::
exportCalendarConfig
()
...
...
core/autotests/mail/exportmailjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -77,8 +77,8 @@ ExportMailJobInterfaceTest::ExportMailJobInterfaceTest(QObject *parent)
void
ExportMailJobInterfaceTest
::
exportMailConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/
test1/
"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
)
;
}
void
ExportMailJobInterfaceTest
::
exportMailConfig
()
...
...
core/autotests/notes/data/export/full/config/drkonqirc
0 → 100644
View file @
04a850ea
[SystemInformation]
CompiledSources=false
core/autotests/notes/data/export/full/config/emaildefaults
0 → 100644
View file @
04a850ea
[Defaults]
Profile=Default
[PROFILE_Default]
EmailAddress=
FullName=laurent
Organization=
ReplyAddr=
ServerType=
core/autotests/notes/data/export/full/config/emailidentities
0 → 100644
View file @
04a850ea
[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
core/autotests/notes/data/export/full/config/globalnotesettings
0 → 100644
View file @
04a850ea
[Network]
KnownHosts=199.168.1.13
NoteHostDialogSize=596,334
Port=12
SenderID=VV
[SelectNoteFolder]
DefaultFolder=31
core/autotests/notes/data/export/full/config/knotesrc
0 → 100644
View file @
04a850ea
[$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
core/autotests/notes/data/export/full/list.txt
0 → 100644
View file @
04a850ea
configs/globalnotesettings
configs/knotesrc
information/VERSION_2
information/exportdatatype.xml
configs/akonadi_notes_agent.notifyrc
core/autotests/notes/data/export/full/references/config/globalnotesettings
0 → 100644
View file @
04a850ea
[Network]
KnownHosts=199.168.1.13
NoteHostDialogSize=596,334
Port=12
SenderID=VV
[SelectNoteFolder]
DefaultFolder=foo/bla bla/bli31
core/autotests/notes/data/export/full/references/config/knotesrc
0 → 100644
View file @
04a850ea
[$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
core/autotests/notes/exportnotesjobinterfacetest.cpp
View file @
04a850ea
...
...
@@ -61,8 +61,9 @@ ExportNotesJobInterfaceTest::ExportNotesJobInterfaceTest(QObject *parent)
void
ExportNotesJobInterfaceTest
::
exportNoteConfig_data
()
{
QTest
::
addColumn
<
QByteArray
>
(
"configpath"
);
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/test1/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
;
const
QByteArray
pathConfig
(
QByteArray
(
PIMDATAEXPORTER_DIR
)
+
"/export/"
);
QTest
::
newRow
(
"test1"
)
<<
pathConfig
+
QByteArray
(
"test1/"
);
QTest
::
newRow
(
"full"
)
<<
pathConfig
+
QByteArray
(
"full/"
);
}
void
ExportNotesJobInterfaceTest
::
exportNoteConfig
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment