David Rauschenbach wrote:
I implemented an SPI that does not support locking. However, the TCK
api,NodeTest testNodeIdentity() method calls isLocked(), which invokes
getLockInfo on my SPI, from which I throw
UnsupportedOperationException(), because I make no attempt to support
locking.
Am I misunderstanding anything? Or should the unit test tolerate an
UnsupportedOperationException before comparing isLocked() ?

I think jcr2spi should not call getLockInfo() if the spi implementation does not support locking. jcr2spi should assume that nodes are never locked in that case.

angela, WDYT?

regards
 marcel

Reply via email to