Hi,
I am using jcr2spi on top of a custom SPI implementation, and was trying
to come up with test cases that check the locking semantics (because I
know they weren't complete in my implementation).
After some testing I realized that JCR2SPI already does lock checking
locally (see
Is the SPI implementation supposed to ever throw a LockException,
definitely
or can it rely on the transient layer doing lock checks upfront?
that's a rhetoric question, right?
the spi impl must not rely on the client to behave properly.
but the client may cover some obvious cases (e.g.