public class JUnit4Provider extends AbstractProvider
| Constructor and Description |
|---|
JUnit4Provider(ProviderParameters booterParameters) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<?> |
getSuites()
Determines the number of forks.
|
RunResult |
invoke(Object forkTestSet)
Runs a forked test
|
cancelpublic JUnit4Provider(ProviderParameters booterParameters)
public RunResult invoke(Object forkTestSet) throws TestSetFailedException
SurefireProviderforkTestSet - An item from the iterator in #getSuites. Will be null for forkmode never or always.
When this is non-null, the forked process will run only that test
and probably not scan the classpathTestSetFailedException - When testset failspublic Iterator<?> getSuites()
SurefireProviderCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.