ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional ANTLRTest.java
Date Wed, 16 Jan 2002 16:50:21 GMT
sbailliez    02/01/16 08:50:21

  Modified:    src/testcases/org/apache/tools/ant/taskdefs/optional
                        ANTLRTest.java
  Log:
  Fix test5.
  - the directory was not created previous to ANTLR call (xml)
  - it cannot process java.tree.g since java.g need to be processed first so an error occurs
in ANTLR.
  
  Revision  Changes    Path
  1.9       +3 -1      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
  
  Index: ANTLRTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ANTLRTest.java	10 Jan 2002 10:13:12 -0000	1.8
  +++ ANTLRTest.java	16 Jan 2002 16:50:21 -0000	1.9
  @@ -105,7 +105,9 @@
       }
   
       public void test5() {
  -        executeTarget("test5");
  +        // should print "panic: Cannot find importVocab file 'JavaTokenTypes.txt'"
  +        // since it needs to run java.g first before java.tree.g
  +        expectBuildException("test5", "ANTLR returned: 1");
       }
   
       public void test6() {
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message