Commit 3dd13ffd authored by Dave Cramer's avatar Dave Cramer

small fix to testExportedKeys

parent 1ffd044a
...@@ -9,7 +9,7 @@ import java.sql.*; ...@@ -9,7 +9,7 @@ import java.sql.*;
* *
* PS: Do you know how difficult it is to type on a train? ;-) * PS: Do you know how difficult it is to type on a train? ;-)
* *
* $Id: DatabaseMetaDataTest.java,v 1.6 2002/05/30 16:26:55 davec Exp $ * $Id: DatabaseMetaDataTest.java,v 1.7 2002/05/30 16:39:26 davec Exp $
*/ */
public class DatabaseMetaDataTest extends TestCase public class DatabaseMetaDataTest extends TestCase
...@@ -274,8 +274,6 @@ public class DatabaseMetaDataTest extends TestCase ...@@ -274,8 +274,6 @@ public class DatabaseMetaDataTest extends TestCase
// this is hacky, but it will serve the purpose // this is hacky, but it will serve the purpose
assertTrue ( rs.next() ); assertTrue ( rs.next() );
for (int i = 0; i < 14 ; i++ )
{
assertTrue( rs.getString( "PKTABLE_NAME" ).equals( "people" ) ); assertTrue( rs.getString( "PKTABLE_NAME" ).equals( "people" ) );
assertTrue( rs.getString( "PKCOLUMN_NAME" ).equals( "id" ) ); assertTrue( rs.getString( "PKCOLUMN_NAME" ).equals( "id" ) );
...@@ -284,8 +282,6 @@ public class DatabaseMetaDataTest extends TestCase ...@@ -284,8 +282,6 @@ public class DatabaseMetaDataTest extends TestCase
assertTrue( rs.getString( "FK_NAME" ).equals( "people" ) ); assertTrue( rs.getString( "FK_NAME" ).equals( "people" ) );
}
JDBC2Tests.dropTable( con1, "users" ); JDBC2Tests.dropTable( con1, "users" );
JDBC2Tests.dropTable( con1, "people" ); JDBC2Tests.dropTable( con1, "people" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment