aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-03-13 02:53:08 +0000
committerwisberg <wisberg>2003-03-13 02:53:08 +0000
commitf271e2e63677db5e8e48229d59a0502c0ab5db9b (patch)
tree99974fdc0a6ab2a288a3ecfc84324d285337c391 /taskdefs
parent03448a7d4363abe6cd99da99a050fecef9cf8f72 (diff)
downloadaspectj-f271e2e63677db5e8e48229d59a0502c0ab5db9b.tar.gz
aspectj-f271e2e63677db5e8e48229d59a0502c0ab5db9b.zip
remove unused API
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java b/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
index a92dc3ade..3ecf6416e 100644
--- a/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
+++ b/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
@@ -67,9 +67,9 @@ public class AjcTaskTest extends TestCase {
// add nothing
} else if (input.endsWith(".lst")) {
if (-1 != input.indexOf(",")) {
- task.setArgfiles(input);
+ throw new IllegalArgumentException("lists not supported: " + input);
} else {
- task.setArgfile(new File(input));
+ task.setArgfiles(new Path(task.getProject(), input));
}
} else if ((input.endsWith(".java") || input.endsWith(".aj"))) {
// not working
@@ -123,7 +123,6 @@ public class AjcTaskTest extends TestCase {
runTest(task, NO_EXCEPTION, IMessageHolderChecker.INFOS);
}
-
public void testNoFile() {
AjcTask task = getTask(NOFILE);
runTest(task, NO_EXCEPTION, IMessageHolderChecker.ONE_ERROR);