public enum TestMode extends Enum<TestMode>
Enum Constant and Description |
---|
EXPLICIT
Uses direct HTTP invocations with Rest Assured.
|
JAXRSCLIENT
Uses JAX-RS client.
|
MOCKMVC
Uses Spring's MockMvc mode.
|
WEBTESTCLIENT
Uses Spring's reactive WebTestClient.
|
Modifier and Type | Method and Description |
---|---|
static TestMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestMode MOCKMVC
public static final TestMode EXPLICIT
public static final TestMode JAXRSCLIENT
public static final TestMode WEBTESTCLIENT
public static TestMode[] values()
for (TestMode c : TestMode.values()) System.out.println(c);
public static TestMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2019 Spring. All rights reserved.