]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Load the correct parameter file in some tests. 2974/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 16 Aug 2016 18:27:35 +0000 (14:27 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 16 Aug 2016 18:27:35 +0000 (14:27 -0400)
Commit bd1b0e5606a performed a mass rename where some of the test files
lost track of their input files.

tests/parameter_handler/parameter_handler_6_bool.cc
tests/parameter_handler/parameter_handler_read_xml_error_01.cc
tests/parameter_handler/parameter_handler_read_xml_error_02.cc
tests/parameter_handler/parameter_handler_read_xml_error_03.cc
tests/parameter_handler/parameter_handler_read_xml_error_04.cc

index 317c4d82115d2a550ae92c04e3f4b30eeb657099..3684e6b998463fd8b7d985fba0e8ae961babf9a3 100644 (file)
@@ -41,7 +41,7 @@ int main ()
                          "docs 1");
       prm.leave_subsection ();
 
-      prm.read_input("prm");
+      prm.read_input(SOURCE_DIR "/prm/parameter_handler_6_bool.prm");
 
       // now set the parameter to a different
       // value
index 999241cffee7ff4703f93f511a14cc1359b811a7..db4199be774e031aea050ae0c948cdc81bba9e30 100644 (file)
@@ -75,7 +75,7 @@ int main ()
   prm.leave_subsection ();
 
   // read from XML
-  std::ifstream in ("prm");
+  std::ifstream in (SOURCE_DIR "/prm/parameter_handler_read_xml_error_01.prm");
   bool result = prm.read_input_from_xml (in);
   Assert (result == false, ExcInternalError());
 
index 3b0e74a31938cfb6bf81c2a7b35962518c797c5c..69c3b96844e13be37f3394a3b8baefcd4257d1de 100644 (file)
@@ -75,7 +75,7 @@ int main ()
   prm.leave_subsection ();
 
   // read from XML
-  std::ifstream in ("prm");
+  std::ifstream in (SOURCE_DIR "/prm/parameter_handler_read_xml_error_02.prm");
   bool result = prm.read_input_from_xml (in);
   AssertThrow (result == false, ExcInternalError());
 
index c98540e7bcc48b587c5c0fc99b3ae81a5adb429f..065d372fbcb90207df388141937772f2e865fcae 100644 (file)
@@ -75,7 +75,7 @@ int main ()
   prm.leave_subsection ();
 
   // read from XML
-  std::ifstream in ("prm");
+  std::ifstream in (SOURCE_DIR "/prm/parameter_handler_read_xml_error_03.prm");
   bool result = prm.read_input_from_xml (in);
   AssertThrow (result == false, ExcInternalError());
 
index b2307eea2ef00f134f05e4fef7e5761f6c12e992..013643deec565dfa398d29e4f5f0551e400ad970 100644 (file)
@@ -75,7 +75,7 @@ int main ()
   prm.leave_subsection ();
 
   // read from XML
-  std::ifstream in ("prm");
+  std::ifstream in (SOURCE_DIR "/prm/parameter_handler_read_xml_error_04.prm");
   bool result = prm.read_input_from_xml (in);
   AssertThrow (result == false, ExcInternalError());
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.