Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / dbaccess / qa / extras / macros-test.cxx
blob7545d6168e74477ac5f34fd863ff6d7576ba08e6
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <sal/config.h>
11 #include <test/unoapi_test.hxx>
13 using namespace ::com::sun::star;
14 using namespace ::com::sun::star::uno;
16 #if !defined(MACOSX) && !defined(_WIN32)
18 class DBAccessTest : public UnoApiTest
20 public:
21 DBAccessTest();
23 void test();
25 CPPUNIT_TEST_SUITE(DBAccessTest);
26 CPPUNIT_TEST(test);
27 CPPUNIT_TEST_SUITE_END();
30 DBAccessTest::DBAccessTest()
31 : UnoApiTest("/dbaccess/qa/extras/testdocuments")
35 void DBAccessTest::test() { loadFromURL(u"testdb.odb"); }
37 CPPUNIT_TEST_SUITE_REGISTRATION(DBAccessTest);
39 #endif
41 CPPUNIT_PLUGIN_IMPLEMENT();
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */