aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am72
-rw-r--r--acinclude.m47
-rw-r--r--configure.ac6
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/basic.jnlp11
6 files changed, 9 insertions, 92 deletions
diff --git a/AUTHORS b/AUTHORS
index 8e6ba67..2d406bb 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,7 +13,6 @@ Omair Majid <[email protected]>
Jon A. Maxwell <[email protected]>
Andrew Su <[email protected]>
Joshua Sumali <[email protected]>
-Jiri Vanek <[email protected]>
Mark Wielaard <[email protected]>
Man Lung Wong <[email protected]>
diff --git a/ChangeLog b/ChangeLog
index 263dfce..a7a3768 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,5 @@
2011-04-11 Jiri Vanek <[email protected]>
- * added testng support (2/2)
-
-2011-04-11 Jiri Vanek <[email protected]>
-
* removed junit (1/2 from mooving to testNG)
2011-04-08 Omair Majid <[email protected]>
diff --git a/Makefile.am b/Makefile.am
index 8037137..b0643de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,12 +6,6 @@ NETX_RESOURCE_DIR=$(NETX_SRCDIR)/net/sourceforge/jnlp/resources
NETX_EXTRA_DIR=$(abs_top_srcdir)/extra/net/sourceforge/javaws/about/resources
NETX_EXTRA_DIST_DIR=$(abs_top_builddir)/extra-lib/net/sourceforge/javaws/about/resources
-TESTS_DIR=$(abs_top_builddir)/tests.build
-TESTS_SRCDIR=$(abs_top_srcdir)/tests
-
-NETX_UNIT_TEST_DIR=$(TESTS_DIR)/netx/unit
-NETX_UNIT_TEST_SRCDIR=$(TESTS_SRCDIR)/netx/unit
-
# Build directories
BOOT_DIR = $(abs_top_builddir)/bootstrap/jdk1.6.0
@@ -86,23 +80,6 @@ JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160
endif
endif
-if WITH_RHINO
- RHINO_TESTS=check-pac-functions
-else
- RHINO_TESTS=
-endif
-
-UNIT_TESTS=
-if WITH_TESTNG
-if WITH_QDOX
-if WITH_BSH
-if WITH_XSLT
- UNIT_TESTS+=run-netx-unit-tests
-endif
-endif
-endif
-endif
-
PLUGIN_VERSION = IcedTea-Web $(FULL_VERSION)
EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in extra launcher \
@@ -123,7 +100,7 @@ edit_launcher_script = sed \
all-local: stamps/netx-dist.stamp extra-lib/about.jar stamps/plugin.stamp launcher.build/javaws \
javaws.desktop stamps/docs.stamp launcher.build/itweb-settings itweb-settings.desktop
-check-local: $(RHINO_TESTS) $(UNIT_TESTS)
+check-local: check-pac-functions
clean-local: clean-netx clean-plugin clean-liveconnect clean-extra clean-bootstrap-directory \
clean-native-ecj clean-launchers clean-desktop-files clean-docs clean-tests
@@ -133,8 +110,7 @@ clean-local: clean-netx clean-plugin clean-liveconnect clean-extra clean-bootstr
.PHONY: clean-IcedTeaPlugin clean-add-netx clean-add-netx-debug clean-add-plugin clean-add-plugin-debug \
clean-bootstrap-directory clean-native-ecj clean-desktop-files clean-netx-docs clean-docs clean-plugin-docs \
- clean-tests check-local clean-launchers check-pac-functions run-netx-unit-tests clean-netx-tests \
- clean-netx-unit-tests
+ clean-tests check-local clean-launchers
install-exec-local:
${mkinstalldirs} $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/ $(DESTDIR)$(libdir)
@@ -422,53 +398,11 @@ clean-plugin-docs:
# check
# ==========================
-clean-tests: clean-netx-tests
- if [ -e $(TESTS_DIR) ]; then \
- rmdir $(TESTS_DIR) ; \
- fi
-
check-pac-functions: stamps/bootstrap-directory.stamp
./jrunscript $(abs_top_srcdir)/tests/netx/pac/pac-funcs-test.js \
$$(readlink -f $(abs_top_srcdir)/netx/net/sourceforge/jnlp/runtime/pac-funcs.js)
-netx-unit-tests-source-files.txt:
- find $(NETX_UNIT_TEST_SRCDIR) -name '*.java' | sort > $@
-
-stamps/netx-unit-tests-compile.stamp: stamps/netx.stamp \
- netx-unit-tests-source-files.txt
- mkdir -p $(NETX_UNIT_TEST_DIR)
- $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
- -d $(NETX_UNIT_TEST_DIR) \
- -classpath $(TESTNG_JAR):$(NETX_DIR)/lib/classes.jar \
- @netx-unit-tests-source-files.txt
- (cd $(NETX_UNIT_TEST_DIR) ; \
- $(BOOT_DIR)/bin/jar cf netx-tests.jar net)
- mkdir -p stamps
- touch $@
-
-stamps/netx-unit-tests-update-jar.stamp: stamps/netx-unit-tests-compile.stamp
- (cd $(NETX_UNIT_TEST_SRCDIR) ; \
- $(BOOT_DIR)/bin/jar uf $(NETX_UNIT_TEST_DIR)/netx-tests.jar \
- net/sourceforge/jnlp/basic.jnlp)
- mkdir -p stamps
- touch $@
-
-run-netx-unit-tests: stamps/netx-unit-tests-update-jar.stamp
- $(BOOT_DIR)/bin/java \
- -classpath $(NETX_UNIT_TEST_DIR)/netx-tests.jar:$(NETX_DIR)/lib/classes.jar:$(TESTNG_JAR):$(QDOX_JAR):$(BSH_JAR) \
- org.testng.TestNG -d $(NETX_UNIT_TEST_DIR)/tests-output $(NETX_UNIT_TEST_SRCDIR)/tests.xml || true
- $(XSLT) $(abs_top_srcdir)/testng-to-jtreg.xslt $(NETX_UNIT_TEST_DIR)/tests-output/testng-results.xml
-
-clean-netx-tests: clean-netx-unit-tests
- if [ -e $(TESTS_DIR)/netx ]; then \
- rmdir $(TESTS_DIR)/netx ; \
- fi
-
-clean-netx-unit-tests:
- rm -f netx-unit-tests-source-files.txt
- rm -rf $(NETX_UNIT_TEST_DIR)
- rm -f stamps/netx-unit-tests-compile.stamp
- rm -f stamps/netx-unit-tests-update-jar.stamp
+-clean-tests:
# plugin tests
diff --git a/acinclude.m4 b/acinclude.m4
index fe30345..3c3803b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -497,13 +497,6 @@ AC_DEFUN([FIND_TOOL],
AC_SUBST([$1])
])
-AC_DEFUN_ONCE([IT_FIND_OPTIONAL_PROG],
-[
- AC_PATH_PROG([$1], [$2])
- AM_CONDITIONAL(WITH_$1, test x"$$1" != "x")
- AC_SUBST([$1])
-])
-
AC_DEFUN([IT_SET_ARCH_SETTINGS],
[
case "${host_cpu}" in
diff --git a/configure.ac b/configure.ac
index 77f8ec2..850b293 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,12 +85,6 @@ IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE
IT_FIND_OPTIONAL_JAR([rhino], RHINO,
[/usr/share/java/js.jar /usr/share/rhino-1.6/lib/js.jar])
-IT_FIND_OPTIONAL_JAR([testng], TESTNG,
- [/usr/share/java/testng.jar])
-IT_FIND_OPTIONAL_JAR([qdox], QDOX)
-IT_FIND_OPTIONAL_JAR([bsh], BSH)
-
-IT_FIND_OPTIONAL_PROG(XSLT, [xsltproc])
AC_CONFIG_FILES([jrunscript], [chmod u+x jrunscript])
AC_CONFIG_FILES([build.properties])
diff --git a/tests/netx/unit/net/sourceforge/jnlp/basic.jnlp b/tests/netx/unit/net/sourceforge/jnlp/basic.jnlp
index 7139475..8fabda8 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/basic.jnlp
+++ b/tests/netx/unit/net/sourceforge/jnlp/basic.jnlp
@@ -1,11 +1,11 @@
-<?xml version='1.0' encoding='utf-8'?>
+<?xml version='1.0' encoding='utf-8'?>
<!-- this is a sample jnlp file -->
<jnlp spec='1.0'
codebase='http://localhost/'
href='jnlp.jnlp'>
- <information>
+ <information>
<!-- this is the information section -->
- <title>Large JNLP</title>
+ <title>Large JNLP</title>
<vendor>The IcedTea Project</vendor>
<homepage href='http://homepage/' />
<description kind='one-line'>one-line</description>
@@ -24,7 +24,7 @@
<description>decription of related-content</description>
<icon href='related-content-icon.png' />
</related-content>
- </information>
+ </information>
<security>
<all-permissions/>
</security>
@@ -43,4 +43,5 @@
<argument>arg1</argument>
<argument>arg2</argument>
</application-desc>
-</jnlp>
+</jnlp>
+