public class RunOnceRule extends Object implements org.junit.rules.TestRule
TestRule
that will be run only once.
Once means once per class RunOnceRule being loadedConstructor 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–2018 The Apache Software Foundation. All rights reserved.