本文整理汇总了Java中liquibase.change.ChangeMetaData类的典型用法代码示例。如果您正苦于以下问题:Java ChangeMetaData类的具体用法?Java ChangeMetaData怎么用?Java ChangeMetaData使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ChangeMetaData类属于liquibase.change包,在下文中一共展示了ChangeMetaData类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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() );
}
开发者ID:mrswadge,项目名称:liquibase-flexibleview,代码行数:9,代码来源:CreateFlexibleViewTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:DisableTriggerTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:EncapsulateTableWithViewTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:RenameTriggerTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:DisableConstraintChangeTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:SplitTableChangeTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:CreateTriggerTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:8,代码来源:AddDeferredPrimaryKeyChangeTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:8,代码来源:DropSynonymTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:8,代码来源:CreateSynonymTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:DropTriggerTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:LongUpdateTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:DropMaterializedViewTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:EnableTriggerTest.java
示例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());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:CreateMaterializedViewTest.java
示例16: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
MergeChange mergeTablesChange = new MergeChange();
assertEquals("merge", ChangeFactory.getInstance().getChangeMetaData(mergeTablesChange).getName());
assertEquals("Merge", ChangeFactory.getInstance().getChangeMetaData(mergeTablesChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(mergeTablesChange).getPriority());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:MergeChangeTest.java
示例17: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
SetTransactionChange setTransactionChange = new SetTransactionChange();
assertEquals("setTransaction", ChangeFactory.getInstance().getChangeMetaData(setTransactionChange).getName());
assertEquals("Set Transaction", ChangeFactory.getInstance().getChangeMetaData(setTransactionChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(setTransactionChange).getPriority());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:SetTransactionTest.java
示例18: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
TruncateChange truncateChange = new TruncateChange();
assertEquals("truncate", ChangeFactory.getInstance().getChangeMetaData(truncateChange).getName());
assertEquals("Truncate", ChangeFactory.getInstance().getChangeMetaData(truncateChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(truncateChange).getPriority());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:TruncateChangeTest.java
示例19: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
RefreshMaterializedViewChange change = new RefreshMaterializedViewChange();
assertEquals("metadata name incorrect", "refreshMaterializedView", ChangeFactory.getInstance().getChangeMetaData(change).getName());
assertEquals("metadata description incorrect", "Refresh Materialized View", ChangeFactory.getInstance().getChangeMetaData(change).getDescription());
assertEquals("metadata priority incorrect", ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(change).getPriority());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:RefreshMaterializedViewTest.java
示例20: getChangeMetaData
import liquibase.change.ChangeMetaData; //导入依赖的package包/类
@Test
public void getChangeMetaData() {
DropCheckChange dropCheckChange = new DropCheckChange();
assertEquals("dropCheck", ChangeFactory.getInstance().getChangeMetaData(dropCheckChange).getName());
assertEquals("Drop check", ChangeFactory.getInstance().getChangeMetaData(dropCheckChange).getDescription());
assertEquals(ChangeMetaData.PRIORITY_DEFAULT, ChangeFactory.getInstance().getChangeMetaData(dropCheckChange).getPriority());
}
开发者ID:liquibase,项目名称:liquibase-oracle,代码行数:9,代码来源:DropCheckChangeTest.java
注:本文中的liquibase.change.ChangeMetaData类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论