diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-08-27 16:51:16 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-08-27 16:51:16 +0200 |
commit | 6c3b530fb1b62e35ee53665c86e78cb0a4da26d4 (patch) | |
tree | 30ef5f265f0d27455e525f9a1ec2e8b7f5a27346 /forms/qa/integration | |
parent | 2ae7ed978e22dbb6fc5e84c3dc686ab4bb9e1cec (diff) |
dba34a: fail the test on caught exceptions
Diffstat (limited to 'forms/qa/integration')
-rw-r--r-- | forms/qa/integration/forms/ListSelection.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java index 24a5290dc1d4..17026c09906e 100644 --- a/forms/qa/integration/forms/ListSelection.java +++ b/forms/qa/integration/forms/ListSelection.java @@ -136,8 +136,8 @@ public class ListSelection extends integration.forms.TestCase } catch( com.sun.star.uno.Exception e ) { - System.err.println( e ); e.printStackTrace( System.err ); + failed( "caught an exception: " + e.toString() ); } } @@ -183,6 +183,7 @@ public class ListSelection extends integration.forms.TestCase catch( com.sun.star.uno.Exception e ) { e.printStackTrace( System.err ); + failed( "caught an exception: " + e.toString() ); } } @@ -217,6 +218,7 @@ public class ListSelection extends integration.forms.TestCase catch( com.sun.star.uno.Exception e ) { e.printStackTrace( System.err ); + failed( "caught an exception: " + e.toString() ); } } @@ -275,6 +277,7 @@ public class ListSelection extends integration.forms.TestCase catch( java.lang.Throwable e ) { e.printStackTrace(); + failed( "caught an exception: " + e.toString() ); } } |