Changed include folder name
[mdictionary] / tests / mDictionaryTests / mDictionaryTests.pro
index eaca07e..1287425 100644 (file)
@@ -21,14 +21,26 @@ SOURCES += tst_Backbone.cpp \
 DEFINES += SRCDIR=\\\"$$PWD/\\\"
 HEADERS += CommonDictInterfaceMock.h \
     ../../src/mdictionary/backbone/backbone.h \
-    ../../src/common/translation.h \
-    ../../src/common/settings.h \
-    ../../src/common/CommonDictInterface.h \
-    ../../src/common/History.h \
+    ../../src/include/translation.h \
+    ../../src/include/settings.h \
+    ../../src/include/CommonDictInterface.h \
+    ../../src/include/History.h \
     TranslationMock.h \
     ../../src/mdictionary/backbone/BookmarkTranslations.h \
     ../../src/mdictionary/backbone/Bookmarks.h \
     ../../src/mdictionary/backbone/ConfigGenerator.h
+
+
 target.path = .
 target.commands += ./mDictionaryTests
 INSTALLS += target
+
+
+coverage {
+        LIBS += -lgcov
+        QMAKE_CXXFLAGS += -ftest-coverage -fprofile-arcs -fno-elide-constructors
+}
+
+check.depends = $$TARGET
+check.commands = ./mDictionaryTests
+QMAKE_EXTRA_TARGETS += check