Author: niallp
Date: Tue Jul 10 23:25:35 2007
New Revision: 555184

URL: http://svn.apache.org/viewvc?view=rev&rev=555184
Log:
correct test failing in JDK 1.6

Modified:
    jakarta/commons/proper/beanutils/trunk/pom.xml
    
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java

Modified: jakarta/commons/proper/beanutils/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/pom.xml?view=diff&rev=555184&r1=555183&r2=555184
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/pom.xml (original)
+++ jakarta/commons/proper/beanutils/trunk/pom.xml Tue Jul 10 23:25:35 2007
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>1</version>
+    <version>3</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-beanutils</groupId>

Modified: 
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java?view=diff&rev=555184&r1=555183&r2=555184
==============================================================================
--- 
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
 (original)
+++ 
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
 Tue Jul 10 23:25:35 2007
@@ -4252,7 +4252,8 @@
             assertNotNull("Cause not found", cause);
             assertTrue("Expected cause to be IllegalArgumentException, but 
was: " + cause.getClass(),
                     cause instanceof IllegalArgumentException);
-            assertEquals("Check error message", "argument type mismatch", 
cause.getMessage());
+            // JDK 1.6 doesn't have "argument type mismatch" message
+            // assertEquals("Check error message", "argument type mismatch", 
cause.getMessage());
         } catch(Throwable t) {
             fail("Expected IllegalArgumentException, but threw " + t);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to