@Test public void serialized_CustomChange() throws Exception { String expectedString = "customChange:[\n" + " className=\"liquibase.change.custom.ExampleCustomSqlChange\"\n" + " paramValues={\n" + " columnName=\"column_name\",\n" + " newValue=\"new_value\",\n" + " tableName=\"table_name\"\n" + " }\n" + "]"; CustomChangeWrapper wrapper = new CustomChangeWrapper(); wrapper.setResourceAccessor(new ClassLoaderResourceAccessor()); wrapper.setClassLoader(getClass().getClassLoader()); wrapper.setClass("liquibase.change.custom.ExampleCustomSqlChange"); wrapper.setParam("columnName", "column_name"); wrapper.setParam("newValue", "new_value"); wrapper.setParam("tableName", "table_name"); assertEquals(expectedString, new StringChangeLogSerializer().serialize(wrapper)); }
public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; } }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  String[] getValidFileExtensions(); String serialize(DatabaseChangeLog databaseChangeLog); String serialize(Change change); String serialize(SqlVisitor visitor); String serialize(ColumnConfig columnConfig); String serialize(ChangeSet changeSet); void write(List<ChangeSet> changeSets, OutputStream out); }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  String[] getValidFileExtensions(); String serialize(DatabaseChangeLog databaseChangeLog); String serialize(Change change); String serialize(SqlVisitor visitor); String serialize(ColumnConfig columnConfig); String serialize(ChangeSet changeSet); void write(List<ChangeSet> changeSets, OutputStream out);  }