ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant WHATSNEW
Date Fri, 20 Feb 2004 08:11:52 GMT
Opps, hit the send button too early.
I meant to say good catch!

Peter
Peter Reilly wrote:

> mbenson@apache.org wrote:
>
>> mbenson     2004/02/19 13:14:16
>>
>>  Modified:    src/testcases/org/apache/tools/ant/filters
>>                        TokenFilterTest.java
>>               src/main/org/apache/tools/ant/filters TokenFilter.java
>>               src/etc/testcases/filters tokenfilter.xml
>>               .        WHATSNEW
>>  Log:
>>  TokenFilter.ReplaceString only replaced the first occurrence.
>>  
>>  Revision  Changes    Path
>>  1.7       +8 -0      
>> ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java
>>  
>>  Index: TokenFilterTest.java
>>  ===================================================================
>>  RCS file: 
>> /home/cvs/ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java,v 
>>
>>  retrieving revision 1.6
>>  retrieving revision 1.7
>>  diff -u -r1.6 -r1.7
>>  --- TokenFilterTest.java    9 Feb 2004 21:05:41 -0000    1.6
>>  +++ TokenFilterTest.java    19 Feb 2004 21:14:16 -0000    1.7
>>  @@ -82,6 +82,10 @@
>>               "this is the moon");
>>       }
>>    +    public void testReplaceStrings() throws IOException {
>>  +        expectLogContaining("replacestrings", "bar bar bar");
>>  +    }
>>  +
>>       public void testContainsString() throws IOException {
>>           String contents = getFileString(
>>               "containsstring", "result/containsstring");
>>  @@ -137,6 +141,10 @@
>>           String contents = getFileString(
>>               "filterreplacestring", "result/filterreplacestring");
>>           assertStringContains(contents, "This is the moon");
>>  +    }
>>  +
>>  +    public void testFilterReplaceStrings() throws IOException {
>>  +        expectLogContaining("filterreplacestrings", "bar bar bar");
>>       }
>>    
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>


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


Mime
View raw message