26 "<ParameterList name=\"Parent\">\n"
28 " <Parameter name=\"param_a\" type=\"string\" value=\"a\"/>\n"
30 " <Parameter name=\"param_b\" type=\"string\" value=\"b\"/>\n"
33 "</ParameterList>\n");
47 "<ParameterList name=\"Parent\">\n"
49 " <Parameter name=\"param_a\" type=\"string\" value=\"a\"/>\n"
51 " <Parameter type=\"string\" value=\"b\"/>\n"
54 "</ParameterList>\n");
Writes an XML object to a parameter list.
#define TEST_NOTHROW(code)
Asserr that the statement 'code' does not thrown any excpetions.
#define TEST_THROW(code, ExceptType)
Assert that the statement 'code' throws the exception 'ExceptType' (otherwise the test fails)...
XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuilding...
TEUCHOS_UNIT_TEST(ConstNonconstObjectContainer, create)
Thrown when a parameter entry tag is missing it's name attribute.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
Writes a ParameterList to an XML object.
RCP< ParameterList > toParameterList(const XMLObject &xml, RCP< DependencySheet > depSheet) const
A list of parameters of arbitrary type.
A collection of Exceptions that can be potentially thrown when converting a ParameterList to and from...
Writes an XML object to a parameter list.
A class providing a simple XML parser. Methods can be overloaded to exploit external XML parsing libr...