summaryrefslogtreecommitdiff
path: root/test/source/container/xnamed.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/container/xnamed.cxx')
-rw-r--r--test/source/container/xnamed.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/source/container/xnamed.cxx b/test/source/container/xnamed.cxx
index 6b28bf4d3af6..a3344026bf16 100644
--- a/test/source/container/xnamed.cxx
+++ b/test/source/container/xnamed.cxx
@@ -19,20 +19,20 @@ namespace apitest {
void XNamed::testGetName()
{
uno::Reference< container::XNamed > xNamed(init(), UNO_QUERY_THROW);
- CPPUNIT_ASSERT( maName == xNamed->getName() );
+ CPPUNIT_ASSERT( maTestName == xNamed->getName() );
}
void XNamed::testSetName()
{
uno::Reference< container::XNamed > xNamed(init(), UNO_QUERY_THROW);
- OUString aName("NewName");
+ OUString aTestName("NewName");
- xNamed->setName(aName);
- CPPUNIT_ASSERT( aName == xNamed->getName() );
+ xNamed->setName(aTestName);
+ CPPUNIT_ASSERT( aTestName == xNamed->getName() );
// restore old name
- xNamed->setName(maName);
- CPPUNIT_ASSERT(maName == xNamed->getName());
+ xNamed->setName(maTestName);
+ CPPUNIT_ASSERT(maTestName == xNamed->getName());
}
XNamed::~XNamed()