public void DefaultDisplayNameTest() { OraclePackageNode node = new OraclePackageNode(); CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration()); Assert.AreEqual(SR.DefaultOraclePackageNodeName, node.Name); }
public override void SetUp() { base.SetUp(); DatabaseSettingsNode databaseSettingsNode = new DatabaseSettingsNode(DatabaseSettingsBuilder.Create(Host)); IUIHierarchy hierarchy = CreateHierarchyAndAddToHierarchyService(databaseSettingsNode, CreateDefaultConfiguration()); packageNode = (OraclePackageNode)hierarchy.FindNodeByType(typeof(OraclePackageNode)); }
public override void SetUp() { base.SetUp(); DatabaseSettingsNode databaseSettingsNode = new DatabaseSettingsNode(DatabaseSettingsBuilder.Create(Host)); IUIHierarchy hierarchy = CreateHierarchyAndAddToHierarchyService(databaseSettingsNode, CreateDefaultConfiguration()); packageNode = (OraclePackageNode)hierarchy.FindNodeByType(typeof(OraclePackageNode)); }
public void CreateFromRuntimeTest() { DatabaseSettings databaseSettings = DatabaseSettingsBuilder.Create(Host); OraclePackageData data = ((OracleConnectionStringData)databaseSettings.ConnectionStrings["OracleConnection"]).OraclePackages["ENTLIB"]; OraclePackageNode node = new OraclePackageNode(data); CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration()); Assert.AreEqual(data.Name, node.Name); Assert.AreEqual(data.Prefix, node.Prefix); ValidateNodeCommand cmd = new ValidateNodeCommand(Host); cmd.Execute(node); }
public void CreateFromRuntimeTest() { DatabaseSettings databaseSettings = DatabaseSettingsBuilder.Create(Host); OraclePackageData data = ((OracleConnectionStringData)databaseSettings.ConnectionStrings["OracleConnection"]).OraclePackages["ENTLIB"]; OraclePackageNode node = new OraclePackageNode(data); CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration()); Assert.AreEqual(data.Name, node.Name); Assert.AreEqual(data.Prefix, node.Prefix); ValidateNodeCommand cmd = new ValidateNodeCommand(Host); cmd.Execute(node); }
public void DefaultDisplayNameTest() { OraclePackageNode node = new OraclePackageNode(); CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration()); Assert.AreEqual(SR.DefaultOraclePackageNodeName, node.Name); }