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 |
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 public static org.jboss.shrinkwrap.api.spec.WebArchive buildApp()
@RunAsClient public void notEmptyStringTest(String format)
@RunAsClient public void notEmptyListTest(String format)
@RunAsClient public void notEmptyMapTest(String format)
@RunAsClient public void notBlankStringTest(String format)
@RunAsClient public void sizedStringTest(String format)
@RunAsClient public void sizedListTest(String format)
@RunAsClient public void sizedMapTest(String format)
@RunAsClient public void maxDecimalInclusiveTest(String format)
@RunAsClient public void maxDecimalExclusiveTest(String format)
@RunAsClient public void minDecimalInclusiveTest(String format)
@RunAsClient public void minDecimalExclusiveTest(String format)
@RunAsClient public void maxIntTest(String format)
@RunAsClient public void minIntTest(String format)
@RunAsClient public void negativeIntTest(String format)
@RunAsClient public void negativeOrZeroIntTest(String format)
@RunAsClient public void positiveIntTest(String format)
@RunAsClient public void positiveOrZeroIntTest(String format)
@RunAsClient public void overridenBySchemaAnnotationTest(String format)
@RunAsClient public void nonDefaultGroupTest(String format)
@RunAsClient public void defaultAndOtherGroupsTest(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.