@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 theOsgiContextJUnit rule. -
Class Summary Class Description ConfigCollector ATestRulethat collects runtime-retained component property type annotations andConfigTypeannotations 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 creatingOsgiContextinstances with different sets of parameters.