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
Valentin Platzgummer
qgroundcontrol
Commits
fbf8ebb0
Commit
fbf8ebb0
authored
Dec 08, 2014
by
Don Gagne
Browse files
Delete temp log file before each unit test run
parent
0165ab83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/qgcunittest/UnitTest.cc
View file @
fbf8ebb0
...
...
@@ -28,6 +28,7 @@
#include
"UnitTest.h"
#include
"QGCApplication.h"
#include
"MAVLinkProtocol.h"
bool
UnitTest
::
_messageBoxRespondedTo
=
false
;
bool
UnitTest
::
_badResponseButton
=
false
;
...
...
@@ -115,6 +116,8 @@ void UnitTest::init(void)
// Each test gets a clean global state
qgcApp
()
->
destroySingletonsForUnitTest
();
qgcApp
()
->
createSingletonsForUnitTest
();
MAVLinkProtocol
::
deleteTempLogFiles
();
}
/// @brief Called after each test.
...
...
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