File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11CONFIG += ordered
22TEMPLATE = subdirs
33
4- SUBDIRS = translationhandler
4+ SUBDIRS = translationhandler \
5+ xmlreport
Original file line number Diff line number Diff line change 11/*
22 * Cppcheck - A tool for static C/C++ code analysis
3- * Copyright (C) 2007-2011 Daniel Marjamäki and Cppcheck team.
3+ * Copyright (C) 2007-2011 Daniel Marjamäki and Cppcheck team.
44 *
55 * This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -46,3 +46,5 @@ void TestXmlReport::testGetVersion2()
4646 const QString filepath (" xmlfiles/xmlreport_v2.xml" );
4747 QCOMPARE (XmlReport::determineVersion (filepath), 2 );
4848}
49+
50+ QTEST_MAIN (TestXmlReport)
Original file line number Diff line number Diff line change 11/*
22 * Cppcheck - A tool for static C/C++ code analysis
3- * Copyright (C) 2007-2011 Daniel Marjamäki and Cppcheck team.
3+ * Copyright (C) 2007-2011 Daniel Marjamäki and Cppcheck team.
44 *
55 * This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
Original file line number Diff line number Diff line change 1+ TEMPLATE = app
2+ TARGET = test-xmlreport
3+ DEPENDPATH += .
4+ INCLUDEPATH += .
5+ OBJECTS_DIR = build
6+ MOC_DIR = build
7+
8+ include (../common.pri )
9+
10+ # tests
11+ SOURCES += testxmlreport.cpp
12+
13+ HEADERS += testxmlreport.h
You can’t perform that action at this time.
0 commit comments