[ 
https://issues.apache.org/jira/browse/JCR-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved JCR-515.
-------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

The set of non-executable test cases is now down to:

testDocOrderIndexedNotation(org.apache.jackrabbit.test.api.query.XPathPosIndexTest)
 not executable: Workspace does not contain enough content under: 
/testdata/query. At least 3 nodes are required for this test.
testDocOrderPositionFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
 not executable: Repository does not support document order on result set.
testDocOrderPositionIndex(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
 not executable: Repository does not support document order on result set.
testDocOrderLastFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
 not executable: Repository does not support document order on result set.
testDocOrderFirstFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
 not executable: Repository does not support document order on result set.
testNodeIsModifiedAfterSecondSetPolicy(org.apache.jackrabbit.test.api.security.AccessControlPolicyTest)
 not executable: null
testAddAbstractPrivilege(org.apache.jackrabbit.test.api.security.AccessControlListTest)
 not executable: No abstract privilege found.
testReferenceableRootNode(org.apache.jackrabbit.test.api.ReferenceableRootNodesTest)
 not executable: Root node is not referenceable

These all would require changes in our implementation or default configuration 
(even XPathPosIndexTest requires document order support), so they can't be 
addressed only by adding more test data. Thus resolving this as fixed.

> Enhance test data
> -----------------
>
>                 Key: JCR-515
>                 URL: https://issues.apache.org/jira/browse/JCR-515
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: test
>         Environment: svn revision: 426000
>            Reporter: Marcel Reutegger
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Running the test cases currently results in a number of test cases that 
> cannot be run. Mostly because not enough test data is in the repository to 
> execute the test.
> You can find out the affected test cases by setting the log level for 
> 'org.apache.jackrabbit.test' to DEBUG and grep for 'executable' in the 
> jcr.log file.
> This returns the following list:
> testGetDeclaringNodeType(org.apache.jackrabbit.test.api.nodetype.PropertyDefTest)
>  not executable
> testIsMandatory(org.apache.jackrabbit.test.api.nodetype.NodeDefTest) not 
> executable
> testValueConstraintNotSatisfied(org.apache.jackrabbit.test.api.nodetype.CanSetPropertyBinaryTest)
>  not executable
> testValueConstraintNotSatisfied(org.apache.jackrabbit.test.api.nodetype.CanSetPropertyBooleanTest)
>  not executable
> testValueConstraintNotSatisfied(org.apache.jackrabbit.test.api.nodetype.CanSetPropertyDoubleTest)
>  not executable
> testGetSize(org.apache.jackrabbit.test.api.observation.EventIteratorTest) not 
> executable
> testGetAttribute(org.apache.jackrabbit.test.api.SessionReadMethodsTest) not 
> executable
> testReferenceableRootNode(org.apache.jackrabbit.test.api.ReferenceableRootNodesTest)
>  not executable
> testBinaryProperty(org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest)
>  not executable
> testBooleanProperty(org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest)
>  not executable
> testDoubleProperty(org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest)
>  not executable
> testReferenceProperty(org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest)
>  not executable
> testMultipleReferenceProperty(org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest)
>  not executable
> testBinaryProperty(org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest)
>  not executable
> testBooleanProperty(org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest)
>  not executable
> testDoubleProperty(org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest)
>  not executable
> testReferenceProperty(org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest)
>  not executable
> Test data in Jackrabbit should be enhanced in order to run those test cases 
> successfully.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to