File: accessors_xs.t

package info (click to toggle)
libclass-accessor-grouped-perl 0.09003-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 276 kB
  • ctags: 168
  • sloc: perl: 2,206; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use strict;
use warnings;
use FindBin qw($Bin);
use File::Spec::Functions;
use Test::More;
use lib 't/lib';

BEGIN {
    # Enable XSAccessor check
    $Class::Accessor::Grouped::hasXS = undef;
    
    require AccessorGroups;
}
 
plan skip_all => 'Class::XSAccessor not available'
    unless Class::Accessor::Grouped::_hasXS();

require( catfile($Bin, 'accessors.t') );