X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F16xml-parser.t;h=49c0a26cef1fbb187b325097f1519d3fbdcce737;hb=32d8b258a2904e099d68272a386546333c3f7152;hp=ba3d6a0d7293e59bcd3a976e68f7c8f5fc09bb49;hpb=94ed484bd57e92fb214032606080cfd1e7bbf70b;p=dbsrgits%2FSQL-Translator.git diff --git a/t/16xml-parser.t b/t/16xml-parser.t index ba3d6a0..49c0a26 100644 --- a/t/16xml-parser.t +++ b/t/16xml-parser.t @@ -27,7 +27,7 @@ use constant DEBUG => (exists $opt{d} ? 1 : 0); #============================================================================= BEGIN { - maybe_plan(142, 'SQL::Translator::Parser::XML::SQLFairy'); + maybe_plan(150, 'SQL::Translator::Parser::XML::SQLFairy'); } my $testschema = "$Bin/data/xml/schema.xml"; @@ -57,6 +57,12 @@ schema_ok( $scma, { tables => [ { name => "Basic", + extra => { + foo => "bar", + hello => "world", + bar => "baz", + mysql_table_type => "InnoDB", + }, fields => [ { name => "id", @@ -118,6 +124,11 @@ schema_ok( $scma, { { type => PRIMARY_KEY, fields => ["id"], + extra => { + foo => "bar", + hello => "world", + bar => "baz", + }, }, { name => 'emailuniqueindex', @@ -129,6 +140,11 @@ schema_ok( $scma, { { name => "titleindex", fields => ["title"], + extra => { + foo => "bar", + hello => "world", + bar => "baz", + }, }, ], } # end table Basic @@ -139,6 +155,11 @@ schema_ok( $scma, { name => 'email_list', sql => "SELECT email FROM Basic WHERE email IS NOT NULL", fields => ['email'], + extra => { + foo => "bar", + hello => "world", + bar => "baz", + }, }, ], @@ -149,6 +170,11 @@ schema_ok( $scma, { database_event => 'insert', on_table => 'foo', action => 'update modified=timestamp();', + extra => { + foo => "bar", + hello => "world", + bar => "baz", + }, }, ], @@ -159,6 +185,11 @@ schema_ok( $scma, { parameters => ['foo', 'bar'], owner => 'Nomar', comments => 'Go Sox!', + extra => { + foo => "bar", + hello => "world", + bar => "baz", + }, }, ],