diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-18 15:04:42 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-18 15:04:42 -0300 |
commit | aaf120dfbbcce364f694f985fb2348a9429b2bee (patch) | |
tree | 65f82b2e241d7b5330185f9ec484c71f05a09a3b /tests | |
parent | 38283f8ae3a479dbc213ff16c8b727094028bb9a (diff) |
Reset the type database before runing each test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testutil.h | 2 |
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); |