X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F23xml-xmi-parser-rational.t;h=688b97a53fd6b48f737d41866103433569524a1d;hb=2d691ec135298f8a4523656dc0516dcb7af3e8cd;hp=f1adb59f8bdbab69d536de44a34f979cf1983272;hpb=49133ae73acfa89f849086f5c28fc9395cd2bebe;p=dbsrgits%2FSQL-Translator.git diff --git a/t/23xml-xmi-parser-rational.t b/t/23xml-xmi-parser-rational.t index f1adb59..688b97a 100644 --- a/t/23xml-xmi-parser-rational.t +++ b/t/23xml-xmi-parser-rational.t @@ -15,9 +15,16 @@ use constant DEBUG => (exists $opt{d} ? 1 : 0); use Test::More; use Test::Exception; +use Test::SQL::Translator qw(maybe_plan); use SQL::Translator; use SQL::Translator::Schema::Constants; +BEGIN { + maybe_plan(92, + 'SQL::Translator::Parser::XML::XMI::Rational', + 'SQL::Translator::Producer::MySQL'); +} + # Usefull test subs for the schema objs #============================================================================= @@ -128,8 +135,6 @@ sub test_table { # Testing 1,2,3,.. #============================================================================= -plan tests => 92; - my $testschema = "$Bin/data/xmi/OrderDB.rationalprofile.poseidon2.xmi"; die "Can't find test schema $testschema" unless -e $testschema;