public void CreateFromRuntimeTest()
 {
     DatabaseSettings databaseSettings = DatabaseSettingsBuilder.Create(Host);
     OracleConnectionStringData data = databaseSettings.ConnectionStrings["OracleConnection"] as OracleConnectionStringData;
     OracleConnectionStringNode node = new OracleConnectionStringNode(data);
     CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration());
     Assert.AreEqual(data.Name, node.Name);
     Assert.AreEqual(4, node.Nodes.Count);
     ValidateNodeCommand cmd = new ValidateNodeCommand(Host);
     cmd.Execute(node);
     Assert.AreEqual(0, ValidationErrorsCount);
 }
 public override void SetUp()
 {
     base.SetUp();
     DatabaseSettings databaseSettings = DatabaseSettingsBuilder.Create(Host);
     connectionStringData = databaseSettings.ConnectionStrings["OracleConnection"] as OracleConnectionStringData;
     Assert.IsNotNull(connectionStringData);
     DatabaseSettingsNode databaseSettingsNode = new DatabaseSettingsNode(databaseSettings);
     IUIHierarchy hierarchy = CreateHierarchyAndAddToHierarchyService(databaseSettingsNode, CreateDefaultConfiguration());
     ConfigurationNode[] nodes = hierarchy.FindNodesByType(typeof(OracleConnectionStringNode));
     foreach (OracleConnectionStringNode node in nodes)
     {
         connectionStringNode = node;
     }
 }
        public void CreateFromRuntimeTest()
        {
            DatabaseSettings           databaseSettings = DatabaseSettingsBuilder.Create(Host);
            OracleConnectionStringData data             = databaseSettings.ConnectionStrings["OracleConnection"] as OracleConnectionStringData;
            OracleConnectionStringNode node             = new OracleConnectionStringNode(data);

            CreateHierarchyAndAddToHierarchyService(node, CreateDefaultConfiguration());
            Assert.AreEqual(data.Name, node.Name);
            Assert.AreEqual(4, node.Nodes.Count);
            ValidateNodeCommand cmd = new ValidateNodeCommand(Host);

            cmd.Execute(node);
            Assert.AreEqual(0, ValidationErrorsCount);
        }
        public override void SetUp()
        {
            base.SetUp();
            DatabaseSettings databaseSettings = DatabaseSettingsBuilder.Create(Host);

            connectionStringData = databaseSettings.ConnectionStrings["OracleConnection"] as OracleConnectionStringData;
            Assert.IsNotNull(connectionStringData);
            DatabaseSettingsNode databaseSettingsNode = new DatabaseSettingsNode(databaseSettings);
            IUIHierarchy         hierarchy            = CreateHierarchyAndAddToHierarchyService(databaseSettingsNode, CreateDefaultConfiguration());

            ConfigurationNode[] nodes = hierarchy.FindNodesByType(typeof(OracleConnectionStringNode));
            foreach (OracleConnectionStringNode node in nodes)
            {
                connectionStringNode = node;
            }
        }