summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-11-09 18:39:18 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-11-09 18:39:18 +0100
commit7b9a9a49862e4ec42ab9ffd85f94713960a94c3a (patch)
tree49651bf8de82b3be196fe62529cf727d49cfb1dd /dbaccess
parented8c4decb3dbcd406f7deb59d9ae917337b46ebe (diff)
make firebird-sdbc an experimental feature
Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/CppunitTest_dbaccess_firebird_test.mk1
-rw-r--r--dbaccess/qa/unit/firebird.cxx10
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).