diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-30 16:26:07 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-30 16:26:07 -0400 |
commit | 5c03dca7a983b40e2870f9b72850a80e8766b157 (patch) | |
tree | 7c776a05a9df8919a819aa6bc834ad789f031f67 /test | |
parent | 8ac758d5490c53df5e8ec539c37af062bedc72fa (diff) |
More descriptive method name.
Change-Id: I7f0d68ee59e7a36254267d652de398cc371c7f8c
Diffstat (limited to 'test')
-rw-r--r-- | test/inc/test/beans/xpropertyset.hxx | 2 | ||||
-rw-r--r-- | test/source/beans/xpropertyset.cxx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/inc/test/beans/xpropertyset.hxx b/test/inc/test/beans/xpropertyset.hxx index 747954193a9d..c69024cf1152 100644 --- a/test/inc/test/beans/xpropertyset.hxx +++ b/test/inc/test/beans/xpropertyset.hxx @@ -57,7 +57,7 @@ public: void testRemoveVetoableChangeListener(); protected: - virtual bool isChangeable(const rtl::OUString& rName); + virtual bool isPropertyValueChangeable(const rtl::OUString& rName); private: void fillPropsToTest(const uno::Reference<beans::XPropertySetInfo>& xPropInfo); diff --git a/test/source/beans/xpropertyset.cxx b/test/source/beans/xpropertyset.cxx index 1c833907b895..ffa1a01cefff 100644 --- a/test/source/beans/xpropertyset.cxx +++ b/test/source/beans/xpropertyset.cxx @@ -69,6 +69,7 @@ void XPropertySet::testAddVetoableChangeListener() void XPropertySet::testSetPropertyValue() { testGetPropertySetInfo(); + uno::Reference<beans::XPropertySet> xPropSet(init(), UNO_QUERY_THROW); // TODO: implement this. } @@ -103,7 +104,7 @@ void XPropertySet::testRemoveVetoableChangeListener() // TODO: implement this. } -bool XPropertySet::isChangeable(const rtl::OUString& rName) +bool XPropertySet::isPropertyValueChangeable(const rtl::OUString& rName) { uno::Reference<beans::XPropertySet> xPropSet(init(), UNO_QUERY_THROW); try @@ -177,7 +178,7 @@ void XPropertySet::fillPropsToTest(const uno::Reference<beans::XPropertySetInfo> bool bBound = (aProp.Attributes & beans::PropertyAttribute::BOUND) != 0; bool bConstrained = (aProp.Attributes & beans::PropertyAttribute::CONSTRAINED) != 0; - bool bCanChange = isChangeable(aProp.Name); + bool bCanChange = isPropertyValueChangeable(aProp.Name); if (bBound && bCanChange) maPropsToTest.bound.push_back(aProp.Name); |