ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/testcases/org/apache/myrmidon/components/configurer DefaultConfigurerTest.java
Date Sun, 27 Jan 2002 23:53:00 GMT
donaldp     02/01/27 15:53:00

  Modified:    proposal/myrmidon/src/testcases/org/apache/myrmidon/components/configurer
                        DefaultConfigurerTest.java
  Log:
  Update test to work with current error messages
  
  Revision  Changes    Path
  1.3       +6 -6      jakarta-ant/proposal/myrmidon/src/testcases/org/apache/myrmidon/components/configurer/DefaultConfigurerTest.java
  
  Index: DefaultConfigurerTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/testcases/org/apache/myrmidon/components/configurer/DefaultConfigurerTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultConfigurerTest.java	25 Jan 2002 11:23:21 -0000	1.2
  +++ DefaultConfigurerTest.java	27 Jan 2002 23:52:59 -0000	1.3
  @@ -405,9 +405,8 @@
           }
           catch( ConfigurationException e )
           {
  -            final String message = REZ.getString( "bad-set-attribute.error",
  -                                                  "test",
  -                                                  "some-prop-ref" );
  +            final String message = REZ.getString( "get-ref.error",
  +                                                  "unknown-prop" );
               assertSameMessage( message, e );
           }
       }
  @@ -434,9 +433,10 @@
           }
           catch( ConfigurationException e )
           {
  -            final String message = REZ.getString( "bad-set-attribute.error",
  -                                                  "test",
  -                                                  "some-prop-ref" );
  +            final String message = REZ.getString( "mismatch-ref-types.error",
  +                                                  "prop-a",
  +                                                  String.class.getName(),
  +                                                  ConfigTest2.class.getName() );
               assertSameMessage( message, e );
           }
       }
  
  
  

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