Kaydet (Commit) 5c03dca7 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

More descriptive method name.

Change-Id: I7f0d68ee59e7a36254267d652de398cc371c7f8c
üst 8ac758d5
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment