本文整理汇总了Java中liquibase.change.ChangeMetaData类的典型用法代码示例。如果您正苦于以下问题:Java ChangeMetaData类的具体用法?Java ChangeMetaData怎么用?Java ChangeMetaData使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ChangeMetaData类属于liquibase.change包,在下文中一共展示了ChangeMetaData类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
CreateFlexibleViewChange view = new CreateFlexibleViewChange();
assertEquals( "createFlexibleView", ChangeFactory.getInstance().getChangeMetaData( view ).getName() );
assertEquals( "Create a new database view or materialized view depending on context.", ChangeFactory.getInstance().getChangeMetaData( view ).getDescription() );
assertEquals( ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData( view ).getPriority() );
}
示例2: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DisableTriggerChange disableTriggerChange = new DisableTriggerChange();
assertEquals("disableTrigger", ChangeFactory.getInstance().getChangeMetaData(disableTriggerChange).getName());
assertEquals("Disable Trigger", ChangeFactory.getInstance().getChangeMetaData(disableTriggerChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(disableTriggerChange).getPriority());
}
示例3: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
EncapsulateTableWithViewChange change = new EncapsulateTableWithViewChange();
assertEquals("encapsulateTableWithView", ChangeFactory.getInstance().getChangeMetaData(change).getName());
assertEquals("Encapsulate table with view", ChangeFactory.getInstance().getChangeMetaData(change).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(change).getPriority());
}
示例4: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
RenameTriggerChange renameTriggerChange = new RenameTriggerChange();
assertEquals("renameTrigger", ChangeFactory.getInstance().getChangeMetaData(renameTriggerChange).getName());
assertEquals("Rename Trigger", ChangeFactory.getInstance().getChangeMetaData(renameTriggerChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(renameTriggerChange).getPriority());
}
示例5: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DisableConstraintChange disableCheckChange = new DisableConstraintChange();
assertEquals("disableConstraint", ChangeFactory.getInstance().getChangeMetaData(disableCheckChange).getName());
assertEquals("Disable constraint", ChangeFactory.getInstance().getChangeMetaData(disableCheckChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(disableCheckChange).getPriority());
}
示例6: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
SplitTableChange change = new SplitTableChange();
assertEquals("splitTable", ChangeFactory.getInstance().getChangeMetaData(change).getName());
assertEquals("Split table", ChangeFactory.getInstance().getChangeMetaData(change).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(change).getPriority());
}
示例7: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
CreateTriggerChange createTriggerChange = new CreateTriggerChange();
assertEquals("createTrigger", ChangeFactory.getInstance().getChangeMetaData(createTriggerChange).getName());
assertEquals("Create Trigger", ChangeFactory.getInstance().getChangeMetaData(createTriggerChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(createTriggerChange).getPriority());
}
示例8: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
AddDeferredPrimaryKeyChange addPrimaryKeyChange = new AddDeferredPrimaryKeyChange();
assertEquals("addDeferredPrimaryKey", ChangeFactory.getInstance().getChangeMetaData(addPrimaryKeyChange).getName());
assertEquals("Add deferred primary key", ChangeFactory.getInstance().getChangeMetaData(addPrimaryKeyChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(addPrimaryKeyChange).getPriority());
}
示例9: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DropSynonymChange change = new DropSynonymChange();
assertEquals("dropSynonym", ChangeFactory.getInstance().getChangeMetaData(change).getName());
assertEquals("Drop synonym", ChangeFactory.getInstance().getChangeMetaData(change).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(change).getPriority());
}
示例10: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
CreateSynonymChange createSynonymChange = new CreateSynonymChange();
assertEquals("createSynonym", ChangeFactory.getInstance().getChangeMetaData(createSynonymChange).getName());
assertEquals("Create synonym", ChangeFactory.getInstance().getChangeMetaData(createSynonymChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(createSynonymChange).getPriority());
}
示例11: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DropTriggerChange dropTriggerChange = new DropTriggerChange();
assertEquals("dropTrigger", ChangeFactory.getInstance().getChangeMetaData(dropTriggerChange).getName());
assertEquals("Drop trigger", ChangeFactory.getInstance().getChangeMetaData(dropTriggerChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(dropTriggerChange).getPriority());
}
示例12: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
LongUpdateChange longUpdateChange = new LongUpdateChange();
assertEquals("longUpdate", ChangeFactory.getInstance().getChangeMetaData(longUpdateChange).getName());
assertEquals("Long Update", ChangeFactory.getInstance().getChangeMetaData(longUpdateChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(longUpdateChange).getPriority());
}
示例13: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DropMaterializedViewChange dropMaterializedViewChange = new DropMaterializedViewChange();
assertEquals("dropMaterializedView", ChangeFactory.getInstance().getChangeMetaData(dropMaterializedViewChange).getName());
assertEquals("Drop Materialized View", ChangeFactory.getInstance().getChangeMetaData(dropMaterializedViewChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(dropMaterializedViewChange).getPriority());
}
示例14: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
EnableTriggerChange enableTriggerChange = new EnableTriggerChange();
assertEquals("enableTrigger", ChangeFactory.getInstance().getChangeMetaData(enableTriggerChange).getName());
assertEquals("Enable Trigger", ChangeFactory.getInstance().getChangeMetaData(enableTriggerChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(enableTriggerChange).getPriority());
}
示例15: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
CreateMaterializedViewChange createMaterializedViewChange = new CreateMaterializedViewChange();
assertEquals("createMaterializedView", ChangeFactory.getInstance().getChangeMetaData(createMaterializedViewChange).getName());
assertEquals("Create materialized view", ChangeFactory.getInstance().getChangeMetaData(createMaterializedViewChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(createMaterializedViewChange).getPriority());
}