Move some ICDT dependent (sub)tests around (no functional changes)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema.pm
CommitLineData
bab77431 1package # hide from PAUSE
c6d74d3e 2 DBICTest::Schema;
a02675cd 3
65d35121 4use strict;
5use warnings;
6no warnings 'qw';
a02675cd 7
27a701f9 8use base 'DBICTest::BaseSchema';
65d35121 9
71829446 10__PACKAGE__->mk_group_accessors(simple => 'custom_attr');
11
a02675cd 12__PACKAGE__->load_classes(qw/
5ce32fc1 13 Artist
b829910c 14 SequenceTest
6ec7d1bb 15 BindType
4e298a80 16 Employee
5ce32fc1 17 CD
370f2ba2 18 Genre
9c2c91ea 19 Bookmark
97c96475 20 Link
5ce32fc1 21 #dummy
22 Track
23 Tag
a648ec78 24 Year2000CDs
1ee9aa72 25 Year1999CDs
b8b55c8e 26 CustomSql
818ec409 27 Money
4d4dc518 28 TimestampPrimaryKey
5ce32fc1 29 /,
30 { 'DBICTest::Schema' => [qw/
31 LinerNotes
4f6386b0 32 Artwork
d5633096 33 Artwork_to_Artist
4f6386b0 34 Image
35 Lyrics
36 LyricVersion
5ce32fc1 37 OneKey
38 #dummy
39 TwoKeys
9fcda149 40 Serialized
5ce32fc1 41 /]},
42 (
43 'FourKeys',
3bd6e3e0 44 'FourKeys_to_TwoKeys',
5ce32fc1 45 '#dummy',
46 'SelfRef',
5efe4c79 47 'ArtistUndirectedMap',
bab77431 48 'ArtistSourceName',
b1fb2c94 49 'ArtistSubclass',
7411204b 50 'Producer',
51 'CD_to_Producer',
181c0934 52 'Dummy', # this is a real result class we remove in the hook below
5ce32fc1 53 ),
8548e45c 54 qw/SelfRefAlias TreeLike TwoKeyTreeLike Event NoPrimaryKey/,
a7e65bb5 55 qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
6e6b37a7 56 qw/ForceForeign Encoded/,
5ce32fc1 57);
a02675cd 58
d6c79cb3 59sub sqlt_deploy_hook {
60 my ($self, $sqlt_schema) = @_;
61
458e0292 62 $sqlt_schema->drop_table('dummy');
d6c79cb3 63}
64
a02675cd 651;