X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fcore%2Ftests%2FFunctionTest.cxx;h=0d3e56d5791c95b12387356f0ac08f098fe053c4;hb=ebe7b20f8756f239fb61b5a3e3faabeebe708ad1;hp=5357bb906aab3f5e6c6ace6b7d770b0f683cb1d8;hpb=9f53c415cf1554e2d9cc040d3d646ec22fe281f6;p=frida%2Ffrida.git diff --git a/src/core/tests/FunctionTest.cxx b/src/core/tests/FunctionTest.cxx index 5357bb9..0d3e56d 100644 --- a/src/core/tests/FunctionTest.cxx +++ b/src/core/tests/FunctionTest.cxx @@ -5,8 +5,10 @@ #include "core/BasicBlock.hxx" #include "core/Function.hxx" +extern char * TEST_DATA_DIRECTORY; + TEST(FunctionTest, deserializeValidInstance) { - QFile file("testdata/core/Function/valid.xml"); + QFile file(QString(TEST_DATA_DIRECTORY) + "/testdata/core/Function/valid.xml"); InformationManager manager; file.open(QFile::ReadOnly | QFile::Text); QXmlStreamReader reader(&file);