Class ModelConstructionTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.openapi.tck.ModelConstructionTest
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
public class ModelConstructionTest
extends org.jboss.arquillian.testng.Arquillian
This test covers construction of the OpenAPI model. It verifies that the implementation can create instances of all
of the Constructible interfaces and then invokes methods (including getters, setters and builders) on those instances
to verify that they behave correctly.
-
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.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic voidassertNotSame(Object actual, Object expected, String message) Asserts that two objects do not refer to the same objects.static voidassertSame(Object actual, Object expected, String message) Asserts that two objects refer to the same object.voidvoidvoidvoidstatic org.jboss.shrinkwrap.api.spec.WebArchivevoidvoidvoidvoidvoidvoidinfoTest()voidvoidlinkTest()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtagTest()voidxmlTest()Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
-
Constructor Details
-
ModelConstructionTest
public ModelConstructionTest()
-
-
Method Details
-
assertSame
Asserts that two objects refer to the same object. If they do not, an AssertionError, with the given message, is thrown.- Parameters:
actual- the actual valueexpected- the expected valuemessage- the assertion error message
-
assertNotSame
Asserts that two objects do not refer to the same objects. If they do, an AssertionError, with the given message, is thrown.- Parameters:
actual- the actual valueexpected- the expected valuemessage- the assertion error message
-
createDeployment
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() -
componentsTest
public void componentsTest() -
externalDocumentationTest
public void externalDocumentationTest() -
openAPITest
public void openAPITest() -
operationTest
public void operationTest() -
pathItemTest
public void pathItemTest() -
pathsTest
public void pathsTest() -
callbackTest
public void callbackTest() -
exampleTest
public void exampleTest() -
headerTest
public void headerTest() -
contactTest
public void contactTest() -
infoTest
public void infoTest() -
licenseTest
public void licenseTest() -
linkTest
public void linkTest() -
contentTest
public void contentTest() -
discriminatorTest
public void discriminatorTest() -
encodingTest
public void encodingTest() -
mediaTypeTest
public void mediaTypeTest() -
schemaTest
public void schemaTest() -
xmlTest
public void xmlTest() -
parameterTest
public void parameterTest() -
requestBodyTest
public void requestBodyTest() -
apiResponseTest
public void apiResponseTest() -
apiResponsesTest
public void apiResponsesTest() -
oAuthFlowTest
public void oAuthFlowTest() -
oAuthFlowsTest
public void oAuthFlowsTest() -
securityRequirementTest
public void securityRequirementTest() -
securitySchemeTest
public void securitySchemeTest() -
serverTest
public void serverTest() -
serverVariableTest
public void serverVariableTest() -
tagTest
public void tagTest()
-