ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional JspcTest.java
Date Mon, 30 Dec 2002 06:11:14 GMT
costin      2002/12/29 22:11:14

  Modified:    src/testcases/org/apache/tools/ant/taskdefs/optional
                        JspcTest.java
  Log:
  Update with the current name generation schema.
  
  There is no standard for how jsp generates names - and jasper
  changes from time to time :-)
  
  Revision  Changes    Path
  1.3       +11 -8     jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/JspcTest.java
  
  Index: JspcTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/JspcTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JspcTest.java	23 Mar 2002 20:48:29 -0000	1.2
  +++ JspcTest.java	30 Dec 2002 06:11:14 -0000	1.3
  @@ -113,7 +113,7 @@
        * A unit test for JUnit
        */
       public void testSimple() throws Exception {
  -        executeJspCompile("testSimple", "simple.java");
  +        executeJspCompile("testSimple", "simple_jsp.java");
       }
   
   
  @@ -121,7 +121,7 @@
        * A unit test for JUnit
        */
       public void testUriroot() throws Exception {
  -        executeJspCompile("testUriroot", "uriroot.java");
  +        executeJspCompile("testUriroot", "uriroot_jsp.java");
       }
   
   
  @@ -129,7 +129,7 @@
        * A unit test for JUnit
        */
       public void testXml() throws Exception {
  -        executeJspCompile("testXml", "xml.java");
  +        executeJspCompile("testXml", "xml_jsp.java");
       }
   
   
  @@ -137,7 +137,7 @@
        * try a keyword in a file
        */
       public void testKeyword() throws Exception {
  -        executeJspCompile("testKeyword", "default_00025.java");
  +        executeJspCompile("testKeyword", "default_jsp.java");
       }
   
   
  @@ -146,7 +146,7 @@
        */
       public void testInvalidClassname() throws Exception {
           executeJspCompile("testInvalidClassname", 
  -                "_00031nvalid_0002dclassname.java");
  +                "_1nvalid_0002dclassname_jsp.java");
       }
   
       
  @@ -154,9 +154,12 @@
        * A unit test for JUnit
        */
       public void testNoTld() throws Exception {
  -        expectBuildExceptionContaining("testNoTld",
  -                "Jasper found an error in a file",
  -                "Java returned: 9");
  +//         expectBuildExceptionContaining("testNoTld",
  +//                 "Jasper found an error in a file",
  +//                 "Java returned: 9");
  +         expectBuildExceptionContaining("testNoTld",
  +                 "not found",
  +                 "Java returned: 9");
       }
   
   
  
  
  

--
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