Action* action = dynamic_cast<Action*>(xo.get());\r
TS_ASSERT(action!=NULL);\r
TSM_ASSERT("namespace attribute present", action->getNamespace()==NULL);\r
- TSM_ASSERT("Contents present", action->getValue()==NULL);\r
+ TSM_ASSERT("Contents present", action->getAction()==NULL);\r
}\r
\r
void testSingleElementOptionalAttributesUnmarshall() {\r
auto_ptr<XMLObject> xo(unmarshallElement(singleElementOptionalAttributesFile));\r
Action* action = dynamic_cast<Action*>(xo.get());\r
TSM_ASSERT_SAME_DATA("namespace attribute ", expectedNamespace, action->getNamespace(), XMLString::stringLen(expectedNamespace));\r
- TSM_ASSERT_SAME_DATA("Contents ", expectedContents, action->getValue(), XMLString::stringLen(expectedContents));\r
+ TSM_ASSERT_SAME_DATA("Contents ", expectedContents, action->getAction(), XMLString::stringLen(expectedContents));\r
}\r
\r
void testSingleElementMarshall() {\r
void testSingleElementOptionalAttributesMarshall() {\r
Action* action=ActionBuilder::buildAction();\r
action->setNamespace(expectedNamespace);\r
- action->setValue(expectedContents);\r
+ action->setAction(expectedContents);\r
assertEquals(expectedOptionalAttributesDOM, action);\r
}\r
\r