]> source.dussan.org Git - aspectj.git/commitdiff
remove unused API
authorwisberg <wisberg>
Thu, 13 Mar 2003 02:53:08 +0000 (02:53 +0000)
committerwisberg <wisberg>
Thu, 13 Mar 2003 02:53:08 +0000 (02:53 +0000)
taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java

index a92dc3ade40e4ad69d2e36a5c33849f784060275..3ecf6416e13f9feeefd3cec708d9831e5b8ab3e4 100644 (file)
@@ -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);