Class RemoteAgentRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.atlassian.bamboo.testutils.junit.rule.RemoteAgentRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class RemoteAgentRule extends org.junit.rules.ExternalResource
-
-
Constructor Summary
Constructors Constructor Description RemoteAgentRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
after()
org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
protected void
before()
RemoteAgent
getRemoteAgent()
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
- Specified by:
apply
in interfaceorg.junit.rules.TestRule
- Overrides:
apply
in classorg.junit.rules.ExternalResource
-
before
protected void before() throws Exception
- Overrides:
before
in classorg.junit.rules.ExternalResource
- Throws:
Exception
-
after
protected void after()
- Overrides:
after
in classorg.junit.rules.ExternalResource
-
getRemoteAgent
public RemoteAgent getRemoteAgent()
-
-