From 7b9a9a49862e4ec42ab9ffd85f94713960a94c3a Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sat, 9 Nov 2013 18:39:18 +0100 Subject: make firebird-sdbc an experimental feature Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d --- dbaccess/CppunitTest_dbaccess_firebird_test.mk | 1 + dbaccess/qa/unit/firebird.cxx | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'dbaccess') 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 #include #include +#include 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). -- cgit