summaryrefslogtreecommitdiff
path: root/test/source/container/xnamed.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2015-12-27 00:50:44 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2015-12-26 17:44:27 +0000
commit38e4f627095c81e92b3eab4fa17c4f20fbcadda6 (patch)
treea6216d013916bb8bec77ad5a4d36393f65e2b323 /test/source/container/xnamed.cxx
parent1a263563f5ba84e05f336ac035524f6eb014594e (diff)
test: change maName to more descriptive variable name
Change-Id: I93b553c74bfa6f046092c6a550d229278e413446 Reviewed-on: https://gerrit.libreoffice.org/20956 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
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()