Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349095

Summary: Add JUnit test cases for RESTful mail service.
Product: [Technology] OSEE Reporter: S. Cook <shawn.f.cook>
Component: OSEE Application FrameworkAssignee: S. Cook <shawn.f.cook>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ryan.d.brooks
Version: unspecified   
Target Milestone: 0.9.9   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Add JUnit test cases.
ryan.d.brooks: iplog+
Move MailcapCommandMap type-to-handler mappings into new utility method
ryan.d.brooks: iplog+
MailUtils.getOutputStream is invalid and so when called it will simply throw UnsupportedOperationException
ryan.d.brooks: iplog+
Improve text parsing and ASCII encoding when creating mail messages ryan.d.brooks: iplog+

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