summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner/lib
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 08:52:12 +0200
committerNoel Grandin <noel@peralex.com>2015-06-09 11:34:31 +0200
commit2a0dda3dfb37f0cb69842f7d569c253d82f53713 (patch)
tree7a762c2fa22651cefb68021250a3fad8811e0f06 /qadevOOo/runner/lib
parentResolves: more crash on export of ooo47778-3.sxw to docx (diff)
downloadcore-2a0dda3dfb37f0cb69842f7d569c253d82f53713.tar.gz
core-2a0dda3dfb37f0cb69842f7d569c253d82f53713.zip
remove some unnecessary exception wrapping in the Java tests
Modify createTestEnvironment so that it throws Exception. This is appropriate for unit testing. The wrapping adds no value and the calling method already has a catch(Exception) to handle anything. Change-Id: I430a414f63d2cbfc3b65ecfde0285509265e5192
Diffstat (limited to 'qadevOOo/runner/lib')
-rw-r--r--qadevOOo/runner/lib/TestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/lib/TestCase.java b/qadevOOo/runner/lib/TestCase.java
index ebe175d485f5..3a3d7e9c9467 100644
--- a/qadevOOo/runner/lib/TestCase.java
+++ b/qadevOOo/runner/lib/TestCase.java
@@ -157,7 +157,7 @@ public abstract class TestCase {
* @see #getTestEnvironment
*/
protected abstract TestEnvironment createTestEnvironment(
- TestParameters tParam, PrintWriter log );
+ TestParameters tParam, PrintWriter log ) throws Exception;
/**
* @return the name of the object