jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Pombourcq (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-492) TCK: PropertyReadMethodsTest#testGetValues fails if it cannot find a single valued STRING property
Date Fri, 21 Jul 2006 20:25:13 GMT
TCK: PropertyReadMethodsTest#testGetValues fails if it cannot find a single valued STRING property
--------------------------------------------------------------------------------------------------

                 Key: JCR-492
                 URL: http://issues.apache.org/jira/browse/JCR-492
             Project: Jackrabbit
          Issue Type: Bug
          Components: test
         Environment: TCK from SVN revision 421925
            Reporter: Nicolas Pombourcq


If the JCR repository being tested does not contain any single valued property of type STRING,
PropertyReadMethodsTest#testGetValues fails with the following exception:

java.lang.NullPointerException at org.apache.jackrabbit.test.api.PropertyReadMethodsTest.testGetValues(PropertyReadMethodsTest.java:273)
at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:401)

The test should either try to find a single valued property of any type (it is guaranted that
it will at least find jcr:primaryType) or should throw NotExecutableException if is does not
find the property it needs.

-- 
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