public class UsePackageRule extends Object implements org.junit.rules.TestRule
Instance
rule, which has to be applied before this ruleConstructor and Description |
---|
UsePackageRule(String srcPath,
org.apache.sling.testing.junit.rules.instance.Instance instance) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
org.apache.sling.testing.junit.rules.instance.Instance |
getInstance() |
String |
getSrcPath() |
public UsePackageRule(String srcPath, org.apache.sling.testing.junit.rules.instance.Instance instance)
public String getSrcPath()
public org.apache.sling.testing.junit.rules.instance.Instance getInstance()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2018. All rights reserved.