summaryrefslogtreecommitdiff
path: root/test/source/table/xcellcursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/table/xcellcursor.cxx')
-rw-r--r--test/source/table/xcellcursor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/source/table/xcellcursor.cxx b/test/source/table/xcellcursor.cxx
index a8e7b2be5728..f564cb5874bc 100644
--- a/test/source/table/xcellcursor.cxx
+++ b/test/source/table/xcellcursor.cxx
@@ -95,8 +95,8 @@ void XCellCursor::testGoToStart()
const sal_Int32 startCol = aCellRangeAddr.StartColumn;
const sal_Int32 endRow = aCellRangeAddr.EndRow;
const sal_Int32 endCol = aCellRangeAddr.EndColumn;
- CPPUNIT_ASSERT_MESSAGE("Successfully able to got to Start",
- (startCol == endCol) && (endRow == startRow));
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Successfully able to got to Start", startCol, endCol);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Successfully able to got to Start", endRow, startRow);
}
void XCellCursor::testGoToEnd()
@@ -118,8 +118,8 @@ void XCellCursor::testGoToEnd()
const sal_Int32 startCol = aCellRangeAddr.StartColumn;
const sal_Int32 endRow = aCellRangeAddr.EndRow;
const sal_Int32 endCol = aCellRangeAddr.EndColumn;
- CPPUNIT_ASSERT_MESSAGE("Successfully able to go to End",
- (startCol == endCol) && (endRow == startRow));
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Successfully able to go to End", startCol, endCol);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Successfully able to go to End", endRow, startRow);
}
}