Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
deaa0cc1
Commit
deaa0cc1
authored
Mar 29, 2010
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only build outputparser tester when compileing with tests
parent
e9e84fc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/plugins/projectexplorer/outputparser_test.cpp
src/plugins/projectexplorer/outputparser_test.cpp
+4
-0
src/plugins/projectexplorer/outputparser_test.h
src/plugins/projectexplorer/outputparser_test.h
+4
-0
No files found.
src/plugins/projectexplorer/outputparser_test.cpp
View file @
deaa0cc1
...
@@ -29,6 +29,8 @@
...
@@ -29,6 +29,8 @@
#include "outputparser_test.h"
#include "outputparser_test.h"
#if defined(WITH_TESTS)
#include <QtTest>
#include <QtTest>
using
namespace
ProjectExplorer
;
using
namespace
ProjectExplorer
;
...
@@ -157,3 +159,5 @@ void OutputParserTester::reset()
...
@@ -157,3 +159,5 @@ void OutputParserTester::reset()
m_receivedTasks
.
clear
();
m_receivedTasks
.
clear
();
m_receivedOutput
=
QString
();
m_receivedOutput
=
QString
();
}
}
#endif
src/plugins/projectexplorer/outputparser_test.h
View file @
deaa0cc1
...
@@ -30,6 +30,8 @@
...
@@ -30,6 +30,8 @@
#ifndef OUTPUTPARSER_TESTER_H
#ifndef OUTPUTPARSER_TESTER_H
#define OUTPUTPARSER_TESTER_H
#define OUTPUTPARSER_TESTER_H
#if defined(WITH_TESTS)
#include "projectexplorer_export.h"
#include "projectexplorer_export.h"
#include "ioutputparser.h"
#include "ioutputparser.h"
...
@@ -86,4 +88,6 @@ private:
...
@@ -86,4 +88,6 @@ private:
Q_DECLARE_METATYPE
(
ProjectExplorer
::
OutputParserTester
::
Channel
)
Q_DECLARE_METATYPE
(
ProjectExplorer
::
OutputParserTester
::
Channel
)
#endif
#endif // OUTPUTPARSER_TESTER_H
#endif // OUTPUTPARSER_TESTER_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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