public abstract class Assume extends Object
Assume
certain
conditions hold true
. If the assumption fails, it means the test should be
skipped.Constructor and Description |
---|
Assume() |
Modifier and Type | Method and Description |
---|---|
static void |
javaVersion(JavaVersion version)
Assume that the specified
JavaVersion is the one currently available. |
public static void javaVersion(JavaVersion version)
JavaVersion
is the one currently available.version
- the expected Java versionorg.junit.AssumptionViolatedException
- if the assumption failsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.