I will, thanks.

On Sep 30, 6:18 pm, Alex North <[email protected]> wrote:
> Thanks! Do you feel like sending us a patch? 
> Seehttp://www.waveprotocol.org/code/submitting-code(you'll also need to sign
> the contributor 
> agreement:https://spreadsheets.google.com/a/google.com/viewform?hl=en&formkey=d...
> )
>
> If not, perhaps someone else can for you.
>
> Alex.
> <http://www.waveprotocol.org/code/submitting-code>
>
> On 30 September 2010 10:23, adirondack <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm running on Window XP Professional.
>
> > testGetStreamReturnsNewStream creates 3 streams and doesn't close
> > them. So, the tear down routine was unable to delete the temp file.
> > Closing the streams as below worked for me.
>
> > Thanks,
> > adirondack
>
> >        public void testGetStreamReturnsNewStream() throws Exception
> >        {
> >                String testData = "There's something quite peaceful about
> > writing
> > tests.";
> >                String id = "id_6";
> >                AttachmentStore store = makeStoreWithData(id, testData);
> >                AttachmentData data = store.getAttachment(id);
>
> >                InputStream is1 = data.getInputStream();
> >                InputStream is2 = data.getInputStream();
> >                assertNotSame(is1, is2);
>
> >                int firstByte = is1.read();
> >                assertSame(firstByte, is2.read());
>
> >                // Check that a new input stream created now still has the
> > same
> > first byte.
> >                InputStream is3 = data.getInputStream();
> >                assertSame(firstByte, is3.read());
>
> >                is1.close();
> >                is2.close();
> >                is3.close();
> >        }
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Wave Protocol" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<wave-protocol%2bunsubscr...@goog 
> > legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/wave-protocol?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to