public class GetIgnoreRule extends Object implements org.junit.rules.MethodRule
@Rule
public GetIgnoreRule liveServerRule = new GetIgnoreRule();
@Test
@IgnoreIfGetFails(getUrl="http://localhost:8080/kie-wb/rest/deployment")
public myTestDependsOnANonTestServer() {
// etc..
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetIgnoreRule.IgnoreIfGetFails |
| Constructor and Description |
|---|
GetIgnoreRule() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
apply in interface org.junit.rules.MethodRuleCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.