summaryrefslogtreecommitdiff
path: root/dbaccess/qa/unit
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-04-14 16:13:02 +0200
committerTamás Bunth <btomi96@gmail.com>2018-04-14 17:44:48 +0200
commit3bb1f0b3a8f71807c221fda22433571f9a0497d2 (patch)
treeba115dd93458981785c308b752c794cf12547492 /dbaccess/qa/unit
parentc760ebc55f0d0a9838256e9dc6374d85d12ee93e (diff)
Revert HSQLDB related unit tests
Revert changes making HSQLDB related unit tests test Firebird migration. They should still test the HSQLDB driver. It reverts part of 159dd28651788a19848eae56693ad06ed947414d Change-Id: If2b9207e95055418bd1dc1dc6e472335de311d1e Reviewed-on: https://gerrit.libreoffice.org/52873 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess/qa/unit')
-rw-r--r--dbaccess/qa/unit/data/hsqldb_migration_test.odbbin4019 -> 3949 bytes
-rw-r--r--dbaccess/qa/unit/hsql_binary_import.cxx9
2 files changed, 9 insertions, 0 deletions
diff --git a/dbaccess/qa/unit/data/hsqldb_migration_test.odb b/dbaccess/qa/unit/data/hsqldb_migration_test.odb
index b20adbfbcc92..99b6b5d9a69d 100644
--- a/dbaccess/qa/unit/data/hsqldb_migration_test.odb
+++ b/dbaccess/qa/unit/data/hsqldb_migration_test.odb
Binary files differ
diff --git a/dbaccess/qa/unit/hsql_binary_import.cxx b/dbaccess/qa/unit/hsql_binary_import.cxx
index 33f63db60e10..8bc81c0587b1 100644
--- a/dbaccess/qa/unit/hsql_binary_import.cxx
+++ b/dbaccess/qa/unit/hsql_binary_import.cxx
@@ -27,6 +27,8 @@ class HsqlBinaryImportTest : public DBTestBase
public:
void testBinaryImport();
+ virtual void setUp() override;
+
CPPUNIT_TEST_SUITE(HsqlBinaryImportTest);
CPPUNIT_TEST(testBinaryImport);
@@ -34,6 +36,13 @@ public:
CPPUNIT_TEST_SUITE_END();
};
+void HsqlBinaryImportTest::setUp()
+{
+ DBTestBase::setUp();
+ SvtMiscOptions aMiscOptions;
+ osl_setEnvironment(OUString{ "DBACCESS_HSQL_MIGRATION" }.pData, OUString{ "1" }.pData);
+}
+
void HsqlBinaryImportTest::testBinaryImport()
{
uno::Reference<XOfficeDatabaseDocument> xDocument