ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib ChangeLogWriterTest.java
Date Thu, 18 Nov 2004 15:24:26 GMT
stevel      2004/11/18 07:24:26

  Modified:    src/testcases/org/apache/tools/ant/taskdefs/cvslib
                        ChangeLogWriterTest.java
  Log:
  patch to stop java1.5 whining about character encodings.
  
  Revision  Changes    Path
  1.2       +2 -2      ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriterTest.java
  
  Index: ChangeLogWriterTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/cvslib/ChangeLogWriterTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogWriterTest.java	11 Nov 2004 17:27:43 -0000	1.1
  +++ ChangeLogWriterTest.java	18 Nov 2004 15:24:26 -0000	1.2
  @@ -41,9 +41,9 @@
       private ChangeLogWriter writer = new ChangeLogWriter();
   
       public void testNonUTF8Characters() throws Exception {
  -        CVSEntry entry = new CVSEntry(new Date(), "Señorita", "2003 < 2004 &&
3 > 5");
  +        CVSEntry entry = new CVSEntry(new Date(), "Se\u00f1orita", "2003 < 2004 &&
3 > 5");
           entry.addFile("Medicare & review.doc", "1.1");
  -        entry.addFile("Eléments de style", "1.2");
  +        entry.addFile("El\u00e8ments de style", "1.2");
           CVSEntry[] entries = { entry };
   
           ByteArrayOutputStream output = new ByteArrayOutputStream();
  
  
  

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


Mime
View raw message