• Stephan Bergmann's avatar
    Make temp copy of dbaccess/qa/unit/data/firebird_empty.odb for testing · 15d134b4
    Stephan Bergmann yazdı
    ...in CppunitTest_dbaccess_firebird_test.  Otherwise, the test would fail with
    > Test name: FirebirdTest::testEmptyDBConnection
    > An uncaught exception of type com.sun.star.sdbc.SQLException
    > - The connection can not be established. No storage or URL was given.
    if dbaccess/qa/unit/data/firebird_empty.odb is read-only, as
    (dbaccess/source/core/dataaccess/ModelImpl.cxx) takes
    m_pModelImplementation->m_bDocumentReadOnly into account and returns a null
    Adds a move ctor to utl::TempFile (thus causing copy ctor and copy assignment op
    to be implicitly deleted), but leaves any move assignment op undeclared for now,
    as none happens to be needed (yet).
    Change-Id: I6f9eff07eb54f1364a0560ffa4cf1f676a319d16
    Reviewed-on: https://gerrit.libreoffice.org/46561Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
CppunitTest_dbaccess_firebird_test.mk 1.88 KB