65 c1.set(
"cp1",
"first1");
66 c1.set(
"cp2",
"second1");
67 c2.set(
"cp3",
"first2");
68 c2.set(
"cp4",
"second2");
74 std::ostringstream
ss;
77 out <<
"*** String 1" << endl;
87 c1.set(
"cp2",
"second1");
88 c1.set(
"cp1",
"first1");
89 c2.set(
"cp4",
"second2");
90 c2.set(
"cp3",
"first2");
96 std::ostringstream
ss;
99 out <<
"*** String 2" << endl;
139 c1.set(
"A",
"first1");
140 c1.set(
"Z",
"second1");
141 c2.set(
"Z",
"first2");
142 c2.set(
"A",
"second2");
148 "<ParameterList name=\"ParentList\">\n"
149 " <ParameterList name=\"9FirstSublist\">\n"
150 " <Parameter name=\"A\" type=\"string\" value=\"first1\"/>\n"
151 " <Parameter name=\"Z\" type=\"string\" value=\"second1\"/>\n"
152 " </ParameterList>\n"
153 " <ParameterList name=\"1SecondSublist\">\n"
154 " <Parameter name=\"Z\" type=\"string\" value=\"first2\"/>\n"
155 " <Parameter name=\"A\" type=\"string\" value=\"second2\"/>\n"
156 " </ParameterList>\n"
157 "</ParameterList>\n");
#define TEST_EQUALITY(v1, v2)
Assert the equality of v1 and v2.
#define TEST_INEQUALITY(v1, v2)
Assert the inequality of v1 and v2.
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
Writes an XML object to a parameter list.
Writes a ParameterList to an XML object.
A class providing a simple XML parser. Methods can be overloaded to exploit external XML parsing libr...
A list of parameters of arbitrary type.
Concrete serial communicator subclass.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
Writes an XML object to a parameter list.
Writes a ParameterList to an XML object.
XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuilding...