From 144143c2970a1e874d74cdbd0f8c622d4282a3c3 Mon Sep 17 00:00:00 2001 From: wisberg Date: Mon, 16 Dec 2002 18:51:06 +0000 Subject: initial version --- tests/ant/etc/ajc.xml | 406 +++++++++++++++++++ tests/ant/etc/ajc2.xml | 201 ++++++++++ tests/ant/etc/ajclean.xml | 318 +++++++++++++++ tests/ant/etc/ajdoc.xml | 545 ++++++++++++++++++++++++++ tests/ant/filecompare/fileCompareTestDirs.zip | Bin 0 -> 464342 bytes tests/ant/filecompare/makeTestDir.sh | 49 +++ tests/ant/src/One.java | 3 + tests/ant/src/Three.java | 3 + tests/ant/src/Two.java | 3 + tests/ant/src/myhelp.html | 0 tests/ant/src/mystylesheet.css | 0 11 files changed, 1528 insertions(+) create mode 100644 tests/ant/etc/ajc.xml create mode 100644 tests/ant/etc/ajc2.xml create mode 100644 tests/ant/etc/ajclean.xml create mode 100644 tests/ant/etc/ajdoc.xml create mode 100644 tests/ant/filecompare/fileCompareTestDirs.zip create mode 100644 tests/ant/filecompare/makeTestDir.sh create mode 100644 tests/ant/src/One.java create mode 100644 tests/ant/src/Three.java create mode 100644 tests/ant/src/Two.java create mode 100644 tests/ant/src/myhelp.html create mode 100644 tests/ant/src/mystylesheet.css (limited to 'tests/ant') diff --git a/tests/ant/etc/ajc.xml b/tests/ant/etc/ajc.xml new file mode 100644 index 000000000..c261837c8 --- /dev/null +++ b/tests/ant/etc/ajc.xml @@ -0,0 +1,406 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/ant/etc/ajc2.xml b/tests/ant/etc/ajc2.xml new file mode 100644 index 000000000..283dd509b --- /dev/null +++ b/tests/ant/etc/ajc2.xml @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/ant/etc/ajclean.xml b/tests/ant/etc/ajclean.xml new file mode 100644 index 000000000..e3c893c26 --- /dev/null +++ b/tests/ant/etc/ajclean.xml @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/ant/etc/ajdoc.xml b/tests/ant/etc/ajdoc.xml new file mode 100644 index 000000000..58803bb8a --- /dev/null +++ b/tests/ant/etc/ajdoc.xml @@ -0,0 +1,545 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/ant/filecompare/fileCompareTestDirs.zip b/tests/ant/filecompare/fileCompareTestDirs.zip new file mode 100644 index 000000000..f882d6005 Binary files /dev/null and b/tests/ant/filecompare/fileCompareTestDirs.zip differ diff --git a/tests/ant/filecompare/makeTestDir.sh b/tests/ant/filecompare/makeTestDir.sh new file mode 100644 index 000000000..815a14907 --- /dev/null +++ b/tests/ant/filecompare/makeTestDir.sh @@ -0,0 +1,49 @@ +#!/bin/sh +# awkward script to generate test case for filecompare of 2 different dirs + +catExpected() { + cat< \a1\a1 +12d12 +< \b1\b1 +23,24d22 +< \c1\added +< \c1\c1 +424,425d421 +< dir.zip!dir/a1/ +< dir.zip!dir/a1/a1 +468a465 +> dir.zip!dir/c1/added +EOF +} + +abc="a b c d e f g h i j k l m n o p q r s" +n123="0 1 2 3 4 5 6 7 8 9" +mkdir dir +cd dir +for a in ${abc}; do + mkdir "$a" + for n in ${n123} ; do + echo "$abc $n " + mkdir "${a}${n}" + echo "$a$n " > "${a}${n}/${a}${n}" + done > "$a/$a" +done +cd .. +cp -r dir subdir +mv subdir dir/ +cp -r dir dir2 +zip -rq one.zip dir/* +# create some differences +rm -rf dir/a1 +rm dir2/b1/b1 +rm dir2/c1/c1 +echo added > dir/c1/added +zip -rq two.zip dir/* +mv one.zip dir/c2/dir.zip +mv two.zip dir2/c2/dir.zip + +# save expected and wrap up for checkin +catExpected > expected +zip -qr fileCompareTestDirs.zip expected dir/* dir2/* diff --git a/tests/ant/src/One.java b/tests/ant/src/One.java new file mode 100644 index 000000000..56aa7c620 --- /dev/null +++ b/tests/ant/src/One.java @@ -0,0 +1,3 @@ +public class One { + int i1; +} diff --git a/tests/ant/src/Three.java b/tests/ant/src/Three.java new file mode 100644 index 000000000..ec6ef629d --- /dev/null +++ b/tests/ant/src/Three.java @@ -0,0 +1,3 @@ +public class Three { + int i3; +} diff --git a/tests/ant/src/Two.java b/tests/ant/src/Two.java new file mode 100644 index 000000000..d1d2a4e0f --- /dev/null +++ b/tests/ant/src/Two.java @@ -0,0 +1,3 @@ +public class Two { + int i2; +} diff --git a/tests/ant/src/myhelp.html b/tests/ant/src/myhelp.html new file mode 100644 index 000000000..e69de29bb diff --git a/tests/ant/src/mystylesheet.css b/tests/ant/src/mystylesheet.css new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3