From: Luca Heltai Date: Wed, 29 Apr 2020 12:01:48 +0000 (+0200) Subject: Fixed tests output. X-Git-Tag: v9.2.0-rc1~158^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9950%2Fhead;p=dealii.git Fixed tests output. --- diff --git a/tests/parameter_handler/parameter_handler_25.output b/tests/parameter_handler/parameter_handler_25.output index 773966bd7c..469de72374 100644 --- a/tests/parameter_handler/parameter_handler_25.output +++ b/tests/parameter_handler/parameter_handler_25.output @@ -4,10 +4,10 @@ DEAL::successful DEAL:: -------------------------------------------------------- An error occurred in file 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 you have not yet declared. -------------------------------------------------------- @@ -15,10 +15,10 @@ DEAL:: -------------------------------------------------------- An error occurred in file 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 index 0000000000..773966bd7c --- /dev/null +++ b/tests/parameter_handler/parameter_handler_25.output.std @@ -0,0 +1,28 @@ + +DEAL:: +DEAL::successful +DEAL:: +-------------------------------------------------------- +An error occurred in file 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 you have not yet declared. +-------------------------------------------------------- + +DEAL:: +-------------------------------------------------------- +An error occurred in file 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. +-------------------------------------------------------- + diff --git a/tests/parameter_handler/parameter_handler_28.cc b/tests/parameter_handler/parameter_handler_28.cc index 2972407453..85f06f00bc 100644 --- a/tests/parameter_handler/parameter_handler_28.cc +++ b/tests/parameter_handler/parameter_handler_28.cc @@ -25,7 +25,7 @@ int main() { - initlog(1); + initlog(); double a = 1.0; double b = 2.0; diff --git a/tests/parameter_handler/parameter_handler_28.output b/tests/parameter_handler/parameter_handler_28.output index d880f73f25..95b96fa393 100644 --- a/tests/parameter_handler/parameter_handler_28.output +++ b/tests/parameter_handler/parameter_handler_28.output @@ -15,7 +15,8 @@ DEAL::ShortJSON format: DEAL::======================================== { "A_20double": "1", - "Section_20two": { + "Section_20two": + { "Another_20double": "2" } }