Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/features.xml25
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/issues.xml42
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/notes.xml18
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/docbook/book.xml1
-rw-r--r--org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/util/WorkaroundUtil.java19
-rw-r--r--org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/CheckListener.java5
-rw-r--r--org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/MappingListener.java7
7 files changed, 114 insertions, 3 deletions
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/features.xml b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/features.xml
new file mode 100644
index 000000000..659f37a12
--- /dev/null
+++ b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/features.xml
@@ -0,0 +1,25 @@
+<!--
+ Copyright (c) 2019 BREDEX GmbH.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ BREDEX GmbH - initial API and implementation and/or initial documentation
+-->
+<section xml:id="new-features-and-developments-8.8.0" version="5.0"
+ xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink">
+ <title>New Features and Developments</title>
+ <para>
+ <emphasis role="strong">-</emphasis>
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ -
+ </para>
+ </listitem>
+ </itemizedlist>
+</section>
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/issues.xml b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/issues.xml
new file mode 100644
index 000000000..86b2c9519
--- /dev/null
+++ b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/issues.xml
@@ -0,0 +1,42 @@
+<!--
+ Copyright (c) 2019 BREDEX GmbH.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ BREDEX GmbH - initial API and implementation and/or initial documentation
+-->
+<section xml:id="known-issues-and-other-information-8.8.0"
+ version="5.0" xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink">
+ <title>Known issues and other information</title>
+
+ <para>
+ <emphasis role="strong">RCP/SWT added possibility to disable component
+ highlighting</emphasis>
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ There is a possibility that in a Linux environment the Highlighting
+ of
+ supported components is leading to a big performance drop and is
+ even
+ not working correctly. We have added the possibility to
+ disable
+ this highlighting of supported components with the property
+ <emphasis>TEST_RC_DISABLE_HIGHLIGHTING</emphasis>
+ with the value
+ <emphasis>true</emphasis>
+ . After this no
+ supported component is highlighted but you can still
+ try to map
+ components and they will show up in the Object Mapping
+ editor.
+ </para>
+ </listitem>
+ </itemizedlist>
+</section>
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/notes.xml b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/notes.xml
new file mode 100644
index 000000000..48358f8b2
--- /dev/null
+++ b/org.eclipse.jubula.documentation/releasenotes/en/docbook/8.8.0/notes.xml
@@ -0,0 +1,18 @@
+<!--
+ Copyright (c) 2019 BREDEX GmbH.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ BREDEX GmbH - initial API and implementation and/or initial documentation
+-->
+<chapter xml:id="release-notes-for-version-8.8.0" version="5.0" xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink">
+ <title>Release Notes for version 8.8.0(jubula Feature 8.0.0)</title>
+
+ <xi:include href="features.xml"/>
+ <xi:include href="issues.xml"/>
+</chapter>
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/docbook/book.xml b/org.eclipse.jubula.documentation/releasenotes/en/docbook/book.xml
index f863d33f8..f5026a9d5 100644
--- a/org.eclipse.jubula.documentation/releasenotes/en/docbook/book.xml
+++ b/org.eclipse.jubula.documentation/releasenotes/en/docbook/book.xml
@@ -28,6 +28,7 @@
<link xl:href="http://testing.bredex.de/migration-information.html">http://testing.bredex.de/migration-information.html</link>
</para>
</chapter>
+ <xi:include href="8.8.0/notes.xml"/>
<xi:include href="8.7.0/notes.xml"/>
<xi:include href="8.6.0/notes.xml"/>
<xi:include href="8.5.0/notes.xml"/>
diff --git a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/util/WorkaroundUtil.java b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/util/WorkaroundUtil.java
index 2213a7f90..b1c03e921 100644
--- a/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/util/WorkaroundUtil.java
+++ b/org.eclipse.jubula.rc.common/src/org/eclipse/jubula/rc/common/util/WorkaroundUtil.java
@@ -34,6 +34,11 @@ public class WorkaroundUtil {
* ignore server-side timeouts that occur during test execution.
*/
private static final String IGNORE_TIMEOUT_VAR = "TEST_RC_IGNORE_TIMEOUT"; //$NON-NLS-1$
+ /**
+ * Name of the environment variable that defines whether the rc should
+ * disable the highlighting of supported components
+ */
+ private static final String DISABLE_HIGHLIGHTING_VAR = "TEST_RC_DISABLE_HIGHLIGHTING"; //$NON-NLS-1$
/**
* Private constructor
@@ -56,4 +61,18 @@ public class WorkaroundUtil {
return Boolean.valueOf(value).booleanValue();
}
+
+ /**
+ * Allows to disable the highlighting of supported components. This might be
+ * necessary because it is using to much performance or behavior which
+ * leads to a non usable AUT.
+ * @return <code>true</code> if highlighting of supported components should
+ * be disabled. Otherwise <code>false</code>.
+ */
+ public static boolean isHighlightingDisabled() {
+ String value = EnvironmentUtils
+ .getProcessOrSystemProperty(DISABLE_HIGHLIGHTING_VAR);
+
+ return Boolean.valueOf(value).booleanValue();
+ }
}
diff --git a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/CheckListener.java b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/CheckListener.java
index 07eae2013..eb7af0b1d 100644
--- a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/CheckListener.java
+++ b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/CheckListener.java
@@ -24,6 +24,7 @@ import org.eclipse.jubula.rc.common.exception.NoIdentifierForComponentException;
import org.eclipse.jubula.rc.common.implclasses.table.Cell;
import org.eclipse.jubula.rc.common.logger.AutServerLogger;
import org.eclipse.jubula.rc.common.util.MatchUtil;
+import org.eclipse.jubula.rc.common.util.WorkaroundUtil;
import org.eclipse.jubula.rc.swt.SwtAUTServer;
import org.eclipse.jubula.rc.swt.utils.SwtUtils;
import org.eclipse.jubula.tools.internal.constants.StringConstants;
@@ -150,7 +151,9 @@ public class CheckListener extends AbstractAutSwtEventListener {
Widget widget = SwtUtils.getWidgetAtCursorLocation();
setCurrentComponent(widget);
setCurrentWidget();
- highlightComponent();
+ if (!WorkaroundUtil.isHighlightingDisabled()) {
+ highlightComponent();
+ }
}
/**
diff --git a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/MappingListener.java b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/MappingListener.java
index 52de707dc..aa4c447c8 100644
--- a/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/MappingListener.java
+++ b/org.eclipse.jubula.rc.swt/src/org/eclipse/jubula/rc/swt/listener/MappingListener.java
@@ -19,6 +19,7 @@ import org.eclipse.jubula.rc.common.AUTServer;
import org.eclipse.jubula.rc.common.Constants;
import org.eclipse.jubula.rc.common.exception.NoIdentifierForComponentException;
import org.eclipse.jubula.rc.common.util.PropertyUtil;
+import org.eclipse.jubula.rc.common.util.WorkaroundUtil;
import org.eclipse.jubula.rc.swt.SwtAUTServer;
import org.eclipse.jubula.tools.internal.exception.CommunicationException;
import org.eclipse.jubula.tools.internal.objects.IComponentIdentifier;
@@ -86,8 +87,10 @@ public class MappingListener extends AbstractAutSwtEventListener {
case SWT.MouseEnter:
case SWT.MouseDown:
case SWT.Arm:
- setCurrentWidget();
- highlightComponent();
+ setCurrentWidget();
+ if (!WorkaroundUtil.isHighlightingDisabled()) {
+ highlightComponent();
+ }
break;
case SWT.KeyDown:
case SWT.MouseUp:

Back to the top