aboutsummaryrefslogtreecommitdiffstats
path: root/testing-drivers/testdata
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-25 00:44:40 +0000
committerwisberg <wisberg>2003-05-25 00:44:40 +0000
commit265e9d63e96947f0701d5a8ea81218b940a5ea21 (patch)
tree83c706bfd6b56d9def3c81a6e5a2f88365d0ef04 /testing-drivers/testdata
parent5dd34ad8e4567687c774a03587bdd2a2338639c7 (diff)
downloadaspectj-265e9d63e96947f0701d5a8ea81218b940a5ea21.tar.gz
aspectj-265e9d63e96947f0701d5a8ea81218b940a5ea21.zip
tests for new feature to select tests by title
Diffstat (limited to 'testing-drivers/testdata')
-rw-r--r--testing-drivers/testdata/incremental/harness/selectionTest.xml2
-rw-r--r--testing-drivers/testdata/incremental/harness/titleListOne.txt17
-rw-r--r--testing-drivers/testdata/incremental/harness/titleListPlural.txt23
3 files changed, 41 insertions, 1 deletions
diff --git a/testing-drivers/testdata/incremental/harness/selectionTest.xml b/testing-drivers/testdata/incremental/harness/selectionTest.xml
index abdb7c0ae..0ae449a1d 100644
--- a/testing-drivers/testdata/incremental/harness/selectionTest.xml
+++ b/testing-drivers/testdata/incremental/harness/selectionTest.xml
@@ -11,7 +11,7 @@
-eclipse
This is used by a JUnit test HarnessSelectionTest.
- Do not change the outcome without changing that test.
+ Do not change the outcome or attributes without passing that test.
-->
<ajc-test dir="." title="run and pass"
diff --git a/testing-drivers/testdata/incremental/harness/titleListOne.txt b/testing-drivers/testdata/incremental/harness/titleListOne.txt
new file mode 100644
index 000000000..70cac2e07
--- /dev/null
+++ b/testing-drivers/testdata/incremental/harness/titleListOne.txt
@@ -0,0 +1,17 @@
+
+This is for the harness selection tests
+that pick up test titles from -traceTestsMin harness output
+(where lines start with PASS or FAIL).
+
+All other lines should be ignored, as should the Suite.Spec summary.
+
+PASS run and pass()
+stuff
+
+ FAIL omit if skipKeyword() Not this line either
+
+more stuff
+
+with empty lines
+
+FAIL Suite.Spec(ignore this line...)
diff --git a/testing-drivers/testdata/incremental/harness/titleListPlural.txt b/testing-drivers/testdata/incremental/harness/titleListPlural.txt
new file mode 100644
index 000000000..6e965c6b5
--- /dev/null
+++ b/testing-drivers/testdata/incremental/harness/titleListPlural.txt
@@ -0,0 +1,23 @@
+
+This is for the harness selection tests
+that pick up test titles from -traceTestsMin harness output
+(where lines start with PASS or FAIL).
+
+All other lines should be ignored, as should the Suite.Spec summary.
+
+PASS run and pass()
+stuff
+
+FAIL omit if skipKeyword()
+
+more stuff
+
+with empty lines
+
+FAIL Suite.Spec(ignore this line...)
+
+Should also test:
+- commas in test titles
+- internal (), e.g.,
+ FAIL accept (internal) parentheses()
+