64 std::string paramName1 =
"string param";
65 std::string paramName2 =
"string param2";
66 std::string dependent1Name =
"dependent1";
67 std::string dependent2Name =
"dependent2";
68 std::string paramValue =
"cheese";
71 tuple<std::string>(
"steve",
"blah",
"your face");
73 testList.
set(paramName1, paramValue);
74 testList.
set(paramName2, paramValue);
75 testList.
set(dependent1Name, paramValue);
76 testList.
set(dependent2Name, paramValue);
97 writeParameterListToXmlOStream(testList, out, depSheet1);
107 rcp_dynamic_cast<ConditionVisualDependency>(
110 simpleReadInDep->
getCondition()->getTypeAttributeValue(),
113 rcp_dynamic_cast<const StringCondition>(simpleReadInDep->
getCondition(),
true);
118 rcp_dynamic_cast<ConditionVisualDependency>(
121 complexReadInDep->
getCondition()->getTypeAttributeValue(),
124 rcp_dynamic_cast<const StringCondition>(complexReadInDep->
getCondition(),
true);
129 simpleReadInCon->getValueList(), simpleStringCon->
getValueList());
131 complexReadInCon->getValueList(), complexStringCon->
getValueList());
137 std::string paramName1 =
"bool param";
138 std::string dependent1Name =
"dependent1";
139 bool paramValue =
true;
140 std::string dependentValue =
"hi there!";
142 testList.
set(paramName1, paramValue);
143 testList.
set(dependent1Name, dependentValue);
162 rcp_dynamic_cast<ConditionVisualDependency>(
165 simpleReadInDep->
getCondition()->getTypeAttributeValue(),
168 rcp_dynamic_cast<const BoolCondition>(simpleReadInDep->
getCondition(),
true);
175 std::string paramName1 =
"T param";
176 std::string paramName2 =
"T param 2";
177 std::string dependent1Name =
"dependent1";
178 std::string dependent2Name =
"dependent2";
181 std::string dependentValue =
"hi there!";
183 testList.
set(paramName1, paramValue);
184 testList.
set(paramName2, paramValue);
185 testList.
set(dependent1Name, dependentValue);
186 testList.
set(dependent2Name, dependentValue);
222 rcp_dynamic_cast<ConditionVisualDependency>(
225 simpleReadInDep->
getCondition()->getTypeAttributeValue(),
233 rcp_dynamic_cast<ConditionVisualDependency>(
244 funcReadInCon->getFunctionObject());
247 funcReadInFunc->getModifiyingOperand(),
248 funcTester->getModifiyingOperand());
253 #define NUMBER_PARAM_TYPE_TEST( T ) \
254 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(Teuchos_Conditions, NumberConditionSerialization, T )
275 std::string paramName1 =
"bool param1";
276 std::string paramName2 =
"bool param2";
277 std::string dependent1Name =
"dependent1";
278 bool paramValue1 =
true;
279 bool paramValue2 =
false;
280 std::string dependentValue =
"hi there!";
282 testList.
set(paramName1, paramValue1);
283 testList.
set(paramName2, paramValue2);
284 testList.
set(dependent1Name, dependentValue);
291 tuple<RCP<const Condition> >(boolCon1, boolCon2);
311 rcp_dynamic_cast<ConditionVisualDependency>(
314 rcp_dynamic_cast<ConditionVisualDependency>(
321 rcp_dynamic_cast<const BinCondition >(readInDep1->
getCondition(),
true);
329 #define BIN_CON_TEST( BinCondition ) \
330 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(Teuchos_Conditions, BoolLogicConditionSerialization, BinCondition)
338 std::string paramName1 =
"bool param1";
339 std::string dependent1Name =
"dependent1";
340 bool paramValue1 =
true;
341 std::string dependentValue =
"hi there!";
343 testList.
set(paramName1, paramValue1);
344 testList.
set(dependent1Name, dependentValue);
366 rcp_dynamic_cast<ConditionVisualDependency>(
372 rcp_dynamic_cast<const NotCondition>(readInDep1->
getCondition(),
true);
382 getParametersFromXmlFile(
383 "MissingParameterEntryDefinition.xml", depSheet),
397 getParametersFromXmlFile(
398 "MissingValuesTag.xml", depSheet),