10 use App::Prove::State::Result;
18 't/compat/inc_taint.t',
24 { options => 'failed',
27 't/compat/inc_taint.t',
31 { options => 'passed',
45 't/compat/inc_taint.t',
66 { options => 'adrian',
73 't/compat/inc_taint.t',
77 { options => 'failed,passed',
80 't/compat/inc_taint.t',
88 { options => [ 'failed', 'passed' ],
91 't/compat/inc_taint.t',
100 get_tests_args => [],
102 't/yamlish-writer.t',
104 't/compat/inc_taint.t',
105 't/compat/version.t',
106 't/compat/failure.t',
111 get_tests_args => [],
114 't/compat/failure.t',
115 't/compat/version.t',
116 't/compat/inc_taint.t',
118 't/yamlish-writer.t',
122 get_tests_args => [],
125 't/compat/inc_taint.t',
126 't/compat/version.t',
127 't/yamlish-writer.t',
128 't/compat/failure.t',
133 get_tests_args => [],
136 't/compat/failure.t',
137 't/yamlish-writer.t',
138 't/compat/version.t',
139 't/compat/inc_taint.t',
143 { options => 'fresh',
144 get_tests_args => [],
147 't/compat/failure.t',
152 plan tests => @schedule * 2;
154 for my $test (@schedule) {
155 my $state = App::Prove::State->new;
156 isa_ok $state, 'App::Prove::State';
158 my $desc = $test->{options};
161 $state->{_} = get_state();
162 my $options = $test->{options};
163 $options = [$options] unless 'ARRAY' eq ref $options;
164 $state->apply_switch(@$options);
166 my @got = $state->get_tests( @{ $test->{get_tests_args} } );
167 my @expect = @{ $test->{expect} };
168 unless ( is_deeply \@got, \@expect, "$desc: order OK" ) {
170 diag( Dumper( { got => \@got, want => \@expect } ) );
175 return App::Prove::State::Result->new(
177 last_run_time => 1196285439,
179 't/compat/failure.t' => {
181 last_run_time => 1196371471.57738,
182 last_pass_time => 1196371471.57738,
190 't/yamlish-writer.t' => {
192 last_run_time => 1196371480.5761,
193 last_pass_time => 1196371480.5761,
194 last_fail_time => 1196368609,
202 't/compat/env.t' => {
204 last_run_time => 1196371471.42967,
205 last_pass_time => 1196371471.42967,
206 last_fail_time => 1196368608,
214 't/compat/version.t' => {
216 last_run_time => 1196371472.96476,
217 last_pass_time => 1196371472.96476,
218 last_fail_time => 1196368609,
226 't/compat/inc_taint.t' => {
228 last_run_time => 1196371471.89682,
229 last_pass_time => 1196371471.89682,
239 last_run_time => 1196371479.72508,
240 last_pass_time => 1196371479.72508,