Skip to content

Commit 9e7300c

Browse files
committedSep 27, 2021
7903027: Initial support for Jemmy-based GUI reg tests
1 parent ccb9209 commit 9e7300c

File tree

113 files changed

+16568
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+16568
-0
lines changed
 

‎build/build.xml

+8
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,14 @@ harness-variety=Full Bundle
568568

569569
</target>
570570

571+
<target name="test-gui" depends="jar" description="Runs Jemmy-based UI tests">
572+
<property name="javatestjar_path" location="${BUILD_DIR}/binaries/lib/javatest.jar"/>
573+
<property name="jemmyjar_path" location="${jemmylib}"/>
574+
<property name="junitjar_path" location="${junitlib}"/>
575+
<ant antfile="build.xml" target="clean" inheritall="true" dir="gui-tests/src"/>
576+
<ant antfile="build.xml" target="run" inheritall="true" dir="gui-tests/src"/>
577+
</target>
578+
571579
<target name="compile-javatest.help.main" unless="javatest.help.ok" >
572580
<!-- copy across the help files -->
573581
<mkdir dir="${build.tmp}"/>

‎build/local.properties

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ asmcommonsjar = asm-commons6.jar
3838
# JUnit Library - Version 4 currently used to compile 3 and 4 support
3939
junitlib = junit.jar
4040

41+
# Jemmy Library - used only for UI testing
42+
jemmylib = jemmy.jar
43+
4144
# Please specify location where the build distribution (output) will be created
4245
BUILD_DIR = ../JTHarness-build
4346

0 commit comments

Comments
 (0)