db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r596211 - in /db/jdo/trunk: api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java api2/test/java/javax/jdo/identity/ObjectIdentityTest.java
Date Mon, 19 Nov 2007 06:49:07 GMT
Author: mbo
Date: Sun Nov 18 22:49:06 2007
New Revision: 596211

URL: http://svn.apache.org/viewvc?rev=596211&view=rev
Log:
JDO-547: api2 ObjectIdentityTest.testStringNullDateConstructor fails due to unexpected date
format in different locales

Modified:
    db/jdo/trunk/api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java
    db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java

Modified: db/jdo/trunk/api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java?rev=596211&r1=596210&r2=596211&view=diff
==============================================================================
--- db/jdo/trunk/api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java (original)
+++ db/jdo/trunk/api2-legacy/test/java/javax/jdo/identity/ObjectIdentityTest.java Sun Nov
18 22:49:06 2007
@@ -237,14 +237,6 @@
             "java.util.Date:" + rightNow);
     }
 
-    public void testStringNullDateConstructor() {
-        // this test uses the standard date-time format
-        // "M/d/yy h:mm a"
-        helper.registerDateFormat(DateFormat.getInstance());
-        Object c1 = new ObjectIdentity(Object.class, 
-            "java.util.Date:" + "10/9/2007 4:26 PM");
-    }
-
     public void testBadStringDateConstructor() {
         try {
             ObjectIdentity c1 = new ObjectIdentity(Object.class, 

Modified: db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java?rev=596211&r1=596210&r2=596211&view=diff
==============================================================================
--- db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java (original)
+++ db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java Sun Nov 18 22:49:06
2007
@@ -237,14 +237,6 @@
             "java.util.Date:" + rightNow);
     }
 
-    public void testStringNullDateConstructor() {
-        // this test uses the standard date-time format
-        // "M/d/yy h:mm a"
-        helper.registerDateFormat(DateFormat.getInstance());
-        Object c1 = new ObjectIdentity(Object.class, 
-            "java.util.Date:" + "10/9/2007 4:26 PM");
-    }
-
     public void testBadStringDateConstructor() {
         try {
             ObjectIdentity c1 = new ObjectIdentity(Object.class, 



Mime
View raw message