Program: 84200
Project: 84200
Buggy source:
@Test public void createTable_deleteCascadeForeignKeyColumn() throws Exception {
  new DatabaseTestTemplate().testOnAvailableDatabases(new DatabaseTest(){
    public void performTest(    Database database) throws JDBCException {
      CreateTableStatement statement=new CreateTableStatement(FK_TABLE_NAME).addPrimaryKeyColumn("String_Node_Str","String_Node_Str",false).addColumn("String_Node_Str","String_Node_Str");
      new JdbcTemplate(database).execute(statement);
      String foreignKeyName="String_Node_Str";
      ForeignKeyConstraint fkConstraint=new ForeignKeyConstraint(foreignKeyName,FK_TABLE_NAME + "String_Node_Str");
      fkConstraint.setDeleteCascade(true);
      statement=new CreateTableStatement(TABLE_NAME).addPrimaryKeyColumn("String_Node_Str","String_Node_Str",false).addColumn("String_Node_Str","String_Node_Str").addColumn("String_Node_Str","String_Node_Str",fkConstraint);
      new JdbcTemplate(database).execute(statement);
      DatabaseSnapshot snapshot=new DatabaseSnapshot(database);
      Table table=snapshot.getTable(TABLE_NAME);
      assertEquals(TABLE_NAME.toUpperCase(),table.getName().toUpperCase());
      assertNotNull(table.getColumn("String_Node_Str"));
      ForeignKey foundForeignKey=snapshot.getForeignKey(foreignKeyName);
      assertNotNull(foundForeignKey);
      assertEquals(FK_TABLE_NAME,foundForeignKey.getPrimaryKeyTable().getName().toUpperCase());
      assertEquals("String_Node_Str",foundForeignKey.getPrimaryKeyColumn().toUpperCase());
      assertEquals(TABLE_NAME,foundForeignKey.getForeignKeyTable().getName().toUpperCase());
      assertEquals("String_Node_Str",foundForeignKey.getForeignKeyColumn().toUpperCase());
    }
  }
);
}

Fixed version (ground truth):
@Test public void createTable_deleteCascadeForeignKeyColumn() throws Exception {
  new DatabaseTestTemplate().testOnAvailableDatabases(new DatabaseTest(){
    public void performTest(    Database database) throws JDBCException {
      CreateTableStatement statement=new CreateTableStatement(FK_TABLE_NAME).addPrimaryKeyColumn("String_Node_Str","String_Node_Str").addColumn("String_Node_Str","String_Node_Str");
      new JdbcTemplate(database).execute(statement);
      String foreignKeyName="String_Node_Str";
      ForeignKeyConstraint fkConstraint=new ForeignKeyConstraint(foreignKeyName,FK_TABLE_NAME + "String_Node_Str");
      fkConstraint.setDeleteCascade(true);
      statement=new CreateTableStatement(TABLE_NAME).addPrimaryKeyColumn("String_Node_Str","String_Node_Str").addColumn("String_Node_Str","String_Node_Str").addColumn("String_Node_Str","String_Node_Str",fkConstraint);
      new JdbcTemplate(database).execute(statement);
      DatabaseSnapshot snapshot=new DatabaseSnapshot(database);
      Table table=snapshot.getTable(TABLE_NAME);
      assertEquals(TABLE_NAME.toUpperCase(),table.getName().toUpperCase());
      assertNotNull(table.getColumn("String_Node_Str"));
      ForeignKey foundForeignKey=snapshot.getForeignKey(foreignKeyName);
      assertNotNull(foundForeignKey);
      assertEquals(FK_TABLE_NAME,foundForeignKey.getPrimaryKeyTable().getName().toUpperCase());
      assertEquals("String_Node_Str",foundForeignKey.getPrimaryKeyColumn().toUpperCase());
      assertEquals(TABLE_NAME,foundForeignKey.getForeignKeyTable().getName().toUpperCase());
      assertEquals("String_Node_Str",foundForeignKey.getForeignKeyColumn().toUpperCase());
    }
  }
);
}