X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fcore%2Ftests%2FFunctionTest.cxx;h=17d3b72ad2fcaf3e45d75d15e6affd34c73a3de0;hb=1975fc2d8d5f1a2a7bf71717c0ca7cef6dd57566;hp=0d3e56d5791c95b12387356f0ac08f098fe053c4;hpb=48970b341025a501ca17b991e9a5d0ee7995ec30;p=frida%2Ffrida.git diff --git a/src/core/tests/FunctionTest.cxx b/src/core/tests/FunctionTest.cxx index 0d3e56d..17d3b72 100644 --- a/src/core/tests/FunctionTest.cxx +++ b/src/core/tests/FunctionTest.cxx @@ -1,6 +1,6 @@ #include -#include "gui/qt.hxx" +#include "qt.hxx" #include "core/InformationManager.hxx" #include "core/BasicBlock.hxx" #include "core/Function.hxx" @@ -8,7 +8,7 @@ extern char * TEST_DATA_DIRECTORY; TEST(FunctionTest, deserializeValidInstance) { - QFile file(QString(TEST_DATA_DIRECTORY) + "/testdata/core/Function/valid.xml"); + QFile file(QString("%1/%2").arg(TEST_DATA_DIRECTORY, "/core/Function/valid.xml")); InformationManager manager; file.open(QFile::ReadOnly | QFile::Text); QXmlStreamReader reader(&file);