public class RunOnceRule extends Object implements org.junit.rules.TestRule
TestRule that will be run only once.
Once means once per class RunOnceRule being loaded| Constructor and Description |
|---|
RunOnceRule(T rule)
Constructor*
|
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.