Hello.
I have more questions about tests.
1. In tests
org.apache.jackrabbit.test.api.NodeTest#testAddNodeConstraintViolationExceptionUndefinedNodeType
org.apache.jackrabbit.test.api.NodeTest#testRemoveMandatoryNode
org.apache.jackrabbit.test.api.WorkspaceCloneTest#testCloneNodesConstraintViolationException
org.apache.jackrabbit.test.api.WorkspaceCopyBetweenWorkspacesTest#testCopyNodesConstraintViolationException
org.apache.jackrabbit.test.api.WorkspaceCopyTest#testCopyNodesConstraintViolationException
org.apache.jackrabbit.test.api.WorkspaceMoveTest#testMoveNodesConstraintViolationException
org.apache.jackrabbit.test.api.SerializationTest#testNodeTypeConstraintViolationWorkspaceWithHandler
org.apache.jackrabbit.test.api.SerializationTest#testNodeTypeConstraintViolationSessionWithHandler
org.apache.jackrabbit.test.api.SerializationTest#testNodeTypeConstraintViolationWorkspace
org.apache.jackrabbit.test.api.SerializationTest#testNodeTypeConstraintViolationSession
nt:base used as primary node type, and in test
org.apache.jackrabbit.test.api.SessionTest#testMoveItemExistsException
org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest#testOrderBeforeUnsupportedRepositoryOperationException
nt:hierarchyNode used as primary node type.
By specification( 3.7.10.1 nt:base and 3.7.11.1 nt:hierarchyNode)
this node types is an abstract node types. In section
3.7.1.3 written what abstract node types cannot be directly
assigned to a node.
Is the tests correct?
2. Test NodeNameTest check correct comparation NAME() with a different
type of values. In some cases it expect InvalidQueryException. But
section 6.7.16 Comparison
of specification is not clear about when should it be. Can you clarify
what comparation a possible and what not?
3. Tests
org.apache.jackrabbit.test.api.query.qom.NodeNameTest#testLongLiteral
org.apache.jackrabbit.test.api.query.qom.NodeNameTest#testBooleanLiteral
compared with NAME() without CAST. Is the tests correct?
4. Test
org.apache.jackrabbit.test.api.query.qom.SelectorTest#testUnknownNodeType
have constrain fail("Selector with unknown node type must throw
InvalidQueryException")
but by specefication if nodeType is a valid JCR name but not the
name of a node type available in the
repository, the query is valid but the selector selects no nodes.
Is the test correct?
5. What should return property.getDefaultValues() for mix:etag node
type to satisfy
org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testMixETag
test?
Question appeared because null value or empty array can't be
matched as expected
in mix-etag.txt file.
Thanks.
Sergey Kabashnyuk
eXo Platform SAS
2009/6/19 Alexander Klimetschek <[email protected]>:
> On Fri, Jun 19, 2009 at 2:49 PM, Sergey Kabashnyuk<[email protected]> wrote:
>> Can you give me the link to the issue?
>
> https://jsr-283.dev.java.net/issues/show_bug.cgi?id=787
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> [email protected]
>