db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r188666 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java
Date Tue, 07 Jun 2005 02:16:31 GMT
Author: clr
Date: Mon Jun  6 19:16:30 2005
New Revision: 188666

URL: http://svn.apache.org/viewcvs?rev=188666&view=rev
Log:
added tests for isUnconstrainedVariablesSupported and isBinaryCompatibilitySupported

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java?rev=188666&r1=188665&r2=188666&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java Mon Jun  6 19:16:30
2005
@@ -576,7 +576,7 @@
     /** Reports whether Non-Durable Identity is supported. */
     public boolean isNonDurableIdentitySupported() {
         return getPMF().supportedOptions().contains(
-            "javax.jdo.option.NonDatastoreIdentity");
+            "javax.jdo.option.NonDurableIdentity");
     }
 
     /** Reports whether an <code>ArrayList</code> collection is supported. */
@@ -649,6 +649,18 @@
     public boolean isChangeApplicationIdentitySupported() {
         return getPMF().supportedOptions().contains(
             "javax.jdo.option.ChangeApplicationIdentity");
+    }
+
+    /** Reports whether Binary Compatibility is supported. */
+    public boolean isBinaryCompatibilitySupported() {
+        return getPMF().supportedOptions().contains(
+            "javax.jdo.option.BinaryCompatibility");
+    }
+
+    /** Reports whether UnconstrainedVariables is supported. */
+    public boolean isUnconstrainedVariablesSupported() {
+        return getPMF().supportedOptions().contains(
+            "javax.jdo.option.UnconstrainedVariables");
     }
 
     /**



Mime
View raw message