Hi Isn't this new behaviour exposed through API which is not available on non-Oak systems ? So just trying to instantiate a class implementing that new API would signal that.
Regards Felix Am 12.03.2014 um 17:10 schrieb Carsten Ziegeler <cziege...@apache.org>: > This is for SLING-3279 which is about improved observation handling when > Oak is available. So I need to check, if Oak is used. In that case I can > use the improved handling and if not, revert to the old code. This allows > to have a single bundle to deploy as 95% of the code is the same. > The tests are run against both versions > > > 2014-03-12 17:06 GMT+01:00 Bertrand Delacretaz <bdelacre...@apache.org>: > >> Le 12 mars 2014 14:53, "Thomas Mueller" <muel...@adobe.com> a écrit : >>> >>> Hi, >>> >>> I'm wondering why would you want to check it? >> >> I've been doing that as well in sling tests that can run against various >> repositories, to make sure the test setup is correct. If the tests break >> sometimes in the future we can fix them, no big deal. >> >> Bertrand >> > > > > -- > Carsten Ziegeler > cziege...@apache.org