@Version("2.1.0")
Package org.apache.sling.testing.mock.osgi.junit
Rule for providing easy access to OSGi context in JUnit tests.
-
Interface Summary Interface Description OsgiContextCallback Callback interface for application-specific setup and teardown operations to customize theOsgiContext
JUnit rule. -
Class Summary Class Description ConfigCollector ATestRule
that collects runtime-retained component property type annotations andConfigType
annotations from the current test method and test class.OsgiContext JUnit rule for setting up and tearing down OSGi context for unit tests.OsgiContextBuilder Builder class for creatingOsgiContext
instances with different sets of parameters.