Class BeanValidationTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.openapi.tck.AppTestBase
org.eclipse.microprofile.openapi.tck.beanvalidation.BeanValidationTest
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian
org.jboss.arquillian.testng.Arquillian.UpdateResultListener -
Field Summary
Fields inherited from class org.eclipse.microprofile.openapi.tck.AppTestBase
YAML_FILTERFields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertProperty(io.restassured.response.ValidatableResponse vr, String propertyName, org.hamcrest.Matcher<?> matcher) Asserts that a property from the test schema matches the given matcherstatic org.jboss.shrinkwrap.api.spec.WebArchivebuildApp()voiddefaultAndOtherGroupsTest(String format) voidmaxDecimalExclusiveTest(String format) voidmaxDecimalInclusiveTest(String format) voidmaxIntTest(String format) voidminDecimalExclusiveTest(String format) voidminDecimalInclusiveTest(String format) voidminIntTest(String format) voidnegativeIntTest(String format) voidnegativeOrZeroIntTest(String format) voidnonDefaultGroupTest(String format) voidnotBlankStringTest(String format) voidnotEmptyListTest(String format) voidnotEmptyMapTest(String format) voidnotEmptyStringTest(String format) voidvoidparameterTest(String format) voidpositiveIntTest(String format) voidpositiveOrZeroIntTest(String format) voidsizedListTest(String format) voidsizedMapTest(String format) voidsizedStringTest(String format) Methods inherited from class org.eclipse.microprofile.openapi.tck.AppTestBase
callEndpoint, configureRestAssured, dereference, dereference, provideMethods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
-
Constructor Details
-
BeanValidationTest
public BeanValidationTest()
-
-
Method Details
-
buildApp
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive buildApp() -
notEmptyStringTest
-
notEmptyListTest
-
notEmptyMapTest
-
notBlankStringTest
-
sizedStringTest
-
sizedListTest
-
sizedMapTest
-
maxDecimalInclusiveTest
-
maxDecimalExclusiveTest
-
minDecimalInclusiveTest
-
minDecimalExclusiveTest
-
maxIntTest
-
minIntTest
-
negativeIntTest
-
negativeOrZeroIntTest
-
positiveIntTest
-
positiveOrZeroIntTest
-
overridenBySchemaAnnotationTest
-
nonDefaultGroupTest
-
defaultAndOtherGroupsTest
-
parameterTest
-
assertProperty
public 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- Parameters:
vr- the responsepropertyName- the property to testmatcher- the matcher to assert
-