public class WebResultRule extends Object implements org.junit.rules.TestRule
rule provides a mechanism for registering a web result with a specific
name.| Constructor and Description |
|---|
WebResultRule(String resultName,
de.codecentric.zucchini.web.results.WebResult webResult)
Initializes a web result rule that registers the given
web result
with the specified name. |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
public WebResultRule(String resultName, de.codecentric.zucchini.web.results.WebResult webResult)
web result
with the specified name.resultName - The name used to reference the result afterwards.webResult - The web result.Copyright © 2015 codecentric AG. All rights reserved.