public class TogglesAwareTestRule extends Object implements org.junit.rules.TestRule
RunIfToggleEnabled and
SkipIfToggleEnabled.
If both annotations are applied to a test, both conditions must be met (AND operation).RunIfToggleEnabled,
SkipIfToggleEnabled| Constructor and Description |
|---|
TogglesAwareTestRule(Supplier<org.apache.sling.testing.clients.SlingClient> clientSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected boolean |
shouldRunTest(org.junit.runner.Description description) |
public TogglesAwareTestRule(Supplier<org.apache.sling.testing.clients.SlingClient> clientSupplier)
Copyright © 2021. All rights reserved.