Class SlingAnnotationsTestRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.apache.sling.junit.annotations.SlingAnnotationsTestRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Sortable
@Deprecated public class SlingAnnotationsTestRunner extends org.junit.runners.BlockJUnit4ClassRunner
Deprecated.- the {#link TeleporterRule} is a much simpler way of executing server-side tests, including OSGi service injection.TestRunner which uses a TestObjectProcessor to handle annotations in test classes. A test that has RunWith=SlingAnnotationsTestRunner can use @TestReference, for example, to access OSGi services.
-
-
Constructor Summary
Constructors Constructor Description SlingAnnotationsTestRunner(java.lang.Class<?> clazz)
Deprecated.
-