Revision: 9823
Author: fabb...@google.com
Date: Tue Mar  8 08:59:35 2011
Log: Adding junit-stripped variation of testng, which used to embed junit

http://code.google.com/p/google-web-toolkit/source/detail?r=9823

Added:
 /tools/lib/testng/README
 /tools/lib/testng/strip_junit.sh
 /tools/lib/testng/testng-5.14.1-nojunit.jar

=======================================
--- /dev/null
+++ /tools/lib/testng/README    Tue Mar  8 08:59:35 2011
@@ -0,0 +1,6 @@
+testNG 5.14.1 (through at least 5.14.10) happens to include junit 3.8.1 inside
+its jar.  Since we now run with junit4, even though we aren't yet using
+the annotation-based junit4-isms, we removed those from the jars here using
+the strip_junit.sh script here.
+
+The sources jar does not have junit embedded, and did not need processing.
=======================================
--- /dev/null
+++ /tools/lib/testng/strip_junit.sh    Tue Mar  8 08:59:35 2011
@@ -0,0 +1,19 @@
+#/bin/bash
+#
+# Shell script to divorce junit from testNG
+
+if [ $# != 2 ]; then
+  echo "usage: $0 jarfile newfile"
+  exit 1
+fi
+
+set -e
+mkdir tmp
+cd tmp
+jar xf ../$1
+rm -rf junit*
+rm -rf org/junit*
+jar cf ../$2 *
+cd ..
+rm -rf tmp
+
=======================================
--- /dev/null   
+++ /tools/lib/testng/testng-5.14.1-nojunit.jar Tue Mar  8 08:59:35 2011
File is too large to display a diff.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to