db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Proposal for refactoring exsting tck20 query test classes
Date Tue, 20 Sep 2005 13:32:15 GMT
Hi,

in last t-conference we decided to refactor the existing tck20 query 
test classes. Please find the proposal below. Note, that the proposal 
does not include new JDO2 query test classes. You find a proposal for 
the packaging of those classes under

http://wiki.apache.org/jdo/QueryTests

Today, we have two query packages:

org.apache.jdo.tck.query
org.apache.jdo.tck.query.operators

The proposal is to move non-abstract classes in org.apache.jdo.tck.query to:

org.apache.jdo.tck.query.api
org.apache.jdo.tck.query.jdoql
org.apache.jdo.tck.query.jdoql.keywords
org.apache.jdo.tck.query.jdoql.methods
org.apache.jdo.tck.query.jdoql.parameters
org.apache.jdo.tck.query.jdoql.variables
org.apache.jdo.tck.query.result

The proposal is to move all classes in 
org.apache.jdo.tck.query.operators to:

org.apache.jdo.tck.query.jdoql.operators

Below you find a complete list refactored classes.

Regards,
Michael

# 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

The following list of classes have been moved from package 
org.apache.jdo.tck.query:

# 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.ComparisonTests
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


-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Mime
View raw message