package liquibase.sqlgenerator.core; public abstract class DropPrimaryKeyGeneratorTest { // @Test // public void execute_defaultSchema() throws Exception { // new DatabaseTestTemplate().testOnAvailableDatabases( // new SqlStatementDatabaseTest(null, new DropPrimaryKeyStatement(null, TABLE_NAME, PK_NAME)) { // // protected void preExecuteAssert(DatabaseSnapshotGenerator snapshot) { // assertTrue(snapshot.getTable(TABLE_NAME).getColumn(COLUMN_NAME).isPrimaryKey()); // } // // protected void postExecuteAssert(DatabaseSnapshotGenerator snapshot) { // assertFalse(snapshot.getTable(TABLE_NAME).getColumn(COLUMN_NAME).isPrimaryKey()); // } // // }); // } // // @Test // public void execute_altSchema() throws Exception { // new DatabaseTestTemplate().testOnAvailableDatabases( // new SqlStatementDatabaseTest(TestContext.ALT_SCHEMA, new DropPrimaryKeyStatement(TestContext.ALT_SCHEMA, TABLE_NAME, PK_NAME)) { // // protected void preExecuteAssert(DatabaseSnapshotGenerator snapshot) { // assertTrue(snapshot.getTable(TABLE_NAME).getColumn(COLUMN_NAME).isPrimaryKey()); // } // // protected void postExecuteAssert(DatabaseSnapshotGenerator snapshot) { // assertFalse(snapshot.getTable(TABLE_NAME).getColumn(COLUMN_NAME).isPrimaryKey()); // } // // }); // } }