aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-18 15:04:42 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-18 15:04:42 -0300
commitaaf120dfbbcce364f694f985fb2348a9429b2bee (patch)
tree65f82b2e241d7b5330185f9ec484c71f05a09a3b /tests
parent38283f8ae3a479dbc213ff16c8b727094028bb9a (diff)
Reset the type database before runing each test.
Diffstat (limited to 'tests')
-rw-r--r--tests/testutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutil.h b/tests/testutil.h
index 4ccf9a80c..6c51e99b6 100644
--- a/tests/testutil.h
+++ b/tests/testutil.h
@@ -37,7 +37,7 @@ public:
QBuffer buffer;
// parse typesystem
buffer.setData(xmlCode);
- TypeDatabase::instance()->parseFile(&buffer);
+ TypeDatabase::instance(true)->parseFile(&buffer);
buffer.close();
// parse C++ code
buffer.setData(cppCode);