public class BeanValidationTest extends AppTestBase
YAML_FILTER
Constructor and Description |
---|
BeanValidationTest() |
Modifier and Type | Method and Description |
---|---|
static void |
assertProperty(io.restassured.response.ValidatableResponse vr,
String propertyName,
org.hamcrest.Matcher<?> matcher)
Asserts that a property from the test schema matches the given matcher
|
static org.jboss.shrinkwrap.api.spec.WebArchive |
buildApp() |
void |
defaultAndOtherGroupsTest(String format) |
void |
maxDecimalExclusiveTest(String format) |
void |
maxDecimalInclusiveTest(String format) |
void |
maxIntTest(String format) |
void |
minDecimalExclusiveTest(String format) |
void |
minDecimalInclusiveTest(String format) |
void |
minIntTest(String format) |
void |
negativeIntTest(String format) |
void |
negativeOrZeroIntTest(String format) |
void |
nonDefaultGroupTest(String format) |
void |
notBlankStringTest(String format) |
void |
notEmptyListTest(String format) |
void |
notEmptyMapTest(String format) |
void |
notEmptyStringTest(String format) |
void |
overridenBySchemaAnnotationTest(String format) |
void |
parameterTest(String format) |
void |
positiveIntTest(String format) |
void |
positiveOrZeroIntTest(String format) |
void |
sizedListTest(String format) |
void |
sizedMapTest(String format) |
void |
sizedStringTest(String format) |
callEndpoint, configureRestAssured, dereference, dereference, provide
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive buildApp()
public void notEmptyStringTest(String format)
public void notEmptyListTest(String format)
public void notEmptyMapTest(String format)
public void notBlankStringTest(String format)
public void sizedStringTest(String format)
public void sizedListTest(String format)
public void sizedMapTest(String format)
public void maxDecimalInclusiveTest(String format)
public void maxDecimalExclusiveTest(String format)
public void minDecimalInclusiveTest(String format)
public void minDecimalExclusiveTest(String format)
public void maxIntTest(String format)
public void minIntTest(String format)
public void negativeIntTest(String format)
public void negativeOrZeroIntTest(String format)
public void positiveIntTest(String format)
public void positiveOrZeroIntTest(String format)
public void overridenBySchemaAnnotationTest(String format)
public void nonDefaultGroupTest(String format)
public void defaultAndOtherGroupsTest(String format)
public void parameterTest(String format)
public static void assertProperty(io.restassured.response.ValidatableResponse vr, String propertyName, org.hamcrest.Matcher<?> matcher)
vr
- the responsepropertyName
- the property to testmatcher
- the matcher to assertCopyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.