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.
regards
marcel
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:[EMAIL PROTECTED]
Sent: 19 September 2005 18:08
To: [email protected]
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