diff options
Diffstat (limited to 'framework')
4 files changed, 3 insertions, 19 deletions
diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java index 468dcc59f478..dc75566355b9 100644 --- a/framework/qa/complex/desktop/DesktopTerminate.java +++ b/framework/qa/complex/desktop/DesktopTerminate.java @@ -147,7 +147,6 @@ public class DesktopTerminate } @AfterClass public static void tearDownConnection() - throws InterruptedException, com.sun.star.uno.Exception { System.out.println("tearDownConnection()"); // don't do a tearDown here, desktop is already terminated. diff --git a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java index 6d042dd8ac18..031dfd5d4469 100644 --- a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java +++ b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java @@ -87,7 +87,6 @@ public class GetServiceWhileDisposingOffice @AfterClass public static void tearDownConnection() - throws InterruptedException, com.sun.star.uno.Exception { System.out.println("tearDownConnection()"); // Office is already terminated. diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 4d326dc82582..c022e17d9b97 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -281,12 +281,7 @@ public class RecoveryTest extends ComplexTestCase { if (cancel) { log.println("clicking 'Cancel' button..."); - try{ - rt.clickThreadButton(xMSF, xWindow, "Cancel"); - } catch (com.sun.star.accessibility.IllegalAccessibleComponentStateException e){ - failed("Could not click 'Cancel' at CrashReporter Dialog"); - } - + rt.clickThreadButton(xMSF, xWindow, "Cancel"); } else { log.println("clicking 'Next' button..."); @@ -377,11 +372,7 @@ public class RecoveryTest extends ComplexTestCase { if (cancel) { log.println("clicking 'Cancel' button..."); - try{ - rt.clickThreadButton(xMSF, xWindow, "Cancel"); - } catch (com.sun.star.accessibility.IllegalAccessibleComponentStateException e){ - failed("Could not click 'Cancel' at recovery-dialog."); - } + rt.clickThreadButton(xMSF, xWindow, "Cancel"); } else { @@ -394,11 +385,7 @@ public class RecoveryTest extends ComplexTestCase { } else { log.println("do not recover: clicking 'Cancel' button..."); - try{ - rt.clickThreadButton(xMSF, xWindow, "Cancel"); - } catch (com.sun.star.accessibility.IllegalAccessibleComponentStateException e){ - failed("Could not click 'Cancel' at recovery-dialog"); - } + rt.clickThreadButton(xMSF, xWindow, "Cancel"); } } catch (Exception e){ diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index da7948e3d2af..799b794c1b20 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -300,7 +300,6 @@ public class RecoveryTools { } public void clickThreadButton(XMultiServiceFactory xMSF, XWindow xWindow, String buttonName) - throws com.sun.star.accessibility.IllegalAccessibleComponentStateException { KlickButtonThread kbt = new KlickButtonThread(xMSF, xWindow, buttonName); kbt.start(); |