Declares the new tests in the MANIFEST, remove useless warnings
Daniel Ruoso [Mon, 14 Apr 2008 14:06:10 +0000 (14:06 +0000)]
MANIFEST
t/52-oracle-options.t
t/53-oracle-delay-constraints.t

index 72c18f3..fc8df6b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -136,10 +136,13 @@ t/46xml-to-pg.t
 t/47postgres-producer.t
 t/48xml-to-sqlite.t
 t/49xml-to-pg-samefield.t
+t/52-oracle-options.t
+t/53-oracle-delay-constraints.t
 t/data/access/gdpdm.ddl
 t/data/Excel/t.xls
 t/data/oracle/create.sql
 t/data/oracle/create2.sql
+t/data/oracle/schema_with_options.yaml
 t/data/mysql/Apache-Session-MySQL.sql
 t/data/mysql/BGEP-RE-create.sql
 t/data/mysql/create.sql
index d93de6e..c9ba5ef 100644 (file)
@@ -28,7 +28,6 @@ my $sql_string = $sqlt->translate(
     filename => $yamlfile,
 );
 
-warn $sql_string;
 ok($sql_string, 'Translation successfull');
 ok($sql_string =~ /TABLESPACE\s+DATA/, 'Table options');
 ok($sql_string =~ /TABLESPACE\s+INDX/, 'Index options');
index a60fe20..974b401 100644 (file)
@@ -29,6 +29,5 @@ my $sql_string = $sqlt->translate(
     filename => $yamlfile,
 );
 
-warn $sql_string;
 ok($sql_string, 'Translation successfull');
-ok($sql_string =~ /ADD PRIMARY KEY/, 'constraints delayed');
+ok($sql_string =~ /ADD CONSTRAINT pk_d_operator PRIMARY KEY/, 'constraints delayed');