From 7d0304d31742b0097cad3baf1465207e1b532906 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 28 Jan 2021 13:57:54 -0700 Subject: [PATCH] Adjust test output. --- tests/base/exception_nothrow.debug.output | 18 +++++++++++---- .../base/unsubscribe_subscriptor.debug.output | 6 +++-- .../parameter_handler_19.debug.output | 6 +++-- .../parameter_handler_25.output | 23 +++++++++++-------- .../parameter_handler_26.output | 19 ++++++++------- 5 files changed, 46 insertions(+), 26 deletions(-) diff --git a/tests/base/exception_nothrow.debug.output b/tests/base/exception_nothrow.debug.output index 9b745290f7..6dc945f10e 100644 --- a/tests/base/exception_nothrow.debug.output +++ b/tests/base/exception_nothrow.debug.output @@ -5,10 +5,20 @@ DEAL:: An error occurred in file in function int main() The violated condition was: - 1==2 + 1 == 2 Additional information: - This exception -- which is used in many places in the library -- usually indicates that some condition which the author of the code thought must be satisfied at a certain point in an algorithm, is not fulfilled. An example would be that the first part of an algorithm sorts elements of an array in ascending order, and a second part of the algorithm later encounters an element that is not larger than the previous one. - -There is usually not very much you can do if you encounter such an exception since it indicates an error in deal.II, not in your own program. Try to come up with the smallest possible program that still demonstrates the error and contact the deal.II mailing lists with it to obtain help. + This exception -- which is used in many places in the library -- + usually indicates that some condition which the author of the code + thought must be satisfied at a certain point in an algorithm, is not + fulfilled. An example would be that the first part of an algorithm + sorts elements of an array in ascending order, and a second part of + the algorithm later encounters an element that is not larger than the + previous one. + + There is usually not very much you can do if you encounter such an + exception since it indicates an error in deal.II, not in your own + program. Try to come up with the smallest possible program that still + demonstrates the error and contact the deal.II mailing lists with it + to obtain help. -------------------------------------------------------- diff --git a/tests/base/unsubscribe_subscriptor.debug.output b/tests/base/unsubscribe_subscriptor.debug.output index 03bd8c6462..8839743656 100644 --- a/tests/base/unsubscribe_subscriptor.debug.output +++ b/tests/base/unsubscribe_subscriptor.debug.output @@ -7,7 +7,8 @@ An error occurred in file in function The violated condition was: it != counter_map.end() Additional information: - No subscriber with identifier subscribes to this object of class N6dealii11SubscriptorE. Consequently, it cannot be unsubscribed. + No subscriber with identifier subscribes to this object of class + N6dealii11SubscriptorE. Consequently, it cannot be unsubscribed. -------------------------------------------------------- DEAL::Exception: ExcMessage( "This Subscriptor object does not know anything about the supplied pointer!") @@ -18,6 +19,7 @@ An error occurred in file in function The violated condition was: validity_ptr_it != validity_pointers.end() Additional information: - This Subscriptor object does not know anything about the supplied pointer! + This Subscriptor object does not know anything about the supplied + pointer! -------------------------------------------------------- diff --git a/tests/parameter_handler/parameter_handler_19.debug.output b/tests/parameter_handler/parameter_handler_19.debug.output index 813cf501f6..e7031efdc6 100644 --- a/tests/parameter_handler/parameter_handler_19.debug.output +++ b/tests/parameter_handler/parameter_handler_19.debug.output @@ -7,7 +7,8 @@ An error occurred in file in function The violated condition was: subsection_path.size() != 0 Additional information: - You can't leave a subsection if you are already at the top level of the subsection hierarchy. + You can't leave a subsection if you are already at the top level of + the subsection hierarchy. -------------------------------------------------------- DEAL:: @@ -22,7 +23,8 @@ An error occurred in file in function The violated condition was: subsection_path.size() != 0 Additional information: - You can't leave a subsection if you are already at the top level of the subsection hierarchy. + You can't leave a subsection if you are already at the top level of + the subsection hierarchy. -------------------------------------------------------- DEAL:: diff --git a/tests/parameter_handler/parameter_handler_25.output b/tests/parameter_handler/parameter_handler_25.output index 469de72374..26d844de58 100644 --- a/tests/parameter_handler/parameter_handler_25.output +++ b/tests/parameter_handler/parameter_handler_25.output @@ -5,9 +5,9 @@ DEAL:: -------------------------------------------------------- An error occurred in file in function void dealii::ParameterHandler::set(const string&, const string&) -The violated condition was: +The violated condition was: false -Additional information: +Additional information: You can't ask for entry you have not yet declared. -------------------------------------------------------- @@ -15,14 +15,17 @@ 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 - - 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. +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_26.output b/tests/parameter_handler/parameter_handler_26.output index e9c2284583..7ce64d469f 100644 --- a/tests/parameter_handler/parameter_handler_26.output +++ b/tests/parameter_handler/parameter_handler_26.output @@ -5,14 +5,17 @@ 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 - - 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. +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. -------------------------------------------------------- -- 2.39.5