jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: PropertyReadMethodsTest relies on level 2 function
Date Wed, 21 Sep 2005 07:57:22 GMT
Hi David,

thanks for reporting this issue. until a very late draft version value 
classes where part of the specification, but then they were dropped in 
favour of the ValueFactory interface. unfortunately the test cases do 
not reflect the semantic change that obtaining value instances are now 
only required for level 2 repositories.

I will change the test cases as soon as possible.

regarding the CanSetPropertyXXXTests, initially they were considered as 
required for level 1 repositories because the tests do not modify 
content, hence were operating read-only on the workspace. but you are 
right, they have to be moved to the level 2 tests because they use the 
ValueFactory interface.


David Caruana wrote:
> I'm having the same trouble with the CanSetPropertyXXXTests.  Although,
> I do wonder why the NodeType.canXXX methods are a requirement for a
> level 1 implementation.
> David
> -----Original Message-----
> From: David Caruana [mailto:david.caruana@alfresco.org] 
> Sent: 19 September 2005 18:08
> To: jackrabbit-dev@incubator.apache.org
> Subject: PropertyReadMethodsTest relies on level 2 function
> I'm having trouble passing the PropertyReadMethodsTest with my
> repository implementation.  The method testGetValueCopyStoredValues
> depends on Session.getValueFactory which is not required by a level 1
> repository.
> Regards,
> David Caruana
> www.alfresco.org

View raw message