Class EntityPartTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.rest.client.tck.EntityPartTest
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
@RunAsClient
public class EntityPartTest
extends org.jboss.arquillian.testng.Arquillian
- Author:
- James R. Perkins
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classNested 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 TypeMethodDescriptionstatic org.jboss.shrinkwrap.api.spec.WebArchivevoidTests that a single file is upload.voidTests that two files are upload.Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
-
Constructor Details
-
EntityPartTest
public EntityPartTest()
-
-
Method Details
-
createDeployment
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() -
uploadFile
Tests that a single file is upload. The response is a simple JSON response with the file information.- Throws:
Exception- if a test error occurs
-
uploadMultipleFiles
Tests that two files are upload. The response is a simple JSON response with the file information.- Throws:
Exception- if a test error occurs
-