diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/CppunitTest_dbaccess_firebird_test.mk | 1 | ||||
-rw-r--r-- | dbaccess/qa/unit/firebird.cxx | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/dbaccess/CppunitTest_dbaccess_firebird_test.mk b/dbaccess/CppunitTest_dbaccess_firebird_test.mk index 157a01912124..1cb545d955ca 100644 --- a/dbaccess/CppunitTest_dbaccess_firebird_test.mk +++ b/dbaccess/CppunitTest_dbaccess_firebird_test.mk @@ -22,6 +22,7 @@ $(eval $(call gb_CppunitTest_use_libraries,dbaccess_firebird_test, \ firebird_sdbc \ sal \ subsequenttest \ + svt \ test \ unotest \ xo \ diff --git a/dbaccess/qa/unit/firebird.cxx b/dbaccess/qa/unit/firebird.cxx index 78b7e6695893..a5852703dee6 100644 --- a/dbaccess/qa/unit/firebird.cxx +++ b/dbaccess/qa/unit/firebird.cxx @@ -15,6 +15,7 @@ #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XStatement.hpp> +#include <svtools/miscopt.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::sdb; @@ -28,12 +29,21 @@ public: void testEmptyDBConnection(); void testIntegerDatabase(); + virtual void setUp(); + CPPUNIT_TEST_SUITE(FirebirdTest); CPPUNIT_TEST(testEmptyDBConnection); CPPUNIT_TEST(testIntegerDatabase); CPPUNIT_TEST_SUITE_END(); }; +void FirebirdTest::setUp() +{ + DBTestBase::setUp(); + SvtMiscOptions aMiscOptions; + aMiscOptions.SetExperimentalMode(sal_True); +} + /** * Test the loading of an "empty" file, i.e. the embedded database has not yet * been initialised (as occurs when a new .odb is created and opened by base). |