aboutsummaryrefslogtreecommitdiffstats
path: root/testing-drivers
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-12-08 22:08:55 +0000
committeracolyer <acolyer>2003-12-08 22:08:55 +0000
commit945e38ae163d58bd6e08c06ce02278584ee22f2d (patch)
treedd1dd765fefc79641b8c35f379e2862c570fe966 /testing-drivers
parent6d44caada8014fbec0f7e7a5135cab0ec81a9ff1 (diff)
downloadaspectj-945e38ae163d58bd6e08c06ce02278584ee22f2d.tar.gz
aspectj-945e38ae163d58bd6e08c06ce02278584ee22f2d.zip
Merge of dependent tests (only shows up under IBM 131 JVM)
Diffstat (limited to 'testing-drivers')
-rw-r--r--testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java39
1 files changed, 19 insertions, 20 deletions
diff --git a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java
index dcd1d3dd3..94cc99985 100644
--- a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java
+++ b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java
@@ -266,26 +266,25 @@ public class HarnessSelectionTest extends TestCase {
Exp exp = new Exp(17, 1, 16, 1, 0, 0, 16);
checkSelection(SELECT, options, TITLE_LIST_ONE, exp);
}
-
- public void testTitleListFileSelectionPlural() {
- String[] options = new String[]
- { "-ajctestTitleList=" + TITLE_LIST_PLURAL,
- "-eclipse"
- };
- Exp exp = new Exp(17, 2, 15, 2, 0, 0, 15);
- checkSelection(SELECT, options, TITLE_LIST_PLURAL, exp);
- }
-
- public void testTitleListFileSelectionPluralFailOnly() {
- String[] options = new String[]
- { "-ajctestTitleFailList=" + TITLE_LIST_PLURAL,
- "-eclipse"
- };
- // 1 messages skipped when run under 1.4 for other reasons,
- // so count "skip" instead of TITLE_LIST_PLURAL
- Exp exp = new Exp(17, 2, 15, 2, 0, 0, 15);
- checkSelection(SELECT, options, "skip", exp);
- }
+
+ public void testTitleListFileSelectionPlural() {
+ String[] options = new String[]
+ { "-ajctestTitleList=" + TITLE_LIST_PLURAL,
+ "-eclipse"
+ };
+ Exp exp = new Exp(17, 2, 15, 2, 0, 0, 15);
+ checkSelection(SELECT, options, TITLE_LIST_PLURAL, exp);
+
+ // Now check the "fail only" path
+ options = new String[]
+ { "-ajctestTitleFailList=" + TITLE_LIST_PLURAL,
+ "-eclipse"
+ };
+ // 1 messages skipped when run under 1.4 for other reasons,
+ // so count "skip" instead of TITLE_LIST_PLURAL
+ exp = new Exp(17, 2, 15, 2, 0, 0, 15);
+ checkSelection(SELECT, options, "skip", exp);
+ }
/**
* Run the static test suite with the given options.