PipelineTesting v1.1.2.0

Link. April 5, 2008. Comments [0]. Posted in: BizTalk

I've just uploaded a new version of my PipelineTesting library. This one contains just a few minor modifications: A few improved unit tests, and new methods to make it easier to create multi-part messages to use as pipeline inputs.

Here's an example of the last one:

IBaseMessage message = MessageHelper.Create(
   "<body>This is the body part (part1)</body>",
   "<body>This is the part2</body>",
   "<body>This is the part3</body>"
);
Assert.AreEqual(3, message.PartCount);

The new MessageHelper.Create() method takes a params array of strings as argument. Each one will get loaded as a separate message part, with the first one being marked as the body part. There's also a second overload which takes a params array of Stream objects.

As usual, you can download the code from here: PipelineTesting.zip.



Comments are closed.

About

Tomas Restrepo is co-founder of devdeo. His interests include .NET, Connected Systems, PowerShell and, lately, dynamic programming languages. More...

email: tomas@winterdom.com
msn: tomasr@passport.com
twitter: tomas_restrepo

Technorati Profile

devdeo logo

View my profile on LinkedIn

MVP logo

Syndicate

Ads


Links

Categories

Statistics

Total Posts: 999
This Year: 69
This Month: 0
This Week: 1
Comments: 766

Blogroll

Post Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 1.9.7174.0

Sign In