You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-cvs@xml.apache.org by da...@apache.org on 2004/06/17 23:04:50 UTC

cvs commit: xml-xmlbeans/v2/test/src/misc/checkin RichParserTests.java

daveremy    2004/06/17 14:04:50

  Modified:    v2/test/src/misc/checkin RichParserTests.java
  Log:
  Contributed by: Yana Kadiyska. Fix failing test
  
  Revision  Changes    Path
  1.3       +4 -1      xml-xmlbeans/v2/test/src/misc/checkin/RichParserTests.java
  
  Index: RichParserTests.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/test/src/misc/checkin/RichParserTests.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RichParserTests.java	17 Jun 2004 16:29:37 -0000	1.2
  +++ RichParserTests.java	17 Jun 2004 21:04:50 -0000	1.3
  @@ -81,7 +81,8 @@
           }
       }
   
  -    private static final String[] strings = {"    this is a long string ... in attribute  ", "    this is a long string\n... in text  "};
  +    private static final String[] strings = {"    this is a long string  ... in attribute  ",
  +                                             "    this is a long string\n\n... in text  "};
       private static int stringsIdx = 0;
       private static final int[] ints = {5, -6, 15, 7, 2147483647, -2147483648, 5, -6, 15, 7, 2147483647, -2147483648};
       private static int intsIdx = 0;
  @@ -204,6 +205,8 @@
           {
               String v = attIndex>-1 ? xs.getAttributeStringValue(attIndex) : xs.getStringValue();
               String s = strings[stringsIdx++];
  +
  +
               Assert.assertTrue("String expected:\n'" + s + "'         actual:\n'" + v + "'", s.equals(v));
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org