]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix tests (throw in assert change)
authorTimo Heister <timo.heister@gmail.com>
Fri, 15 Feb 2013 22:32:12 +0000 (22:32 +0000)
committerTimo Heister <timo.heister@gmail.com>
Fri, 15 Feb 2013 22:32:12 +0000 (22:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@28413 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/user_data_01.cc
tests/deal.II/user_data_01/cmp/generic

index cd305ce6c376608055db48680ca36446051be9dd..c334786c9b0ae6e1f106cb2ce43b7a59895495e3 100644 (file)
@@ -168,7 +168,13 @@ user_pointers(Triangulation<dim>& tr)
                                   // Check if they are still the same
   check_user_pointers(tr);
                                   // Create two pointer index clashes here
-  tr.begin()->user_index();
+  try
+    {
+      tr.begin()->user_index();
+    }
+  catch (...)
+    {
+    }
   tr.begin()->user_pointer();
 
 
@@ -239,8 +245,15 @@ user_indices(Triangulation<dim>& tr)
                                   // Check if they are still the same
   check_user_indices(tr);
                                   // Create two pointer index clashes here
-  tr.begin()->user_pointer();
+  try
+    {
+      tr.begin()->user_pointer();
+    }
+  catch (...)
+    {
+    }
   tr.begin()->user_index();
+  
 
 
                                   // Check if save and load work
index b870bcedca2e44e16d0d10c84b94c56ae441c82a..ddcba3194a9cd0d4d5ee97c00bfc659c26583ce2 100644 (file)
@@ -4,7 +4,6 @@ DEAL::.....................cells
 DEAL::........................................................faces
 DEAL::lines
 DEAL::ExcPointerIndexClash()
-DEAL::ExcPointerIndexClash()
 DEAL::Save2D
 DEAL::Load2D
 DEAL::.....................cells
@@ -15,7 +14,6 @@ DEAL::.....................cells
 DEAL::........................................................faces
 DEAL::lines
 DEAL::ExcPointerIndexClash()
-DEAL::ExcPointerIndexClash()
 DEAL::Save2D
 DEAL::Load2D
 DEAL::.....................cells
@@ -26,7 +24,6 @@ DEAL::.........................................................................c
 DEAL::..........................................................................................................................................................................................................................................................................................faces
 DEAL::..............................................................................................................................................................................................................................................................................................................................................................................lines
 DEAL::ExcPointerIndexClash()
-DEAL::ExcPointerIndexClash()
 DEAL::Save3D
 DEAL::Load3D
 DEAL::.........................................................................cells
@@ -37,7 +34,6 @@ DEAL::.........................................................................c
 DEAL::..........................................................................................................................................................................................................................................................................................faces
 DEAL::..............................................................................................................................................................................................................................................................................................................................................................................lines
 DEAL::ExcPointerIndexClash()
-DEAL::ExcPointerIndexClash()
 DEAL::Save3D
 DEAL::Load3D
 DEAL::.........................................................................cells

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.