Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349095 - Add JUnit test cases for RESTful mail service.
Summary: Add JUnit test cases for RESTful mail service.
Status: CLOSED FIXED
Alias: None
Product: OSEE
Classification: Technology
Component: OSEE Application Framework (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.9.9   Edit
Assignee: S. Cook CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 16:42 EDT by S. Cook CLA
Modified: 2012-01-28 19:35 EST (History)
1 user (show)

See Also:


Attachments
Add JUnit test cases. (33.21 KB, patch)
2011-06-10 19:31 EDT, S. Cook CLA
ryan.d.brooks: iplog+
Details | Diff
Move MailcapCommandMap type-to-handler mappings into new utility method (3.80 KB, patch)
2011-06-10 19:32 EDT, S. Cook CLA
ryan.d.brooks: iplog+
Details | Diff
MailUtils.getOutputStream is invalid and so when called it will simply throw UnsupportedOperationException (1.02 KB, patch)
2011-06-10 19:32 EDT, S. Cook CLA
ryan.d.brooks: iplog+
Details | Diff
Improve text parsing and ASCII encoding when creating mail messages (4.53 KB, patch)
2011-06-10 19:33 EDT, S. Cook CLA
ryan.d.brooks: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description S. Cook CLA 2011-06-10 16:42:16 EDT
Build Identifier: 

Add fragments: org.eclipse.osee.mail.admin.test and org.eclipse.osee.mail.test to OSEE project.  These provide JUnit test cases for their corresponding bundles.

Reproducible: Always
Comment 1 S. Cook CLA 2011-06-10 19:31:29 EDT
Created attachment 197825 [details]
Add JUnit test cases.
Comment 2 S. Cook CLA 2011-06-10 19:32:20 EDT
Created attachment 197826 [details]
Move MailcapCommandMap type-to-handler mappings into new utility method
Comment 3 S. Cook CLA 2011-06-10 19:32:47 EDT
Created attachment 197827 [details]
MailUtils.getOutputStream is invalid and so when called it will simply throw UnsupportedOperationException
Comment 4 S. Cook CLA 2011-06-10 19:33:09 EDT
Created attachment 197828 [details]
Improve text parsing and ASCII encoding when creating mail messages
Comment 5 Ryan Brooks CLA 2012-01-28 19:34:56 EST
Ryan Brooks commit these patches on Jun 10, 2011 with commits:

refinement[bgz_349095]: Improve text parsing and ASCII encoding when creating mail messages

refinement[bgz_349095]: MailUtils.getOutputStream should throw UnsupportedOperationException

refinement[bgz_349095]: Move MailcapCommandMap type-to-handler mappings into new utility method

refinement[bgz_349095]: Add JUnit test cases to RESTful interface for Mail services