Skip to content
Snippets Groups Projects
Commit 3a231e73 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Cleanup testcase.


Change-Id: I3db86fa5df4a2747f4c24e0414279dab59098c54
Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
parent 3a6aad85
No related branches found
No related tags found
No related merge requests found
...@@ -125,14 +125,17 @@ void tst_Preprocessor::tstst() ...@@ -125,14 +125,17 @@ void tst_Preprocessor::tstst()
"namespace std _GLIBCXX_VISIBILITY(default) {\n" "namespace std _GLIBCXX_VISIBILITY(default) {\n"
"}\n" "}\n"
)); ));
const QByteArray result =
qDebug() << preprocessed; "namespace std \n"
"#gen true\n"
/* "# 3 \"<stdin>\"\n"
# define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V))) " __attribute__ ((__visibility__ (\"default\")))\n"
namespace std _GLIBCXX_VISIBILITY(default) "#gen false\n"
"# 3 \"<stdin>\"\n"
*/ " {\n"
"}";
QVERIFY(preprocessed.contains(result));
} }
QTEST_APPLESS_MAIN(tst_Preprocessor) QTEST_APPLESS_MAIN(tst_Preprocessor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment