diff options
Diffstat (limited to 'dbaccess/qa/unit/firebird.cxx')
-rw-r--r-- | dbaccess/qa/unit/firebird.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/qa/unit/firebird.cxx b/dbaccess/qa/unit/firebird.cxx index da0bed760d2e..e031e16a3494 100644 --- a/dbaccess/qa/unit/firebird.cxx +++ b/dbaccess/qa/unit/firebird.cxx @@ -88,15 +88,15 @@ void FirebirdTest::testIntegerDatabase() uno::Reference< XColumnLocate > xColumnLocate(xRow, UNO_QUERY); CPPUNIT_ASSERT(xColumnLocate.is()); - CPPUNIT_ASSERT(sal_Int16(-30000) == + CPPUNIT_ASSERT_EQUAL(sal_Int16(-30000), xRow->getShort(xColumnLocate->findColumn("_SMALLINT"))); - CPPUNIT_ASSERT(sal_Int32(-2100000000) == + CPPUNIT_ASSERT_EQUAL(sal_Int32(-2100000000), xRow->getInt(xColumnLocate->findColumn("_INT"))); - CPPUNIT_ASSERT(SAL_CONST_INT64(-9000000000000000000) == + CPPUNIT_ASSERT_EQUAL(SAL_CONST_INT64(-9000000000000000000), xRow->getLong(xColumnLocate->findColumn("_BIGINT"))); - CPPUNIT_ASSERT("5" == + CPPUNIT_ASSERT_EQUAL(OUString("5"), xRow->getString(xColumnLocate->findColumn("_CHAR"))); - CPPUNIT_ASSERT("5" == + CPPUNIT_ASSERT_EQUAL(OUString("5"), xRow->getString(xColumnLocate->findColumn("_VARCHAR"))); CPPUNIT_ASSERT(!xResultSet->next()); // Should only be one row |