Hi Steven, 2015-12-21 16:03 GMT+01:00 Steven Walters <[email protected]>:
> > > Bertrand's referenced code is a portion of the Sling project's "Sling > Mocks" module that gets released to maven as a jar like other Sling > modules. > See the documentation for Sling mocks at [1] for further detail on how > to add it to a maven project and example usages. > > I know. But I don't want to deploy the Sling mocks library as a bundle along with my Sling-based application to the OSGI container (haven't checked if it's a bundle at all). I also don't want to embedd this jar file into a custom bundle just because I need these few classes. Having these classes in the Sling Engine bundle (where the SlingRequestProcessor service is located) would be more convenient. Or maybe having some additional "sling engine helper" bundle. These mock classes are useful beyond mocking requests and responses for unittests. -- Cheers, Jörg Hoh, http://cqdump.wordpress.com Twitter: @joerghoh
