~ubuntu-branches/ubuntu/trusty/libtest-roo-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to t/role-multi.t

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-01-14 19:25:11 UTC
  • Revision ID: package-import@ubuntu.com-20140114192511-9ycl4dc1zgamfnek
Tags: upstream-1.002
ImportĀ upstreamĀ versionĀ 1.002

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use 5.008001;
 
2
 
 
3
package MyTest;
 
4
use Test::Roo;
 
5
 
 
6
use lib 't/lib';
 
7
 
 
8
has class => (
 
9
    is       => 'ro',
 
10
    required => 1,
 
11
);
 
12
 
 
13
with 'ClassConstructor';
 
14
 
 
15
package main;
 
16
use strictures;
 
17
use Test::More;
 
18
 
 
19
for my $c (qw/Digest::MD5 Math::BigInt/) {
 
20
    MyTest->run_tests( $c, { class => $c } );
 
21
}
 
22
 
 
23
done_testing;
 
24
#
 
25
# This file is part of Test-Roo
 
26
#
 
27
# This software is Copyright (c) 2013 by David Golden.
 
28
#
 
29
# This is free software, licensed under:
 
30
#
 
31
#   The Apache License, Version 2.0, January 2004
 
32
#
 
33
# vim: ts=4 sts=4 sw=4 et: