diff options
author | Nick Burch <nick@apache.org> | 2010-01-12 12:02:18 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2010-01-12 12:02:18 +0000 |
commit | 2a4805f9382e4a7f085a74fb0ff53fa9fc216113 (patch) | |
tree | 444bd034f1ca95e1861944b7c59c2d3fa49e275f /src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java | |
parent | ababd504b546f114169b8ffde7a18632fc1a816c (diff) | |
download | poi-2a4805f9382e4a7f085a74fb0ff53fa9fc216113.tar.gz poi-2a4805f9382e4a7f085a74fb0ff53fa9fc216113.zip |
Improved how HSMF handles multiple recipients
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java')
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hsmf/TestBasics.java | 11 |
1 files changed, 10 insertions, 1 deletions
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() + ); } /** |