AttachmentControllerApiTest
extends TestCase
in package
AttachmentControllerApiTest Class Doc Comment
Tags
Table of Contents
- setUp() : void
- Setup before running each test case
- setUpBeforeClass() : void
- Setup before running any test cases
- tearDown() : void
- Clean up after running each test case
- tearDownAfterClass() : void
- Clean up after running all test cases
- testDeleteAllAttachments() : mixed
- Test case for deleteAllAttachments
- testDeleteAttachment() : mixed
- Test case for deleteAttachment
- testDownloadAttachmentAsBase64Encoded() : mixed
- Test case for downloadAttachmentAsBase64Encoded
- testDownloadAttachmentAsBytes() : mixed
- Test case for downloadAttachmentAsBytes
- testGetAttachment() : mixed
- Test case for getAttachment
- testGetAttachmentInfo() : mixed
- Test case for getAttachmentInfo
- testGetAttachments() : mixed
- Test case for getAttachments
- testUploadAttachment() : mixed
- Test case for uploadAttachment
- testUploadAttachmentBytes() : mixed
- Test case for uploadAttachmentBytes
- testUploadMultipartForm() : mixed
- Test case for uploadMultipartForm
Methods
setUp()
Setup before running each test case
public
setUp() : void
Return values
void —setUpBeforeClass()
Setup before running any test cases
public
static setUpBeforeClass() : void
Return values
void —tearDown()
Clean up after running each test case
public
tearDown() : void
Return values
void —tearDownAfterClass()
Clean up after running all test cases
public
static tearDownAfterClass() : void
Return values
void —testDeleteAllAttachments()
Test case for deleteAllAttachments
public
testDeleteAllAttachments() : mixed
Delete all attachments.
Return values
mixed —testDeleteAttachment()
Test case for deleteAttachment
public
testDeleteAttachment() : mixed
Delete an attachment.
Return values
mixed —testDownloadAttachmentAsBase64Encoded()
Test case for downloadAttachmentAsBase64Encoded
public
testDownloadAttachmentAsBase64Encoded() : mixed
Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents..
Return values
mixed —testDownloadAttachmentAsBytes()
Test case for downloadAttachmentAsBytes
public
testDownloadAttachmentAsBytes() : mixed
Download attachments. Get email attachment bytes. If you have trouble with byte responses try the downloadAttachmentBase64
response endpoints..
Return values
mixed —testGetAttachment()
Test case for getAttachment
public
testGetAttachment() : mixed
Get an attachment entity.
Return values
mixed —testGetAttachmentInfo()
Test case for getAttachmentInfo
public
testGetAttachmentInfo() : mixed
Get email attachment metadata information.
Return values
mixed —testGetAttachments()
Test case for getAttachments
public
testGetAttachments() : mixed
Get email attachments.
Return values
mixed —testUploadAttachment()
Test case for uploadAttachment
public
testUploadAttachment() : mixed
Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment..
Return values
mixed —testUploadAttachmentBytes()
Test case for uploadAttachmentBytes
public
testUploadAttachmentBytes() : mixed
Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment..
Return values
mixed —testUploadMultipartForm()
Test case for uploadMultipartForm
public
testUploadMultipartForm() : mixed
Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment..