#include <gtest/gtest.h>
-#include "gui/qt.hxx"
+#include "qt.hxx"
#include "core/InformationManager.hxx"
#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("%1/%2").arg(TEST_DATA_DIRECTORY, "/core/Function/valid.xml"));
InformationManager manager;
file.open(QFile::ReadOnly | QFile::Text);
QXmlStreamReader reader(&file);