« Tapper/Schema/TestrunDB/Result/TestrunRequestedResourceAlternative.pm
↑ Summary
Tapper/Schema/TestrunDB/Result/View010TestrunOverviewReports.pm »
| 1 | package Tapper::Schema::TestrunDB::Result::Topic; | ||
| 2 | 10 | our $AUTHORITY = 'cpan:TAPPER'; | |
| 3 | 10 | $Tapper::Schema::TestrunDB::Result::Topic::VERSION = '5.0.12'; | |
| 4 | # ABSTRACT: Tapper - Containg topic informations | ||
| 5 | |||
| 6 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 10 | our %topic_description = | |
| 10 | ( | ||
| 11 | Kernel => 'particlar kernel version or kernel modules', | ||
| 12 | Xen => 'Xen features', | ||
| 13 | KVM => 'KVM features', | ||
| 14 | Hardware => 'test focuses on the hardware', | ||
| 15 | Distribution => 'OS distribution (like RHEL, SLES, Debian)', | ||
| 16 | Benchmark => 'collection of values', | ||
| 17 | Software => 'any non-kernel software, like libraries, programs', | ||
| 18 | Research => 'collection of results, similar to benchmark', | ||
| 19 | Misc => 'what does not fit into other topics', | ||
| 20 | ); | ||
| 21 | |||
| 22 | 10 | ▶ | use parent 'DBIx::Class'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 10 | __PACKAGE__->load_components("Core"); | |
| 25 | 10 | __PACKAGE__->table("topic"); | |
| 26 | 10 | __PACKAGE__->add_columns | |
| 27 | ( | ||
| 28 | "name", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255 }, | ||
| 29 | "description", { data_type => "TEXT", default_value => "", is_nullable => 0, }, | ||
| 30 | ); | ||
| 31 | 10 | __PACKAGE__->set_primary_key("name"); | |
| 32 | |||
| 33 | |||
| 34 | 10 | 1; | |
| 35 | |||
| 36 | __END__ | ||