Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2016-10-06 03:19:46 -0400
committerMarvin Mueller2016-10-31 08:54:53 -0400
commit2c69d155f0064e461eaa9a1c0735415cb654d085 (patch)
tree50c10055ffc45f024d1dcbe18960e70e13a6f03c
parentec7e7ce4c7a78078fcf48409eb3d250c4145ea7f (diff)
downloadorg.eclipse.jubula.core-2c69d155f0064e461eaa9a1c0735415cb654d085.tar.gz
org.eclipse.jubula.core-2c69d155f0064e461eaa9a1c0735415cb654d085.tar.xz
org.eclipse.jubula.core-2c69d155f0064e461eaa9a1c0735415cb654d085.zip
Fix for wrong actual value in properties view Bug 502534
-rw-r--r--org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractTreeTester.java19
1 files changed, 4 insertions, 15 deletions
diff --git a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractTreeTester.java b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractTreeTester.java
index 0e45a84d0..f040a1fa1 100644
--- a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractTreeTester.java
+++ b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/tester/AbstractTreeTester.java
@@ -36,7 +36,6 @@ import org.eclipse.jubula.rc.common.util.IndexConverter;
import org.eclipse.jubula.rc.common.util.MatchUtil;
import org.eclipse.jubula.rc.common.util.Verifier;
import org.eclipse.jubula.toolkit.enums.ValueSets;
-import org.eclipse.jubula.tools.internal.constants.StringConstants;
import org.eclipse.jubula.tools.internal.constants.TestDataConstants;
import org.eclipse.jubula.tools.internal.objects.event.EventFactory;
import org.eclipse.jubula.tools.internal.objects.event.TestErrorEvent;
@@ -503,17 +502,12 @@ public abstract class AbstractTreeTester extends WidgetTester {
rcExpand(pathType, preAscend, treePath, operator);
} catch (StepExecutionException e) {
if (exists) {
- throw new StepVerifyFailedException(
- "Verify failed on tree-path: " //$NON-NLS-1$
- + treePath, EventFactory.createVerifyFailed(
- treePath, StringConstants.EMPTY));
+ Verifier.equals(exists, false);
}
return;
}
if (!exists) {
- throw new StepVerifyFailedException("Verify failed on tree-path: ", //$NON-NLS-1$
- EventFactory.createVerifyFailed(
- StringConstants.EMPTY, treePath));
+ Verifier.equals(exists, true);
}
}
@@ -534,17 +528,12 @@ public abstract class AbstractTreeTester extends WidgetTester {
rcExpandByIndices(pathType, preAscend, treePath);
} catch (StepExecutionException e) {
if (exists) {
- throw new StepVerifyFailedException("Verify failed on tree-path: " //$NON-NLS-1$
- + treePath,
- EventFactory.createVerifyFailed(treePath,
- StringConstants.EMPTY));
+ Verifier.equals(exists, false);
}
return;
}
if (!exists) {
- throw new StepVerifyFailedException("Verify failed on tree-path: ", //$NON-NLS-1$
- EventFactory.createVerifyFailed(
- StringConstants.EMPTY, treePath));
+ Verifier.equals(exists, true);
}
}

Back to the top