June 27, 2007 | Component-Focused Testing | Back Next |
Test the methods
eval { $self = Parrot::Pmc2c::Utils->new( { opt => \%opt, args => [ @args ], } ); }; like($@, qr/Must have key 'include': ref to array of directories/, "Constructor correctly failed due to lack of 'include' key");
Test suite
t/tools/pmc2cutils/00-qualify.t 01-pmc2cutils.t 02-find_file.t 03-dump_vtable.t 04-dump_pmc.t 05-gen_c.t 06-print_tree.t 07-open_file.t
Home Last TOC | Copyright © 2007 James E Keenan | Back Next |