Index: test/java/org/apache/jdo/tck/util/BatchTestRunner.java =================================================================== --- test/java/org/apache/jdo/tck/util/BatchTestRunner.java (Revision 291468) +++ test/java/org/apache/jdo/tck/util/BatchTestRunner.java (Arbeitskopie) @@ -30,6 +30,8 @@ import junit.textui.ResultPrinter; import junit.textui.TestRunner; +import javax.jdo.JDOFatalException; + /** * TestRunner class for running a single test or a test suite in batch * mode. The format of the test output is specified by the result printer @@ -86,7 +88,7 @@ /** * Runs in batch mode and sets an exit code. If the specified String * array includes a single fully qualified class name, this test class - * is executed. If it is empty it runs the TestListSuite. + * is executed. */ public static void main(String args[]) { try { @@ -104,16 +106,38 @@ public TestResult start(String[] args) { Test suite = null; if ((args == null) || args.length == 0) { - suite = getTest(TestListSuite.class.getName()); + String conf = System.getProperty("jdo.tck.cfg"); + throw new JDOFatalException( + "Missing JDO TCK test classes for configuration '" + conf + + "'. Please check the property 'jdo.tck.classes'."); } else if (args.length == 1) { suite = getTest(args[0]); } else { - suite = new TestListSuite("JDO TCK", Arrays.asList(args)); + suite = getTestSuite(args); } return doRun(suite); } + + /** + * Returns a JUnit TestSuite instance for the classes of the specified + * list of class names. + */ + protected TestSuite getTestSuite(String[] classNames) { + TestSuite testSuite = new TestSuite(); + for (int i = 0; i < classNames.length; i++) { + String className = classNames[i]; + try { + testSuite.addTestSuite(Class.forName(className)); + } + catch (ClassNotFoundException ex) { + System.out.println( + "Cannot find test class '" + className + "'."); + } + } + return testSuite; + } /** * Returns a result printer instance. The system property Index: test/java/org/apache/jdo/tck/util/SwingTestRunner.java =================================================================== --- test/java/org/apache/jdo/tck/util/SwingTestRunner.java (Revision 291468) +++ test/java/org/apache/jdo/tck/util/SwingTestRunner.java (Arbeitskopie) @@ -1,132 +0,0 @@ -/* - * Copyright 2005 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.jdo.tck.util; - -import java.util.Arrays; -import java.util.List; - -import javax.swing.JCheckBox; -import javax.swing.JOptionPane; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.swingui.TestRunner; - -/** - * TestRunner class for running a single test or a test suite in GUI mode - * using swing. - * - * @author Michael Bouschen - */ -public class SwingTestRunner - extends TestRunner -{ - /** */ - private static final String TESTCOLLECTOR_KEY= "TestCollectorClass"; - - /** */ - private static final String USER_DEFINED = "User defined test list"; - - /** */ - private Test suite = null; - - /** */ - public SwingTestRunner() { - super(); - setPreference(TESTCOLLECTOR_KEY, TestListSuite.class.getName()); - // Disable feature: reloading of test classes every run. - setPreference("loading", "false"); - } - - /** */ - public static void main(String[] args) { - new SwingTestRunner().start(args); - } - - /** */ - public static void run(Class test) { - main(new String[] { test.getName() }); - } - - /** */ - public void start(String[] args) { - String suiteName = "JDO TCK"; - fFrame = createUI(suiteName); - fFrame.pack(); - fFrame.setVisible(true); - if ((args == null) || args.length == 0) { - suite = getTest(TestListSuite.class.getName()); - } - else if (args.length == 1) { - suiteName = args[0]; - suite = getTest(args[0]); - } - else { - suite = new TestListSuite(suiteName, Arrays.asList(args)); - } - setSuite(suiteName); - runTest(suite); - } - - /** Disable feature: reloading of test classes every run. */ - protected JCheckBox createUseLoaderCheckBox() { - JCheckBox box = super.createUseLoaderCheckBox(); - box.setVisible(false); - return box; - } - - /** */ - public void browseTestClasses() { - TestSelector selector= new TestSelector(fFrame, new TestListSuite("JDO TCK test selection")); - if (selector.isEmpty()) { - JOptionPane.showMessageDialog(fFrame, "No Test Cases found.\nCheck that the configured \'TestCollector\' is supported on this platform."); - return; - } - selector.show(); - List classNames = selector.getSelectedItems(); - if ((classNames != null) && (!classNames.isEmpty())) { - if (classNames.size() == 1) { - setSuite((String)classNames.get(0)); - } - else { - setSuite(USER_DEFINED); - suite = new TestListSuite("Selected JDO TCK tests", classNames); - } - } - } - - /** */ - public Test getTest(String suiteClassName) { - if ((suiteClassName != null ) && suiteClassName.equals(USER_DEFINED)) { - if (suite == null) { - // user selected 'User defines test list' from history, - // but there is no user selection => use all tests - suite = new TestListSuite("JDO TCK tests"); - } - return suite; - } - return super.getTest(suiteClassName); - } - - /** - * Terminates the TestRunner - */ - public void terminate() { - fFrame.dispose(); - System.exit(0); - } -} Index: test/java/org/apache/jdo/tck/util/TestListSuite.java =================================================================== --- test/java/org/apache/jdo/tck/util/TestListSuite.java (Revision 291468) +++ test/java/org/apache/jdo/tck/util/TestListSuite.java (Arbeitskopie) @@ -1,165 +0,0 @@ -/* - * Copyright 2005 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.jdo.tck.util; - -import java.io.BufferedReader; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.security.AccessController; -import java.security.PrivilegedActionException; -import java.security.PrivilegedExceptionAction; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Enumeration; -import java.util.Iterator; -import java.util.List; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.runner.TestCollector; - -/** - * This class implements a test suite including all test cases as specified - * in a testlist file. The user can specify the name of the testlist by - * setting the system property testlist. The default is - * JDOTCKTestCases.list. The swing GUI uses this class when browsing all - * test classes. - * - * @author Michael Bouschen - */ -public class TestListSuite - extends TestSuite - implements TestCollector -{ - /** Name of the system property to specify the list of test class names. */ - public static final String TESTLIST_PROPERTY = "testlist"; - - /** Default of the system property testlist. */ - public static final String TESTLIST_DEFAULT = "JDOTCKTestCases.list"; - - /** - * No arg constructor used by the swing GUI when browsing the test - * classes via the TestCollector interface. - */ - public TestListSuite() { } - - /** - * Creates a test suite with the specified name and reads the test - * class names fom a file specified by a system property. - */ - public TestListSuite(String name) { - setName(name); - addTestClasses(getTestClassNames()); - } - - /** - * Creates a test suite with the specified name including the test - * classes from the specified list. - */ - public TestListSuite(String name, List classNames) { - setName(name); - addTestClasses(classNames); - } - - /** Runs this test suite in batch mode. */ - public static void main(String args[]) { - BatchTestRunner.run(suite()); - } - - /** */ - public static Test suite() { - return new TestListSuite("JDOTCK tests"); - } - - /** - * Adds all test classes from the specified list to this test - * suite. - */ - private void addTestClasses(List classNames) { - for (Iterator i = classNames.iterator(); i.hasNext();) { - String className = (String)i.next(); - try { - addTestSuite(Class.forName(className)); - } - catch (ClassNotFoundException ex) { - System.out.println("Cannot find test class " + className); - } - } - } - - /** - * Returns an enumeration of Strings with qualified class names. - * Method defined in the JUnit interface TestCollector. - */ - public Enumeration collectTests() { - return Collections.enumeration(getTestClassNames()); - } - - /** - * Returns a list of fully qualified test class names. The method - * checks the system property testlist for the name of the test list - * (default is JDOTCKTestCases.list). Each line of the file is expected - * to be the fully qualified class name of a test class. Line starting - * with a # are skipped. - */ - protected List getTestClassNames() { - // get the name of the testlist file as system property - String testlist = System.getProperty(TESTLIST_PROPERTY, TESTLIST_DEFAULT); - List testClassNames = new ArrayList(); - try { - BufferedReader reader = getTestListReader(testlist); - for (String line = reader.readLine(); - line != null; - line = reader.readLine()) { - line = line.trim(); - if (isTestClassName(line)) { - testClassNames.add(line); - } - } - reader.close(); - } - catch (IOException ex) { - System.out.println("Problems reading testlist " + testlist + ": " + ex); - } - return testClassNames; - } - - /** Returns a BufferedReader for the specified testlist filename. */ - protected BufferedReader getTestListReader(final String testlist) - throws FileNotFoundException { - try { - return (BufferedReader)AccessController.doPrivileged( - new PrivilegedExceptionAction () { - public Object run () throws IOException { - return new BufferedReader(new FileReader(testlist)); - } - }); - } - catch (PrivilegedActionException ex) { - // unwrap IOException - throw (FileNotFoundException)ex.getException(); - } - } - - /** Returns true if the specified String defines a test class name. */ - protected boolean isTestClassName(String line) { - return (line != null) && - (line.length() > 0) && - !line.trim().startsWith("#"); - } -} - Index: test/conf/JDOTCKTestCases.list =================================================================== --- test/conf/JDOTCKTestCases.list (Revision 291468) +++ test/conf/JDOTCKTestCases.list (Arbeitskopie) @@ -1,404 +0,0 @@ -# JDO TCK test cases - -# package org.apache.jdo.tck.api.instancecallbacks - -org.apache.jdo.tck.api.instancecallbacks.AccessOtherInstancesInPrestore -org.apache.jdo.tck.api.instancecallbacks.AccessingFieldsInPredelete -org.apache.jdo.tck.api.instancecallbacks.CallingJdoPostload -org.apache.jdo.tck.api.instancecallbacks.CallingJdoPreclear -org.apache.jdo.tck.api.instancecallbacks.CallingJdoPredelete -org.apache.jdo.tck.api.instancecallbacks.CallingJdoPrestore -org.apache.jdo.tck.api.instancecallbacks.ModificationOfNontransactionalNonpersistentFields -org.apache.jdo.tck.api.instancecallbacks.NoAccessToFieldsAfterPredelete - -# package org.apache.jdo.tck.api.jdohelper - -org.apache.jdo.tck.api.jdohelper.GetObjectId -org.apache.jdo.tck.api.jdohelper.GetObjectIdForNull -org.apache.jdo.tck.api.jdohelper.GetObjectIdForTransient -org.apache.jdo.tck.api.jdohelper.GetObjectIdNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.GetPersistenceManager -org.apache.jdo.tck.api.jdohelper.GetPersistenceManagerForNull -org.apache.jdo.tck.api.jdohelper.GetPersistenceManagerForTransient -org.apache.jdo.tck.api.jdohelper.GetPersistenceManagerNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.GetTransactionalObjectId -org.apache.jdo.tck.api.jdohelper.GetTransactionalObjectIdForNull -org.apache.jdo.tck.api.jdohelper.GetTransactionalObjectIdForTransient -org.apache.jdo.tck.api.jdohelper.GetTransactionalObjectIdNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.IsDeleted -org.apache.jdo.tck.api.jdohelper.IsDeletedFalse -org.apache.jdo.tck.api.jdohelper.IsDeletedForNull -org.apache.jdo.tck.api.jdohelper.IsDeletedForTransient -org.apache.jdo.tck.api.jdohelper.IsDeletedNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.IsDirty -org.apache.jdo.tck.api.jdohelper.IsDirtyFalse -org.apache.jdo.tck.api.jdohelper.IsDirtyForNull -org.apache.jdo.tck.api.jdohelper.IsDirtyForTransient -org.apache.jdo.tck.api.jdohelper.IsDirtyNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.IsNew -org.apache.jdo.tck.api.jdohelper.IsNewFalse -org.apache.jdo.tck.api.jdohelper.IsNewForNull -org.apache.jdo.tck.api.jdohelper.IsNewForTransient -org.apache.jdo.tck.api.jdohelper.IsNewNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.IsPersistent -org.apache.jdo.tck.api.jdohelper.IsPersistentFalse -org.apache.jdo.tck.api.jdohelper.IsPersistentForNull -org.apache.jdo.tck.api.jdohelper.IsPersistentForTransient -org.apache.jdo.tck.api.jdohelper.IsPersistentNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.IsTransactional -org.apache.jdo.tck.api.jdohelper.IsTransactionalFalse -org.apache.jdo.tck.api.jdohelper.IsTransactionalForNull -org.apache.jdo.tck.api.jdohelper.IsTransactionalForTransient -org.apache.jdo.tck.api.jdohelper.IsTransactionalNotPersistenceCapable -org.apache.jdo.tck.api.jdohelper.MakeDirty -org.apache.jdo.tck.api.jdohelper.MakeDirtyForNull -org.apache.jdo.tck.api.jdohelper.MakeDirtyForTransient -org.apache.jdo.tck.api.jdohelper.MakeDirtyNotPersistenceCapable - -# package org.apache.jdo.tck.api.persistencemanager - -org.apache.jdo.tck.api.persistencemanager.AfterCloseAllMethodsThrowException -org.apache.jdo.tck.api.persistencemanager.CallingEvictAllWithCollectionContainingNulls -org.apache.jdo.tck.api.persistencemanager.CallingRefreshAllWithCollectionContainingNulls -org.apache.jdo.tck.api.persistencemanager.ChangingObjectIdHasNoEffectOnInstance -org.apache.jdo.tck.api.persistencemanager.CloseThrowsExceptionWhenActiveTx -org.apache.jdo.tck.api.persistencemanager.ConcurrentPersistenceManagers -org.apache.jdo.tck.api.persistencemanager.ConcurrentPersistenceManagersSameClasses -org.apache.jdo.tck.api.persistencemanager.CurrentTransaction -org.apache.jdo.tck.api.persistencemanager.DeletePersistent -org.apache.jdo.tck.api.persistencemanager.DeletePersistentAllFails -org.apache.jdo.tck.api.persistencemanager.DeletePersistentFailsIfInstanceIsTransient -org.apache.jdo.tck.api.persistencemanager.DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager -org.apache.jdo.tck.api.persistencemanager.DeletePersistentHasNoEffectOnDeletedInstances -org.apache.jdo.tck.api.persistencemanager.EvictAllWithNoParameters -org.apache.jdo.tck.api.persistencemanager.EvictingCollectionOfInstancesSideEffects -org.apache.jdo.tck.api.persistencemanager.EvictingWithRestoreValuesFalse -org.apache.jdo.tck.api.persistencemanager.EvictingWithRetainValuesFalse -org.apache.jdo.tck.api.persistencemanager.GetExtentWithInstancesMadePersistentViaReachability -org.apache.jdo.tck.api.persistencemanager.GetExtentWithNoSubclasses -org.apache.jdo.tck.api.persistencemanager.GetExtentWithSubclasses -org.apache.jdo.tck.api.persistencemanager.GetIgnoreCache -org.apache.jdo.tck.api.persistencemanager.GetObjectById -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNoValidationInstanceInCache -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNoValidationInstanceInCacheNoStateChange -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNoValidationInstanceNotInCache -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNoValidationInstanceNotInCacheNoTx -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNoValidationInstanceNotInDatastore -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdNotResolved -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdWithValidationInstanceInCache -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdWithValidationInstanceInCacheNotInDatastore -org.apache.jdo.tck.api.persistencemanager.GetObjectByIdWithValidationInstanceNotInCacheNotInDatastore -org.apache.jdo.tck.api.persistencemanager.GetObjectId -org.apache.jdo.tck.api.persistencemanager.GetObjectIdClass -org.apache.jdo.tck.api.persistencemanager.GetObjectIdClassForAbstractOrNonPersistenceCapableClass -org.apache.jdo.tck.api.persistencemanager.GetObjectIdForNullOrNotPersistent -org.apache.jdo.tck.api.persistencemanager.GetObjectIdWithApplicationModifyingIdentity -org.apache.jdo.tck.api.persistencemanager.GetPersistenceManagerFactory -org.apache.jdo.tck.api.persistencemanager.GetSetUserObject -org.apache.jdo.tck.api.persistencemanager.GetTransactionalObjectIdWhenObjectIdBeingChanged -org.apache.jdo.tck.api.persistencemanager.GetTransactionalObjectIdWithNoTransaction -org.apache.jdo.tck.api.persistencemanager.IsClosedIsFalseUponConstruction -org.apache.jdo.tck.api.persistencemanager.IsClosedIsFalseUponRetrievalFromPool -org.apache.jdo.tck.api.persistencemanager.IsClosedIsTrueAfterClose -org.apache.jdo.tck.api.persistencemanager.MakeNontransactionalAllFails -org.apache.jdo.tck.api.persistencemanager.MakeNontransactionalDirtyInstance -org.apache.jdo.tck.api.persistencemanager.MakeNontransactionalIsImmediate -org.apache.jdo.tck.api.persistencemanager.MakeNontransactionalPersistentCleanInstance -org.apache.jdo.tck.api.persistencemanager.MakeNontransactionalTransientCleanInstance -org.apache.jdo.tck.api.persistencemanager.MakePersistent -org.apache.jdo.tck.api.persistencemanager.MakePersistentAllFails -org.apache.jdo.tck.api.persistencemanager.MakePersistentAndInstancesNotReachable -org.apache.jdo.tck.api.persistencemanager.MakePersistentAssignsObjectId -org.apache.jdo.tck.api.persistencemanager.MakePersistentFailsIfInstanceManagedByAnotherPersistenceManager -org.apache.jdo.tck.api.persistencemanager.MakePersistentHasNoEffectOnPersistentInstances -org.apache.jdo.tck.api.persistencemanager.MakeTransactional -org.apache.jdo.tck.api.persistencemanager.MakeTransactionalANontransactionalPersistentInstance -org.apache.jdo.tck.api.persistencemanager.MakeTransactionalAllFails -org.apache.jdo.tck.api.persistencemanager.MakeTransactionalIsImmediate -org.apache.jdo.tck.api.persistencemanager.MakeTransactionalPriorToTransactionRolledback -org.apache.jdo.tck.api.persistencemanager.MakeTransactionalWithinTransactionRolledback -org.apache.jdo.tck.api.persistencemanager.MakeTransient -org.apache.jdo.tck.api.persistencemanager.MakeTransientAllFails -org.apache.jdo.tck.api.persistencemanager.MakeTransientCausesLossOfIdentity -org.apache.jdo.tck.api.persistencemanager.MakeTransientFailsWithDirtyInstance -org.apache.jdo.tck.api.persistencemanager.MakeTransientFieldsPreservedUnchanged -org.apache.jdo.tck.api.persistencemanager.MakeTransientHasNoEffectOnTransientInstances -org.apache.jdo.tck.api.persistencemanager.MakeTransientNotSubjectToRollback -org.apache.jdo.tck.api.persistencemanager.NoPersistenceManagerIfTransient -org.apache.jdo.tck.api.persistencemanager.ObjectIdUniqueAmongInstances -org.apache.jdo.tck.api.persistencemanager.OneInstanceOfObjectPerPersistenceManager -org.apache.jdo.tck.api.persistencemanager.OnePersistenceManagerIfPersistentOrTransactional -org.apache.jdo.tck.api.persistencemanager.OptimisticFailure -org.apache.jdo.tck.api.persistencemanager.PassingNullToEvictAllThrowsException -org.apache.jdo.tck.api.persistencemanager.PassingNullToEvictHasNoEffect -org.apache.jdo.tck.api.persistencemanager.PassingNullToRefreshAllThrowsException -org.apache.jdo.tck.api.persistencemanager.PassingNullToRefreshHasNoEffect -org.apache.jdo.tck.api.persistencemanager.RefreshAllNoParameterSideEffects -org.apache.jdo.tck.api.persistencemanager.RefreshAllWithArraySideEffects -org.apache.jdo.tck.api.persistencemanager.RefreshAllWithCollectionSideEffects -org.apache.jdo.tck.api.persistencemanager.RefreshAllWithNoParameters -org.apache.jdo.tck.api.persistencemanager.RefreshSideEffects -org.apache.jdo.tck.api.persistencemanager.Retrieve -org.apache.jdo.tck.api.persistencemanager.SameTransactionInstanceForAllCallsToCurrentTransaction -org.apache.jdo.tck.api.persistencemanager.SetIgnoreCacheToFalse -org.apache.jdo.tck.api.persistencemanager.SetIgnoreCacheToTrue -org.apache.jdo.tck.api.persistencemanager.SetMultithreadedFalse -org.apache.jdo.tck.api.persistencemanager.SetMultithreadedTrue -org.apache.jdo.tck.api.persistencemanager.SettingFlagsWithTransactionInstance -org.apache.jdo.tck.api.persistencemanager.ThreadSafe -org.apache.jdo.tck.api.persistencemanager.TransientTransactionalInstanceRetainsValuesAtCommit - -# package org.apache.jdo.tck.api.persistencemanagerfactory - -org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseGetPMThrowsException -org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseSetMethodsThrowException -org.apache.jdo.tck.api.persistencemanagerfactory.AfterGetPersistenceManagerNoSetMethodsSucceed -org.apache.jdo.tck.api.persistencemanagerfactory.Close -org.apache.jdo.tck.api.persistencemanagerfactory.CloseFailsIfTransactionActive -org.apache.jdo.tck.api.persistencemanagerfactory.CloseWithoutPermissionThrowsSecurityException -org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager -org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerFactoryByPropertiesInstance -org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser -org.apache.jdo.tck.api.persistencemanagerfactory.GetProperties -org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionPassword -org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionURL -org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionUserName -org.apache.jdo.tck.api.persistencemanagerfactory.SetIgnoreCache -org.apache.jdo.tck.api.persistencemanagerfactory.SetMultithreaded -org.apache.jdo.tck.api.persistencemanagerfactory.SetNonTransactionalRead -org.apache.jdo.tck.api.persistencemanagerfactory.SetNonTransactionalWrite -org.apache.jdo.tck.api.persistencemanagerfactory.SetOptimistic -org.apache.jdo.tck.api.persistencemanagerfactory.SetRetainValues -org.apache.jdo.tck.api.persistencemanagerfactory.SupportedOptions - -# package org.apache.jdo.tck.enhancement - -org.apache.jdo.tck.enhancement.FieldAccessModified -org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable - -# package org.apache.jdo.tck.extents - -org.apache.jdo.tck.extents.CloseAll -org.apache.jdo.tck.extents.CloseOfExtentIteratorIsIteratorSpecific -org.apache.jdo.tck.extents.GetCandidateClass -org.apache.jdo.tck.extents.GetPersistenceManager -org.apache.jdo.tck.extents.HasSubclassesFalse -org.apache.jdo.tck.extents.HasSubclassesTrue -org.apache.jdo.tck.extents.InstancesDeletedPriorToIterationNotReturned -org.apache.jdo.tck.extents.InstancesPersistedPriorToIterationReturned -org.apache.jdo.tck.extents.IteratorHasNextFalseAfterExtentClose -org.apache.jdo.tck.extents.IteratorMutatingMethods -org.apache.jdo.tck.extents.IteratorNextAfterExtentClose -org.apache.jdo.tck.extents.IteratorNextAfterExtentCloseAll -org.apache.jdo.tck.extents.Iterators - -# package org.apache.jdo.tck.lifecycle - -org.apache.jdo.tck.lifecycle.HollowInstanceMaintainsPK -org.apache.jdo.tck.lifecycle.MultiplePMsReturnInstancesRepresentingSamePC -org.apache.jdo.tck.lifecycle.ObjectIdNotModifiedWhenObjectIdInstanceModified -org.apache.jdo.tck.lifecycle.PMReturnsIdenticalInstancesForEqualObjIds -org.apache.jdo.tck.lifecycle.PMsCanSharePCClassesButNotPCInstances -org.apache.jdo.tck.lifecycle.StateTransitions -org.apache.jdo.tck.lifecycle.TransientTransactionalStateCommit -org.apache.jdo.tck.lifecycle.TransientTransactionalStateRollback - -# package org.apache.jdo.tck.lifecycle.nontransactional - -org.apache.jdo.tck.lifecycle.nontransactional.ModificationOfNontransactionalInstanceOutsideTransaction - -# package org.apache.jdo.tck.models.embedded - -org.apache.jdo.tck.models.embedded.SecondClassObjectsTrackTheirChanges - -# package org.apache.jdo.tck.models.fieldtypes - -org.apache.jdo.tck.models.fieldtypes.TestArrayCollections -org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections -org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfBigDecimal -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfBigInteger -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfBoolean -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfByte -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfCharacter -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfDate -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfDouble -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfFloat -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfInteger -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfLocale -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfLong -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfObject -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitiveboolean -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitivebyte -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitivechar -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitivedouble -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitivefloat -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitiveint -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitivelong -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitiveshort -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfShort -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleInterface -org.apache.jdo.tck.models.fieldtypes.TestFieldsOfString -org.apache.jdo.tck.models.fieldtypes.TestHashMapStringKeyCollections -org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections -org.apache.jdo.tck.models.fieldtypes.TestHashSetCollections -org.apache.jdo.tck.models.fieldtypes.TestHashtableStringKeyCollections -org.apache.jdo.tck.models.fieldtypes.TestHashtableStringValueCollections -org.apache.jdo.tck.models.fieldtypes.TestLinkedListCollections -org.apache.jdo.tck.models.fieldtypes.TestListCollections -org.apache.jdo.tck.models.fieldtypes.TestMapStringKeyCollections -org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections -org.apache.jdo.tck.models.fieldtypes.TestSetCollections -org.apache.jdo.tck.models.fieldtypes.TestTreeMapStringKeyCollections -org.apache.jdo.tck.models.fieldtypes.TestTreeMapStringValueCollections -org.apache.jdo.tck.models.fieldtypes.TestTreeSetCollections -org.apache.jdo.tck.models.fieldtypes.TestVectorCollections - -# package org.apache.jdo.tck.models.inheritance - -org.apache.jdo.tck.models.inheritance.FieldWithSameNameInSuperclass -org.apache.jdo.tck.models.inheritance.NonPersistentFieldsAreNonPersistentInSubclasses -org.apache.jdo.tck.models.inheritance.NonpersistentSuperClass -org.apache.jdo.tck.models.inheritance.PersistenceCapableFlexibilityInInheritanceHierarchy -org.apache.jdo.tck.models.inheritance.PersistentFieldsArePersistentInSubClasses -org.apache.jdo.tck.models.inheritance.TransactionalFieldsAreTransactionalInSubclasses - -# package org.apache.jdo.tck.query.api - -org.apache.jdo.tck.query.api.Close -org.apache.jdo.tck.query.api.CloseAll -org.apache.jdo.tck.query.api.CompileQuery -org.apache.jdo.tck.query.api.DeclareImports -org.apache.jdo.tck.query.api.DeclareParameters -org.apache.jdo.tck.query.api.DeclareVariables -org.apache.jdo.tck.query.api.ExecuteQuery -org.apache.jdo.tck.query.api.ExecuteQueryWithArray -org.apache.jdo.tck.query.api.ExecuteQueryWithMap -org.apache.jdo.tck.query.api.GetIgnoreCache -org.apache.jdo.tck.query.api.GetPersistenceManager -org.apache.jdo.tck.query.api.GetPersistenceManagerFromRestoredSerializedQuery -org.apache.jdo.tck.query.api.NewQueryFromExistingQueryBoundToPMFromSameVendor -org.apache.jdo.tck.query.api.NewQueryFromRestoredSerializedQuery -org.apache.jdo.tck.query.api.NewQueryWithCandidateClass -org.apache.jdo.tck.query.api.NewQueryWithCandidateClassAndCollection -org.apache.jdo.tck.query.api.NewQueryWithCandidateClassAndExtent -org.apache.jdo.tck.query.api.NewQueryWithCandidateClassAndFilter -org.apache.jdo.tck.query.api.NewQueryWithCandidateClassCollectionFilter -org.apache.jdo.tck.query.api.NewQueryWithExtent -org.apache.jdo.tck.query.api.NewQueryWithExtentAndFilter -org.apache.jdo.tck.query.api.NewQueryWithSpecifiedLanguageAndQuery -org.apache.jdo.tck.query.api.SetCandidateCollection -org.apache.jdo.tck.query.api.SetCandidateExtent -org.apache.jdo.tck.query.api.SetFilter -org.apache.jdo.tck.query.api.SetIgnoreCache -org.apache.jdo.tck.query.api.SetOrdering -org.apache.jdo.tck.query.api.SetterReplacePreviousValues - -# package org.apache.jdo.tck.query.jdoql - -org.apache.jdo.tck.query.jdoql.AssignmentPrePostIncrementDecrementNotSupported -org.apache.jdo.tck.query.jdoql.Cast -org.apache.jdo.tck.query.jdoql.ComparingCollectionFieldToNull -org.apache.jdo.tck.query.jdoql.ComparingPersistentAndNonPersistentInstance -org.apache.jdo.tck.query.jdoql.DenoteUniquenessInFilter -org.apache.jdo.tck.query.jdoql.ExecuteQueryWhenPersistenceManagerIsClosed -org.apache.jdo.tck.query.jdoql.ExecutingMultipleQueriesSimultaneouslyIsThreadSafe -org.apache.jdo.tck.query.jdoql.ExecutingQueryWhenNoTransactionNoNontransactionalRead -org.apache.jdo.tck.query.jdoql.IgnoreCacheFalse -org.apache.jdo.tck.query.jdoql.MultipleActiveQueryInstanceInSamePersistenceManager -org.apache.jdo.tck.query.jdoql.MultipleIdenticalImports -org.apache.jdo.tck.query.jdoql.NamespaceOfIdentifiers -org.apache.jdo.tck.query.jdoql.NavigationThroughACollectionField -org.apache.jdo.tck.query.jdoql.NavigationThroughANullValuedField -org.apache.jdo.tck.query.jdoql.NavigationThroughReferencesUsesDotOperator -org.apache.jdo.tck.query.jdoql.NullCollectionsAndContainsMethod -org.apache.jdo.tck.query.jdoql.NullCollectionsAndIsEmpty -org.apache.jdo.tck.query.jdoql.OrderingSpecification -org.apache.jdo.tck.query.jdoql.ParenthesesMarkOperatorPrecedence -org.apache.jdo.tck.query.jdoql.QueryIsSerializable -org.apache.jdo.tck.query.jdoql.QueryResultPassedToAnotherQuery -org.apache.jdo.tck.query.jdoql.QueryWithNoFilter -org.apache.jdo.tck.query.jdoql.RestoredSerializedQueryInstanceLosesAssociationWithPM -org.apache.jdo.tck.query.jdoql.SeparateNamespaceForTypeNames -org.apache.jdo.tck.query.jdoql.WhiteSpaceIsACharacterAndIgnored - -# package org.apache.jdo.tck.query.jdoql.keywords - -org.apache.jdo.tck.query.jdoql.keywords.ThisIsReservedWordForElementOfCollection -org.apache.jdo.tck.query.jdoql.keywords.UseOfThisToAcessHiddenField - -# package org.apache.jdo.tck.query.jdoql.methods - -org.apache.jdo.tck.query.jdoql.methods.MethodsAndObjectConstructionNotSupported -org.apache.jdo.tck.query.jdoql.methods.StartsWithAndEndsWith -org.apache.jdo.tck.query.jdoql.methods.SupportedCollectionMethods - -# package org.apache.jdo.tck.query.jdoql.operators - -org.apache.jdo.tck.query.jdoql.operators.BinaryAddition -org.apache.jdo.tck.query.jdoql.operators.BinarySubtraction -org.apache.jdo.tck.query.jdoql.operators.BitwiseComplement -org.apache.jdo.tck.query.jdoql.operators.BooleanLogicalAND -org.apache.jdo.tck.query.jdoql.operators.BooleanLogicalOR -org.apache.jdo.tck.query.jdoql.operators.ConditionalAND -org.apache.jdo.tck.query.jdoql.operators.ConditionalOR -org.apache.jdo.tck.query.jdoql.operators.Division -org.apache.jdo.tck.query.jdoql.operators.Equality -org.apache.jdo.tck.query.jdoql.operators.EqualityAndComparisonsBetweenDateFieldsAndParameters -org.apache.jdo.tck.query.jdoql.operators.EqualityAndComparisonsBetweenPrimitivesAndWrapperInstances -org.apache.jdo.tck.query.jdoql.operators.EqualityAndComparisonsBetweenStringFieldsAndParameters -org.apache.jdo.tck.query.jdoql.operators.GreaterThan -org.apache.jdo.tck.query.jdoql.operators.GreaterThanOrEqual -org.apache.jdo.tck.query.jdoql.operators.LessThan -org.apache.jdo.tck.query.jdoql.operators.LessThanOrEqual -org.apache.jdo.tck.query.jdoql.operators.LogicalComplement -org.apache.jdo.tck.query.jdoql.operators.Multiplication -org.apache.jdo.tck.query.jdoql.operators.NotEquals -org.apache.jdo.tck.query.jdoql.operators.PromotionOfNumericOperands -org.apache.jdo.tck.query.jdoql.operators.SignInversion -org.apache.jdo.tck.query.jdoql.operators.StringConcatenation -org.apache.jdo.tck.query.jdoql.operators.UnaryPlus - -# package org.apache.jdo.tck.query.jdoql.parameters - -org.apache.jdo.tck.query.jdoql.parameters.BoundParameterCheck -org.apache.jdo.tck.query.jdoql.parameters.ParameterBoundToDifferentPM -org.apache.jdo.tck.query.jdoql.parameters.ParameterDeclaredWithSameNameAsFieldOfCandidateClass -org.apache.jdo.tck.query.jdoql.parameters.PrimitiveParameterPassedAsNull - -# package org.apache.jdo.tck.query.jdoql.variables - -org.apache.jdo.tck.query.jdoql.variables.VariableDeclaredWithSameNameAsFieldOfCandidateClass - -# package org.apache.jdo.tck.query.result - -org.apache.jdo.tck.query.result.ImmutableQueryResult - -# package org.apache.jdo.tck.transactions - -org.apache.jdo.tck.transactions.AfterCompletionMethodCalledWhenCommitted -org.apache.jdo.tck.transactions.AfterCompletionMethodCalledWhenRolledback -org.apache.jdo.tck.transactions.BeforeCompletionMethodCalled -org.apache.jdo.tck.transactions.BeforeCompletionMethodNotCalledBeforeRollback -org.apache.jdo.tck.transactions.Commit -org.apache.jdo.tck.transactions.GetPersistenceManager -org.apache.jdo.tck.transactions.GetRetainValues -org.apache.jdo.tck.transactions.GetSynchronization -org.apache.jdo.tck.transactions.IsActive -org.apache.jdo.tck.transactions.IsActiveUntilAfterCompletionMethodCalled -org.apache.jdo.tck.transactions.Rollback -org.apache.jdo.tck.transactions.SetNontransactionalRead -org.apache.jdo.tck.transactions.WhenNontransactionalReadIsFalse -org.apache.jdo.tck.transactions.SetNontransactionalReadCalledDuringTxCompletion -org.apache.jdo.tck.transactions.SetNontransactionalWriteCalledDuringTxCompletion -org.apache.jdo.tck.transactions.SetNontransactionalReadTrueWhenNotSupported -org.apache.jdo.tck.transactions.SetOptimistic -org.apache.jdo.tck.transactions.SetOptimisticCalledDuringTxCompletion -org.apache.jdo.tck.transactions.SetOptimisticDuringTransaction -org.apache.jdo.tck.transactions.SetOptimisticTrueWhenNotSupported -org.apache.jdo.tck.transactions.SetRetainValues -org.apache.jdo.tck.transactions.SetRetainValuesCalledDuringTxCompletion -org.apache.jdo.tck.transactions.SetRetainValuesTrueWhenNotSupported -org.apache.jdo.tck.transactions.SetSynchronization -org.apache.jdo.tck.transactions.SetSynchronizationToNull Index: project.xml =================================================================== --- project.xml (Revision 291468) +++ project.xml (Arbeitskopie) @@ -155,7 +155,6 @@ ${basedir}/test/conf - JDOTCKTestCases.list enhancement-test.properties commons-logging.properties simplelog.properties