From f271e2e63677db5e8e48229d59a0502c0ab5db9b Mon Sep 17 00:00:00 2001 From: wisberg Date: Thu, 13 Mar 2003 02:53:08 +0000 Subject: remove unused API --- taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'taskdefs') 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); -- cgit v1.2.3