From 2a4805f9382e4a7f085a74fb0ff53fa9fc216113 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Tue, 12 Jan 2010 12:02:18 +0000 Subject: Improved how HSMF handles multiple recipients git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898295 13f79535-47bb-0310-9956-ffa450edef68 --- src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java') diff --git a/src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java b/src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java index 008a4edba4..25c793339f 100644 --- a/src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java +++ b/src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java @@ -52,8 +52,17 @@ public final class TestBasics extends TestCase { public void testRecipientEmail() throws Exception { assertEquals("travis@overwrittenstack.com", simple.getRecipientEmailAddress()); assertEquals("kevin.roast@alfresco.org", quick.getRecipientEmailAddress()); - assertEquals("randall.scarberry@pnl.gov", outlook30.getRecipientEmailAddress()); assertEquals("nicolas1.23456@free.fr", attachments.getRecipientEmailAddress()); + + // This one has lots... + assertEquals(18, outlook30.getRecipientEmailAddressList().length); + assertEquals("shawn.bohn@pnl.gov; gus.calapristi@pnl.gov; Richard.Carter@pnl.gov; " + + "barb.cheney@pnl.gov; nick.cramer@pnl.gov; vern.crow@pnl.gov; Laura.Curtis@pnl.gov; " + + "julie.dunkle@pnl.gov; david.gillen@pnl.gov; michelle@pnl.gov; Jereme.Haack@pnl.gov; " + + "Michelle.Hart@pnl.gov; ranata.johnson@pnl.gov; grant.nakamura@pnl.gov; " + + "debbie.payne@pnl.gov; stuart.rose@pnl.gov; randall.scarberry@pnl.gov; Leigh.Williams@pnl.gov", + outlook30.getRecipientEmailAddress() + ); } /** -- cgit v1.2.3