File Coverage

blib/lib/Tapper/Schema/TestrunDB/Result/TestrunRequestedFeature.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Tapper::Schema::TestrunDB::Result::TestrunRequestedFeature;
2             our $AUTHORITY = 'cpan:TAPPER';
3             $Tapper::Schema::TestrunDB::Result::TestrunRequestedFeature::VERSION = '5.0.11';
4             # ABSTRACT: Tapper - Relate features and testruns
5              
6 7     7   29274 use strict;
  7         16  
  7         188  
7 7     7   34 use warnings;
  7         14  
  7         180  
8              
9 7     7   35 use parent 'DBIx::Class';
  7         15  
  7         101  
10              
11             __PACKAGE__->load_components("Core");
12             __PACKAGE__->table("testrun_requested_feature");
13             __PACKAGE__->add_columns
14             (
15             "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
16             "testrun_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
17             "feature", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, },
18             );
19              
20             __PACKAGE__->set_primary_key(qw/id/);
21              
22             __PACKAGE__->belongs_to( testrunscheduling => 'Tapper::Schema::TestrunDB::Result::Testrun', { 'foreign.id' => 'self.testrun_id' });
23              
24             1;
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Tapper::Schema::TestrunDB::Result::TestrunRequestedFeature - Tapper - Relate features and testruns
35              
36             =head1 AUTHORS
37              
38             =over 4
39              
40             =item *
41              
42             AMD OSRC Tapper Team <tapper@amd64.org>
43              
44             =item *
45              
46             Tapper Team <tapper-ops@amazon.com>
47              
48             =back
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is Copyright (c) 2019 by Advanced Micro Devices, Inc..
53              
54             This is free software, licensed under:
55              
56             The (two-clause) FreeBSD License
57              
58             =cut