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 ProjectTest.java
Date Sun, 24 Feb 2002 14:45:14 GMT
sbailliez    02/02/24 06:45:14

  Modified:    src/testcases/org/apache/tools/ant ProjectTest.java
  Log:
  Message has been changed from "default constructor" to "no-arg constructor" in Project.
  
  Revision  Changes    Path
  1.11      +3 -3      jakarta-ant/src/testcases/org/apache/tools/ant/ProjectTest.java
  
  Index: ProjectTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/ProjectTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ProjectTest.java	15 Feb 2002 16:51:10 -0000	1.10
  +++ ProjectTest.java	24 Feb 2002 14:45:14 -0000	1.11
  @@ -198,7 +198,7 @@
                */
               assertSame(Project.JAVA_1_1, p.getJavaVersion());
               assertTaskDefFails(DummyTaskProtected.class, 
  -                               "No public default constructor in " 
  +                               "No public no-arg constructor in " 
                                  + DummyTaskProtected.class);
           }
           
  @@ -207,8 +207,8 @@
           assertTaskDefFails(DummyTaskAbstract.class,  DummyTaskAbstract.class  + " is abstract");

           assertTaskDefFails(DummyTaskInterface.class, DummyTaskInterface.class + " is abstract");
   
  -        assertTaskDefFails(DummyTaskWithoutDefaultConstructor.class, "No public default
constructor in " + DummyTaskWithoutDefaultConstructor.class);
  -        assertTaskDefFails(DummyTaskWithoutPublicConstructor.class,  "No public default
constructor in " + DummyTaskWithoutPublicConstructor.class);
  +        assertTaskDefFails(DummyTaskWithoutDefaultConstructor.class, "No public no-arg
constructor in " + DummyTaskWithoutDefaultConstructor.class);
  +        assertTaskDefFails(DummyTaskWithoutPublicConstructor.class,  "No public no-arg
constructor in " + DummyTaskWithoutPublicConstructor.class);
           
           assertTaskDefFails(DummyTaskWithoutExecute.class,       "No public execute() in
" + DummyTaskWithoutExecute.class);
           assertTaskDefFails(DummyTaskWithNonPublicExecute.class, "No public execute() in
" + DummyTaskWithNonPublicExecute.class);
  
  
  

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