Author: niallp
Date: Tue Jan 11 23:45:36 2011
New Revision: 1057939

URL: http://svn.apache.org/viewvc?rev=1057939&view=rev
Log:
Remove test which fails on IBM's JDK (fields in ArrayList are implementation 
dependant, therefore this test is not valid)

Modified:
    
commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java

Modified: 
commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java?rev=1057939&r1=1057938&r2=1057939&view=diff
==============================================================================
--- 
commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java
 (original)
+++ 
commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java
 Tue Jan 11 23:45:36 2011
@@ -300,13 +300,16 @@ public class ToStringBuilderTest extends
 
     // Reflection hierarchy tests
 
-    public void testReflectionHierarchyArrayList() {
+    /* Following Test removed because its dependant on the Java implementation
+     * (currently passes using Sun/Oracle implementations, but fails for IBM's
+    public void XtestReflectionHierarchyArrayList() {
         List base = new ArrayList();
         String baseStr = this.toBaseString(base);
         assertEquals(baseStr + 
"[elementData={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>},size=0,modCount=0]",
 ToStringBuilder.reflectionToString(base, null, true));
         assertEquals(baseStr + "[size=0]", 
ToStringBuilder.reflectionToString(base, null, false));
         this.validateNullToStringStyleRegistry();
     }
+     */
 
     public void testReflectionHierarchy() {
         ReflectionTestFixtureA baseA = new ReflectionTestFixtureA();


Reply via email to