org.jboss.test.webservice.attachment
Class AttachmentSAAJTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.webservice.attachment.AttachmentSAAJTestCase

public class AttachmentSAAJTestCase
extends JBossTestCase (src)

Test SOAP with Attachements (SwA) through the SAAJ layer. This tests the server side handling of Attachments. The JAXRPC client is not tested. [ 1039881 ] Cannot create multipart/mixed SOAP attachment

Since:
Nov 16, 2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
AttachmentSAAJTestCase(java.lang.String name)
           
 
Method Summary
static Test suite()
          Deploy the test ear
 void testSendMimeApplicationXML()
          Send a multipart message with a text/plain attachment part
 void testSendMimeImageGIF()
          Send a multipart message with a text/plain attachment part
 void testSendMimeImageJPEG()
          Send a multipart message with a text/plain attachment part
 void testSendMimeMultipart()
          Send a multipart message with a text/plain attachment part
 void testSendMimeTextPlain()
          Send a multipart message with a text/plain attachment part
 void testSendMimeTextXML()
          Send a multipart message with a text/plain attachment part
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentSAAJTestCase

public AttachmentSAAJTestCase(java.lang.String name)
Method Detail

testSendMimeImageGIF

public void testSendMimeImageGIF()
                          throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

testSendMimeImageJPEG

public void testSendMimeImageJPEG()
                           throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

testSendMimeTextPlain

public void testSendMimeTextPlain()
                           throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

testSendMimeMultipart

public void testSendMimeMultipart()
                           throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

testSendMimeTextXML

public void testSendMimeTextXML()
                         throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

testSendMimeApplicationXML

public void testSendMimeApplicationXML()
                                throws java.lang.Exception
Send a multipart message with a text/plain attachment part

Throws:
java.lang.Exception

suite

public static Test suite()
                  throws java.lang.Exception
Deploy the test ear

Throws:
java.lang.Exception