File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2323
2424void TestProjectFile::loadInexisting ()
2525{
26- const QString filepath (QString (SRCDIR) + " /../projectfiles/foo.cppcheck" );
26+ const QString filepath (QString (SRCDIR) + " /../data/ projectfiles/foo.cppcheck" );
2727 ProjectFile pfile (filepath);
2828 QCOMPARE (pfile.Read (), false );
2929}
3030
3131void TestProjectFile::loadSimple ()
3232{
33- const QString filepath (QString (SRCDIR) + " /../projectfiles/simple.cppcheck" );
33+ const QString filepath (QString (SRCDIR) + " /../data/ projectfiles/simple.cppcheck" );
3434 ProjectFile pfile (filepath);
3535 QVERIFY (pfile.Read ());
3636 QCOMPARE (pfile.GetRootPath (), QString (" ../.." ));
@@ -52,7 +52,7 @@ void TestProjectFile::loadSimple()
5252
5353void TestProjectFile::loadSimpleNoroot ()
5454{
55- const QString filepath (QString (SRCDIR) + " /../projectfiles/simple_noroot.cppcheck" );
55+ const QString filepath (QString (SRCDIR) + " /../data/ projectfiles/simple_noroot.cppcheck" );
5656 ProjectFile pfile (filepath);
5757 QVERIFY (pfile.Read ());
5858 QCOMPARE (pfile.GetRootPath (), QString ());
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ void TestXmlReport::testUnquoteMessage()
3737
3838void TestXmlReport::testGetVersion1 ()
3939{
40- const QString filepath (QString (SRCDIR) + " /../xmlfiles/xmlreport_v1.xml" );
40+ const QString filepath (QString (SRCDIR) + " /../data/ xmlfiles/xmlreport_v1.xml" );
4141 QCOMPARE (XmlReport::determineVersion (filepath), 1 );
4242}
4343
4444void TestXmlReport::testGetVersion2 ()
4545{
46- const QString filepath (QString (SRCDIR) + " /../xmlfiles/xmlreport_v2.xml" );
46+ const QString filepath (QString (SRCDIR) + " /../data/ xmlfiles/xmlreport_v2.xml" );
4747 QCOMPARE (XmlReport::determineVersion (filepath), 2 );
4848}
4949
Original file line number Diff line number Diff line change 2525
2626void TestXmlReportV1::readXml ()
2727{
28- const QString filepath (QString (SRCDIR) + " /../xmlfiles/xmlreport_v1.xml" );
28+ const QString filepath (QString (SRCDIR) + " /../data/ xmlfiles/xmlreport_v1.xml" );
2929 XmlReportV1 report (filepath);
3030 QVERIFY (report.Open ());
3131 QList<ErrorItem> errors = report.Read ();
Original file line number Diff line number Diff line change 2525
2626void TestXmlReportV2::readXml ()
2727{
28- const QString filepath (QString (SRCDIR) + " /../xmlfiles/xmlreport_v2.xml" );
28+ const QString filepath (QString (SRCDIR) + " /../data/ xmlfiles/xmlreport_v2.xml" );
2929 XmlReportV2 report (filepath);
3030 QVERIFY (report.Open ());
3131 QList<ErrorItem> errors = report.Read ();
You can’t perform that action at this time.
0 commit comments