MySQL/Test/EventTZ.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package DBIO::MySQL::Test::EventTZ;
2 # ABSTRACT: Test result class for MySQL/MariaDB timezone-aware datetime inflation
3  
4 use strict;
5 use warnings;
6  
7 use base qw/DBIO::Test::BaseResult/;
8  
9 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
10  
11 __PACKAGE__->table('event');
12  
13 __PACKAGE__->add_columns(
14 id => { data_type => 'integer', is_auto_increment => 1 },
15  
16 starts_at => { data_type => 'date', locale => 'de_DE', timezone => 'America/Chicago', datetime_undef_if_invalid => 1 },
17  
18 created_on => {
19 data_type => 'datetime',
20 timezone => 'America/Chicago',
21 },
22 );
23  
24 __PACKAGE__->set_primary_key('id');
25  
26 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 DBIO::MySQL::Test::EventTZ - Test result class for MySQL/MariaDB timezone-aware datetime inflation
37  
38 =head1 VERSION
39  
40 version 0.900001
41  
42 =head1 AUTHOR
43  
44 DBIO & DBIx::Class Authors
45  
46 =head1 COPYRIGHT AND LICENSE
47  
48 Copyright (C) 2026 DBIO Authors
49 Portions Copyright (C) 2005-2025 DBIx::Class Authors
50 Based on DBIx::Class, heavily modified.
51  
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54  
55 =cut