File: 10_adjacencylist.t

package info (click to toggle)
libdbix-class-tree-perl 0.03003-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 244 kB
  • sloc: perl: 1,554; sql: 8; makefile: 8
file content (25 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# vim: filetype=perl:ts=8:sw=4:sts=4:et
use strict;
use warnings;
use lib 't/lib';

use Test::More;

BEGIN {   # This must happen before the schema is loaded

  require TreeTest::Schema::Node;

  TreeTest::Schema::Node->load_components(qw(
    Tree::AdjacencyList
  ));

  TreeTest::Schema::Node->parent_column( 'parent_id' );
}

use TreeTest;

my $tests = TreeTest::count_tests();
plan tests => $tests;
TreeTest::run_tests();

1;