jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pitfield (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-511) TCK: Node types selected by SetValueValueFormatExceptionTest may lead to incorrect test failure
Date Wed, 26 Jul 2006 23:38:13 GMT
TCK: Node types selected by SetValueValueFormatExceptionTest may lead to incorrect test failure
-----------------------------------------------------------------------------------------------

                 Key: JCR-511
                 URL: http://issues.apache.org/jira/browse/JCR-511
             Project: Jackrabbit
          Issue Type: Bug
          Components: test
            Reporter: David Pitfield


During setup, the test selects two node types, one with a BOOLEAN property and one with a
DATE property, and creates nodes of these types as children of the target node.  Having the
TCK select these node types creates two problems:  First, JSR-170 does not require an implementation
to provide deterministic, stable ordering of node types returned by NodeTypeManager.  Consequently,
the node types selected during test setup may vary from run to run, making test configuration
difficult or impossible.  Second, if a repository imposes implementation-specific type constraints
not discoverable through JSR-170, the TCK may select a node type inappropriate as a child
of the test node.

Proposal: introduce configuration properties which, if set, override the property definition
and node type selected by NodeTypeUtil.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message