Completed 2.0 assertions schema classes.
[shibboleth/cpp-opensaml.git] / samltest / saml1 / core / impl / ActionTest.h
index 65c5fc1..f2f92bc 100644 (file)
@@ -43,14 +43,14 @@ public:
         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
@@ -60,7 +60,7 @@ public:
     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