annotate lib/IMPL/Test/HarnessRunner.pm @ 413:af8d359ee4cc ref20150831

working on di container
author cin
date Thu, 24 Sep 2015 12:19:30 +0300
parents ee36115f6a34
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
407
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
1 package IMPL::Test::HarnessRunner;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
2 use strict;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
3 use warnings;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
4
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
5 use TAP::Parser;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
6 use Test::Harness;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
7
411
cin
parents: 407
diff changeset
8 use IMPL::declare {
cin
parents: 407
diff changeset
9 base => [
cin
parents: 407
diff changeset
10 'IMPL::Object' => undef,
cin
parents: 407
diff changeset
11 'IMPL::Object::Serializable' => undef
cin
parents: 407
diff changeset
12 ]
cin
parents: 407
diff changeset
13 };
407
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
14
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
15 sub RunTests {
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
16 my ($this,@files) = @_;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
17
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
18 return runtests(@files);
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
19 }
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
20
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
21 sub ExecuteTests {
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
22 my ($this,%args) = @_;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
23
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
24 return Test::Harness::execute_tests(%args);
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
25 }
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
26
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
27 1;