54 "filename", &
filename,
"XML file to parse" );
65 if (
c !=
'\r')
error.push_back(
c);
67 out <<
"Expected error string: \"" <<
error <<
"\"" << std::endl;
73 catch (std::runtime_error &
err) {
74 std::string what =
err.what();
76 out <<
"Caught exception:\n" << what <<
"\n";
#define TEST_INEQUALITY_CONST(v1, v2)
Assert the inequality of v1 and constant v2.
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
A class providing a simple XML parser. Methods can be overloaded to exploit external XML parsing libr...
Concrete serial communicator subclass.
static CommandLineProcessor & getCLP()
Return the CLP to add options to.
XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuilding...
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.