db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <craig.russ...@oracle.com>
Subject Re: svn commit: r1488078 - /db/jdo/trunk/tck/src/java/org/apache/jdo/tck/api/persistencemanager/GetProperties.java
Date Sat, 01 Jun 2013 04:07:46 GMT
Thanks for testing.

Craig

On May 31, 2013, at 8:22 PM, Michelle Caisse wrote:

> 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));
>> 
>> 
>> 
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!


Mime
View raw message