57 std::string inputFile=
"input.xml";
60 updateParametersFromXmlFile(inputFile, outArg(A));
61 updateParametersFromXmlFileAndBroadcast(inputFile, outArg(B), *comm);
66 const int local_failed = !(A == B);
67 int global_failed = -1;
77 std::string inputFile=
"input.xml";
79 A.
set(
"Transient",
true);
80 A.
set(
"Phalanx Graph Visualization Detail",2);
83 B.
set(
"Transient",
true);
84 B.
set(
"Phalanx Graph Visualization Detail",2);
87 updateParametersFromXmlFile(inputFile, outArg(A));
88 updateParametersFromXmlFileAndBroadcast(inputFile, outArg(B), *comm);
93 const int local_failed = !(A == B);
94 int global_failed = -1;
107 std::string inputFile=
"input.xml";
113 if(comm->getSize() > 1) root = 1;
115 updateParametersFromXmlFile(inputFile, outArg(A));
116 updateParametersAndBroadcast(outArg(A),outArg(B),*comm,root);
121 const int local_failed = !(A == B);
122 int global_failed = -1;
131 std::string inputFile=
"input.xml";
133 A.
set(
"Transient",
true);
134 A.
set(
"Phalanx Graph Visualization Detail",2);
137 B.
set(
"Transient",
true);
138 B.
set(
"Phalanx Graph Visualization Detail",2);
142 if(comm->getSize() > 1) root = 1;
144 updateParametersFromXmlFile(inputFile, outArg(A));
145 updateParametersAndBroadcast(outArg(A),outArg(B),*comm,root);
150 const int local_failed = !(A == B);
151 int global_failed = -1;
#define TEST_ASSERT(v1)
Assert the given statement is true.
ParameterList & set(std::string const &name, T const &value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
Set a parameter whose value has type T.
#define TEST_EQUALITY(v1, v2)
Assert the equality of v1 and v2.
static Teuchos::RCP< const Comm< OrdinalType > > getComm()
Return the default global communicator.
TEUCHOS_UNIT_TEST(ConstNonconstObjectContainer, create)
Templated Parameter List class.
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
Additional ParameterList XML helper functions including parallel support.
A list of parameters of arbitrary type.
Smart reference counting pointer class for automatic garbage collection.