summaryrefslogtreecommitdiff
path: root/framework/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-16 10:55:02 +0200
committerNoel Grandin <noel@peralex.com>2015-10-16 10:56:05 +0200
commit14bf708ef586b15dffed66ffaf524baf4d8fcbfa (patch)
tree5873a9a3fd7bf6189c3f1fb4aba3916884738de2 /framework/qa
parenta3a89c15230317710ba32753c0eafdb4733730ef (diff)
convert "continue" flag to an enum
Change-Id: I160de1152978f301c514d9107c9e9082bab3cf05
Diffstat (limited to 'framework/qa')
-rw-r--r--framework/qa/complex/framework/recovery/RecoveryTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java
index c45661d59f15..4605820e023c 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTest.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTest.java
@@ -323,7 +323,7 @@ public class RecoveryTest extends ComplexTestCase {
XDialog oDialog = null;
oDialog = rt.getActiveDialogAfterStartup(xMSF);
- assure("could not get Recovery Dialog at start of office", (oDialog != null), CONTINUE);
+ assure("could not get Recovery Dialog at start of office", (oDialog != null), ContinueWithTest.YES);
XWindow xWindow = UnoRuntime.queryInterface(XWindow.class, oDialog);
log.println("got the following dialog: '" +oDialog.getTitle() + "'");
@@ -427,7 +427,7 @@ public class RecoveryTest extends ComplexTestCase {
XWindow oDialog = null;
oDialog = rt.getActiveWindow(xMSF);
- assure("could not get 'Save Documents' Dialog: ", (oDialog != null), CONTINUE);
+ assure("could not get 'Save Documents' Dialog: ", (oDialog != null), ContinueWithTest.YES);
UITools oUITools = new UITools(oDialog);
@@ -438,7 +438,7 @@ public class RecoveryTest extends ComplexTestCase {
try{
documents = oUITools.getListBoxItems(listBoxName);
} catch (java.lang.Exception e){
- failed("could not get the document names from the 'Save Documents' dialog", CONTINUE);
+ failed("could not get the document names from the 'Save Documents' dialog", ContinueWithTest.YES);
}
log.println("there are " + documents.length + " documents to save");
log.println("The following documents will be saved:");
@@ -451,12 +451,12 @@ public class RecoveryTest extends ComplexTestCase {
try{
oUITools.setTextEditFiledText("Save to", tempURL);
} catch (java.lang.Exception e){
- failed("could not set target directory for saving documents at 'Save Documents' dialog", CONTINUE);
+ failed("could not set target directory for saving documents at 'Save Documents' dialog", ContinueWithTest.YES);
}
try{
oUITools.clickButton("OK");
} catch (java.lang.Exception e){
- failed("could not click 'OK' at 'Save Documents' dialog", CONTINUE);
+ failed("could not click 'OK' at 'Save Documents' dialog", ContinueWithTest.YES);
}
}
} catch (com.sun.star.accessibility.IllegalAccessibleComponentStateException e){