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
dd50f45b
Commit
dd50f45b
authored
May 27, 2020
by
Laurent Montel
Browse files
Fix delete temporary repo
parent
d13bcc81
Pipeline
#21391
passed with stage
in 12 minutes and 8 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/autotests/alarm/importalarmjobinterfacetest.cpp
View file @
dd50f45b
...
...
@@ -52,6 +52,7 @@ void ImportAlarmJobInterfaceTest::importAlarmConfig()
file
->
setExcludePath
(
Utils
::
alarmPath
());
ImportAlarmJobInterfaceTestImpl
*
impl
=
new
ImportAlarmJobInterfaceTestImpl
(
this
,
options
,
file
->
archiveStorage
(),
1
);
impl
->
setPathConfig
(
file
->
pathConfig
());
impl
->
setExtractPath
(
file
->
extractPath
());
file
->
setAbstractImportExportJob
(
impl
);
file
->
setLoggingFilePath
(
impl
->
loggingFilePath
());
file
->
start
();
...
...
core/autotests/alarm/importalarmjobinterfacetestimpl.cpp
View file @
dd50f45b
...
...
@@ -32,7 +32,7 @@ ImportAlarmJobInterfaceTestImpl::ImportAlarmJobInterfaceTestImpl(QObject *parent
ImportAlarmJobInterfaceTestImpl
::~
ImportAlarmJobInterfaceTestImpl
()
{
//Clean up temp repo
QVERIFY
(
QDir
(
QDir
::
tempPath
()
+
QLatin1Char
(
'/'
)
+
Utils
::
storeAlarm
()).
removeRecursively
());
QVERIFY
(
QDir
(
extractPath
()).
removeRecursively
());
}
Akonadi
::
Collection
::
Id
ImportAlarmJobInterfaceTestImpl
::
convertFolderPathToCollectionId
(
const
QString
&
path
)
...
...
core/autotests/calendar/importcalendarjobinterfacetest.cpp
View file @
dd50f45b
...
...
@@ -53,6 +53,7 @@ void ImportCalendarJobInterfaceTest::importCalendar()
file
->
setExcludePath
(
Utils
::
calendarPath
());
ImportCalendarJobInterfaceTestImpl
*
impl
=
new
ImportCalendarJobInterfaceTestImpl
(
this
,
options
,
file
->
archiveStorage
(),
1
);
impl
->
setPathConfig
(
file
->
pathConfig
());
impl
->
setExtractPath
(
file
->
extractPath
());
file
->
setAbstractImportExportJob
(
impl
);
file
->
setLoggingFilePath
(
impl
->
loggingFilePath
());
file
->
start
();
...
...
core/autotests/calendar/importcalendarjobinterfacetestimpl.cpp
View file @
dd50f45b
...
...
@@ -30,7 +30,7 @@ ImportCalendarJobInterfaceTestImpl::ImportCalendarJobInterfaceTestImpl(QObject *
ImportCalendarJobInterfaceTestImpl
::~
ImportCalendarJobInterfaceTestImpl
()
{
//Clean up temp repo
QVERIFY
(
QDir
(
QDir
::
tempPath
()
+
QLatin1Char
(
'/'
)
+
Utils
::
storeCalendar
()).
removeRecursively
());
QVERIFY
(
QDir
(
extractPath
()).
removeRecursively
());
}
Akonadi
::
Collection
::
Id
ImportCalendarJobInterfaceTestImpl
::
convertFolderPathToCollectionId
(
const
QString
&
path
)
...
...
core/autotests/mail/importmailjobinterfacetestimpl.cpp
View file @
dd50f45b
...
...
@@ -34,7 +34,6 @@ ImportMailJobInterfaceTestImpl::ImportMailJobInterfaceTestImpl(QObject *parent,
ImportMailJobInterfaceTestImpl
::~
ImportMailJobInterfaceTestImpl
()
{
//Clean up temp repo. FIXME !
QVERIFY
(
QDir
(
extractPath
()).
removeRecursively
());
}
...
...
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