diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/source/sheet/xnamedrange.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/source/sheet/xnamedrange.cxx b/test/source/sheet/xnamedrange.cxx index 3647a859b81d..f75174560fdf 100644 --- a/test/source/sheet/xnamedrange.cxx +++ b/test/source/sheet/xnamedrange.cxx @@ -26,7 +26,7 @@ void XNamedRange::testGetContent() uno::Reference< sheet::XNamedRange > xNamedRange = getNamedRange("initial1"); OUString const aExpectedContent("$Sheet1.$B$1"); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 on GetContent", xNamedRange->getContent(), aExpectedContent); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 on GetContent", aExpectedContent, xNamedRange->getContent()); } void XNamedRange::testSetContent() @@ -38,18 +38,18 @@ void XNamedRange::testSetContent() // test a cell aExpectedContent = "D1"; xNamedRange->setContent(aExpectedContent); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a cell", xNamedRange->getContent(), aExpectedContent); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a cell", aExpectedContent, xNamedRange->getContent()); // test a cellrange aExpectedContent = "D1:D10"; xNamedRange->setContent(aExpectedContent); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a cellrange", xNamedRange->getContent(), aExpectedContent); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a cellrange", aExpectedContent, xNamedRange->getContent()); // test a formula aExpectedContent = "=D10"; xNamedRange->setContent(aExpectedContent); aExpectedContent = "D10"; - CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a formula", xNamedRange->getContent(), aExpectedContent); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong expected content for initial1 after SetContent a formula", aExpectedContent, xNamedRange->getContent()); } void XNamedRange::testGetType() |