diff options
Diffstat (limited to 'test/source/sheet/xdatapilotdescriptor.cxx')
-rw-r--r-- | test/source/sheet/xdatapilotdescriptor.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx index ba5b89f60247..4def745151cf 100644 --- a/test/source/sheet/xdatapilotdescriptor.cxx +++ b/test/source/sheet/xdatapilotdescriptor.cxx @@ -194,8 +194,7 @@ void XDataPilotDescriptor::checkName( uno::Reference< container::XIndexAccess > for (sal_Int32 i = 0; i < xIndex->getCount(); ++i) { uno::Reference< container::XNamed > xNamed( xIndex->getByIndex(i), UNO_QUERY_THROW); - std::cout << "Expected: " << maFieldNames[nIndex] << " Got: " << xNamed->getName() << std::endl; - CPPUNIT_ASSERT( xNamed->getName() == maFieldNames[nIndex] ); + CPPUNIT_ASSERT_EQUAL(maFieldNames[nIndex], xNamed->getName()); } } |