That might not be too usefuli. The input sources are just low level
streaming sources. They really only have one API which is "Give me more
data, or give me death". So about all the testing you could do is to create
a binary file with known contents, then write a program that calls that API
on your input source and make sure that you get the data that was in the
file. But in this case, the memory buffer input source is a well tested and
much used class, so there's no need to do that. And as far as using it
directly, that would basically involve writing an API parser :-), since the
input sources are at the far, far end of the food chain, and the entire
parser sits on top of them.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 07, 2002 1:55 PM
Subject: Re: MembufInputSource question


>
> Alternatively, if you really do want to bypass the parser (eg, because
> you're debugging and want to check that it really will deliver the content
> you think it will), look at the API for that class and figure out how to
> read the data from it directly.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to