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