db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <mcai...@sonic.net>
Subject Re: svn commit: r1488078 - /db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
Date Sat, 01 Jun 2013 03:22:41 GMT
All tests pass for me.  -- Michelle

On 5/30/2013 6:44 PM, clr@apache.org wrote:
> Author: clr
> Date: Fri May 31 01:44:02 2013
> New Revision: 1488078
>
> URL: http://svn.apache.org/r1488078
> Log:
> Add mixed case tests to getProperties tests
>
> Modified:
>      db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
>
> Modified: db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
> URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java?rev=1488078&r1=1488077&r2=1488078&view=diff
> ==============================================================================
> --- db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
(original)
> +++ db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
Fri May 31 01:44:02 2013
> @@ -178,6 +178,18 @@ public class GetProperties extends JDO_T
>           public void set(PersistenceManager pm, Object value) {pm.setMultithreaded((Boolean)
value);}
>       };
>   
> +    private TestProperty testLowerCaseMultithreaded =
> +            new AbstractAPITestProperty(PROPERTY_MULTITHREADED, true, false) {
> +        public Object get(PersistenceManager pm) {return pm.getMultithreaded();}
> +        public void set(PersistenceManager pm, Object value) {pm.setProperty("javax.jdo.option.multithreaded",
(Boolean) value);}
> +    };
> +
> +    private TestProperty testUpperCaseMultithreaded =
> +        new AbstractAPITestProperty(PROPERTY_MULTITHREADED, true, false) {
> +    public Object get(PersistenceManager pm) {return pm.getMultithreaded();}
> +    public void set(PersistenceManager pm, Object value) {pm.setProperty("javax.jdo.option.MULTITHREADED",
(Boolean) value);}
> +};
> +
>       private TestProperty testDetachAllOnCommit =
>               new AbstractAPITestProperty(PROPERTY_DETACH_ALL_ON_COMMIT, true, false)
{
>           public Object get(PersistenceManager pm) {return pm.getDetachAllOnCommit();}
> @@ -242,7 +254,8 @@ public class GetProperties extends JDO_T
>           testRequiredProperties.add(testIgnoreCache);
>           testRequiredProperties.add(testRestoreValues);
>           
> -        testOptionalProperties.put(PROPERTY_MULTITHREADED, setOf(testMultithreaded));
> +        testOptionalProperties.put(PROPERTY_MULTITHREADED, setOf(testMultithreaded,
testLowerCaseMultithreaded,
> +                testUpperCaseMultithreaded));
>           testOptionalProperties.put(OPTION_DATASTORE_TIMEOUT,
>                   setOf(testDatastoreReadTimeoutMillis, testDatastoreWriteTimeoutMillis));
>           testOptionalProperties.put(PROPERTY_OPTIMISTIC, setOf(testOptimistic));
>
>
>


Mime
View raw message