Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
Test-Harness /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
compat
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
data
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
lib
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
proverc
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
sample-tests
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
source_tests
[ DIR ]
drwxr-xr-x
2016-10-10 18:24
subclass_tests
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
aggregator.t
9.35
KB
-r--r--r--
2014-12-27 11:48
bailout.t
3.12
KB
-r--r--r--
2014-12-27 11:48
base.t
4.68
KB
-r--r--r--
2014-12-27 11:48
callbacks.t
2.57
KB
-r--r--r--
2014-12-27 11:48
console.t
1.06
KB
-r--r--r--
2014-12-27 11:48
errors.t
4.64
KB
-r--r--r--
2014-12-27 11:48
file.t
13.61
KB
-r--r--r--
2014-12-27 11:48
glob-to-regexp.t
988
B
-r--r--r--
2014-12-27 11:48
grammar.t
11.55
KB
-r--r--r--
2014-12-27 11:48
harness-bailout.t
1.19
KB
-r--r--r--
2014-12-27 11:48
harness-subclass.t
1.58
KB
-r--r--r--
2014-12-27 11:48
harness.t
28.38
KB
-r--r--r--
2014-12-27 11:48
iterator_factory.t
4.8
KB
-r--r--r--
2014-12-27 11:48
iterators.t
5.68
KB
-r--r--r--
2014-12-27 11:48
multiplexer.t
4.53
KB
-r--r--r--
2014-12-27 11:48
nested.t
860
B
-r--r--r--
2014-12-27 11:48
nofork-mux.t
119
B
-r--r--r--
2014-12-27 11:48
nofork.t
1.55
KB
-r--r--r--
2014-12-27 11:48
object.t
772
B
-r--r--r--
2014-12-27 11:48
parse.t
30.97
KB
-r--r--r--
2014-12-27 11:48
parser-config.t
731
B
-r--r--r--
2014-12-27 11:48
parser-subclass.t
2.2
KB
-r--r--r--
2014-12-27 11:48
perl5lib.t
1.13
KB
-r--r--r--
2014-12-27 11:48
premature-bailout.t
2.32
KB
-r--r--r--
2014-12-27 11:48
process.t
1015
B
-r--r--r--
2014-12-27 11:48
prove.t
47.6
KB
-r--r--r--
2014-12-27 11:49
proveenv.t
338
B
-r--r--r--
2014-12-27 11:49
proverc.t
472
B
-r--r--r--
2014-12-27 11:48
proverun.t
4.14
KB
-r--r--r--
2014-12-27 11:48
proveversion.t
763
B
-r--r--r--
2014-12-27 11:48
regression.t
111.62
KB
-r--r--r--
2014-12-27 11:48
results.t
7.68
KB
-r--r--r--
2014-12-27 11:48
scheduler.t
5.33
KB
-r--r--r--
2014-12-27 11:48
source.t
8.21
KB
-r--r--r--
2014-12-27 11:48
source_handler.t
12.32
KB
-r--r--r--
2014-12-27 11:48
spool.t
3.12
KB
-r--r--r--
2014-12-27 11:48
state.t
7.7
KB
-r--r--r--
2014-12-27 11:48
state_results.t
4.95
KB
-r--r--r--
2014-12-27 11:48
streams.t
6.33
KB
-r--r--r--
2014-12-27 11:48
taint.t
1.3
KB
-r--r--r--
2014-12-27 11:49
testargs.t
4.95
KB
-r--r--r--
2014-12-27 11:48
unicode.t
3.73
KB
-r--r--r--
2014-12-27 11:48
yamlish-output.t
2.44
KB
-r--r--r--
2014-12-27 11:48
yamlish-writer.t
7.17
KB
-r--r--r--
2014-12-27 11:48
yamlish.t
15.01
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!/usr/bin/perl -w BEGIN { unshift @INC, 't/lib'; } use strict; use warnings; use Test::More tests => 25; use App::Prove::State; my $test_suite_data = test_suite_data(); # # Test test suite results # can_ok 'App::Prove::State::Result', 'new'; isa_ok my $result = App::Prove::State::Result->new($test_suite_data), 'App::Prove::State::Result', '... and the object it returns'; ok $result, 'state_version'; ok defined $result->state_version, '... and it should be defined'; can_ok $result, 'generation'; is $result->generation, $test_suite_data->{generation}, '... and it should return the correct generation'; can_ok $result, 'num_tests'; is $result->num_tests, scalar keys %{ $test_suite_data->{tests} }, '... and it should return the number of tests run'; can_ok $result, 'raw'; is_deeply $result->raw, $test_suite_data, '... and it should return the raw, unblessed data'; # # Check individual tests. # can_ok $result, 'tests'; can_ok $result, 'test'; eval { $result->test }; my $error = $@; like $error, qr/^\Qtest() requires a test name/, '... and it should croak() if a test name is not supplied'; my $name = 't/compat/failure.t'; ok my $test = $result->test('t/compat/failure.t'), 'result() should succeed if the test name is found'; isa_ok $test, 'App::Prove::State::Result::Test', '... and the object it returns'; can_ok $test, 'name'; is $test->name, $name, '... and it should return the test name'; can_ok $test, 'last_pass_time'; like $test->last_pass_time, qr/^\d+\.\d+$/, '... and it should return a numeric value'; can_ok $test, 'last_fail_time'; ok !defined $test->last_fail_time, '... and it should return undef if the test has never failed'; can_ok $result, 'remove'; ok $result->remove($name), '... and calling it should succeed'; ok $test = $result->test($name), '... and fetching the removed test should suceed'; ok !defined $test->last_pass_time, '... and it should have clean values'; sub test_suite_data { return { 'version' => App::Prove::State::Result->state_version, 'generation' => '51', 'tests' => { 't/compat/failure.t' => { 'last_result' => '0', 'last_run_time' => '1196371471.57738', 'last_pass_time' => '1196371471.57738', 'total_passes' => '48', 'seq' => '1549', 'gen' => '51', 'elapsed' => 0.1230, 'last_todo' => '1', 'mtime' => 1196285623, }, 't/yamlish-writer.t' => { 'last_result' => '0', 'last_run_time' => '1196371480.5761', 'last_pass_time' => '1196371480.5761', 'last_fail_time' => '1196368609', 'total_passes' => '41', 'seq' => '1578', 'gen' => '49', 'elapsed' => 12.2983, 'last_todo' => '0', 'mtime' => 1196285400, }, 't/compat/env.t' => { 'last_result' => '0', 'last_run_time' => '1196371471.42967', 'last_pass_time' => '1196371471.42967', 'last_fail_time' => '1196368608', 'total_passes' => '48', 'seq' => '1548', 'gen' => '52', 'elapsed' => 3.1290, 'last_todo' => '0', 'mtime' => 1196285739, }, 't/compat/version.t' => { 'last_result' => '2', 'last_run_time' => '1196371472.96476', 'last_pass_time' => '1196371472.96476', 'last_fail_time' => '1196368609', 'total_passes' => '47', 'seq' => '1555', 'gen' => '51', 'elapsed' => 0.2363, 'last_todo' => '4', 'mtime' => 1196285239, }, 't/compat/inc_taint.t' => { 'last_result' => '3', 'last_run_time' => '1196371471.89682', 'last_pass_time' => '1196371471.89682', 'total_passes' => '47', 'seq' => '1551', 'gen' => '51', 'elapsed' => 1.6938, 'last_todo' => '0', 'mtime' => 1196185639, }, 't/source.t' => { 'last_result' => '0', 'last_run_time' => '1196371479.72508', 'last_pass_time' => '1196371479.72508', 'total_passes' => '41', 'seq' => '1570', 'gen' => '51', 'elapsed' => 0.0143, 'last_todo' => '0', 'mtime' => 1186285639, }, } }; }