diff options
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r-- | tests/testparse.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 8d4cedb43..e9d313e5d 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -4,6 +4,12 @@ #include "core/divelist.h" #include <QTextStream> +void TestParse::initTestCase() +{ + /* we need to manually tell that the resource exists, because we are using it as library. */ + Q_INIT_RESOURCE(subsurface); +} + char *intdup(int index) { char tmpbuf[21]; |