summaryrefslogtreecommitdiff
path: root/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/complex/persistent_window_states/PersistentWindowTest.java')
-rw-r--r--vcl/qa/complex/persistent_window_states/PersistentWindowTest.java30
1 files changed, 4 insertions, 26 deletions
diff --git a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
index 358e5620ebab..fd91beb4617d 100644
--- a/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
+++ b/vcl/qa/complex/persistent_window_states/PersistentWindowTest.java
@@ -282,37 +282,15 @@ public class PersistentWindowTest
return docHandle;
}
- private boolean connect()
+ private boolean connect() throws Exception
{
- try
- {
- connection.setUp();
- }
- catch (InterruptedException e)
- {
- fail("can't connect.");
- }
- catch (Exception e)
- {
- fail("can't connect.");
- }
+ connection.setUp();
return true;
}
- private boolean disconnect()
+ private boolean disconnect() throws Exception
{
- try
- {
- connection.tearDown();
- }
- catch (InterruptedException e)
- {
- fail("can't disconnect.");
- }
- catch (Exception e)
- {
- fail("can't disconnect.");
- }
+ connection.tearDown();
return true;
}