Class StaticDocumentTest
- java.lang.Object
-
- org.jboss.arquillian.testng.Arquillian
-
- org.eclipse.microprofile.openapi.tck.AppTestBase
-
- org.eclipse.microprofile.openapi.tck.StaticDocumentTest
-
- All Implemented Interfaces:
org.testng.IHookable
,org.testng.ITestNGListener
public class StaticDocumentTest extends AppTestBase
This test covers Open API documents that are specified by the META-INF/openapi.yaml file. It verifies that the /openapi endpoint returns the correct content for these static files.
-
-
Field Summary
-
Fields inherited from class org.eclipse.microprofile.openapi.tck.AppTestBase
YAML_FILTER
-
-
Constructor Summary
Constructors Constructor Description StaticDocumentTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jboss.shrinkwrap.api.spec.WebArchive
createDeployment()
void
testStaticDocument(String type)
-
Methods inherited from class org.eclipse.microprofile.openapi.tck.AppTestBase
callEndpoint, configureRestAssured, dereference, dereference, provide
-
-
-
-
Method Detail
-
createDeployment
@Deployment(name="static", testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
-
testStaticDocument
public void testStaticDocument(String type)
-
-