petdance/scratch — Issue #189: t/pmc/io_iterator.t:  Overhaul tests
Author: petdance
Created: 2011-11-01 05:41:29+00:00
State: open
Labels: Pri-normal, Sev-medium, testing, todo

This ticket moves into the Trac system issues formerly discussed in '''two''' RT tickets:
1. [http://rt.perl.org/rt3/Ticket/Display.html?id=46847 RT 46847]: Replace dummy variable with an io object in iterator tests

In the original ticket Paul Cochrane commented:
{{{
In t/pmc/io_iterator.t there are many todo items which say:

$P99 = 1 # TODO replace with io object

Replace this dummy value with an actual io object.
}}}

2. [http://rt.perl.org/rt3/Ticket/Display.html?id=46853 RT 46853]: Setup i/o object with two lines in get_bool (vtable) test

In this ticket PTC commented:
{{{
In t/pmc/io_iterator.t there is the todo item:

# TODO setup i/o object with two lines

This is within the context of the tests for C,
although the reason isn't obvious to me from the code. Hopefully
someone else can add enlightenment here to help whoever ends up
working on this ticket.
}}}

I am combining the ticket into one because the issues are all found within the same file.

Do we have I/O iterator objects yet in Parrot? If so, then someone knowledgeable in them should be able to update these tests rather easily.

Thank you very much.

kid51

Originally http://trac.parrot.org/parrot/ticket/1242