]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed tests output. 9950/head
authorLuca Heltai <luca.heltai@sissa.it>
Wed, 29 Apr 2020 12:01:48 +0000 (14:01 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 29 Apr 2020 12:01:48 +0000 (14:01 +0200)
tests/parameter_handler/parameter_handler_25.output
tests/parameter_handler/parameter_handler_25.output.std [new file with mode: 0644]
tests/parameter_handler/parameter_handler_28.cc
tests/parameter_handler/parameter_handler_28.output

index 773966bd7c609534238334f4fbcd369511f644e5..469de723740891c2ec2de75d30aaebd188339e43 100644 (file)
@@ -4,10 +4,10 @@ DEAL::successful
 DEAL::
 --------------------------------------------------------
 An error occurred in file <parameter_handler.cc> in function
-    void dealii::ParameterHandler::set(const std::string &, const std::string &)
-The violated condition was: 
+    void dealii::ParameterHandler::set(const string&, const string&)
+The violated condition was:
     false
-Additional information: 
+Additional information:
     You can't ask for entry <Precison> you have not yet declared.
 --------------------------------------------------------
 
@@ -15,10 +15,10 @@ DEAL::
 --------------------------------------------------------
 An error occurred in file <parameter_handler.cc> in function
     void dealii::ParameterHandler::assert_that_entries_have_been_set() const
-The violated condition was: 
+The violated condition was:
     entries_wrongly_not_set.size() == 0
-Additional information: 
-    Not all entries of the parameter handler that were declared with `has_to_be_set = true` have been set. The following parameters 
+Additional information:
+    Not all entries of the parameter handler that were declared with `has_to_be_set = true` have been set. The following parameters
 
   General.Precision
   General.dim
diff --git a/tests/parameter_handler/parameter_handler_25.output.std b/tests/parameter_handler/parameter_handler_25.output.std
new file mode 100644 (file)
index 0000000..773966b
--- /dev/null
@@ -0,0 +1,28 @@
+
+DEAL::
+DEAL::successful
+DEAL::
+--------------------------------------------------------
+An error occurred in file <parameter_handler.cc> in function
+    void dealii::ParameterHandler::set(const std::string &, const std::string &)
+The violated condition was: 
+    false
+Additional information: 
+    You can't ask for entry <Precison> you have not yet declared.
+--------------------------------------------------------
+
+DEAL::
+--------------------------------------------------------
+An error occurred in file <parameter_handler.cc> in function
+    void dealii::ParameterHandler::assert_that_entries_have_been_set() const
+The violated condition was: 
+    entries_wrongly_not_set.size() == 0
+Additional information: 
+    Not all entries of the parameter handler that were declared with `has_to_be_set = true` have been set. The following parameters 
+
+  General.Precision
+  General.dim
+
+ have not been set. A possible reason might be that you did not add these parameter to the input file or that their spelling is not correct.
+--------------------------------------------------------
+
index 297240745376f4274b72ae2ceddf795a49bda161..85f06f00bcf2526c09390297c4905ac027353f41 100644 (file)
@@ -25,7 +25,7 @@
 int
 main()
 {
-  initlog(1);
+  initlog();
 
   double a = 1.0;
   double b = 2.0;
index d880f73f25335cce437c245712a37197c09dc85d..95b96fa3934cdc45c60fb70916071ebeec7ff4cc 100644 (file)
@@ -15,7 +15,8 @@ DEAL::ShortJSON format:
 DEAL::========================================
 {
     "A_20double": "1",
-    "Section_20two": {
+    "Section_20two":
+    {
         "Another_20double": "2"
     }
 }

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.