Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="configZoneWorld"></param>
        /// <returns></returns>
        public void InitZoneCluster(ConfigZoneCluster configZoneCluster)
        {
            if (configZoneCluster == null)
            {
                throw new Exception("ZoneCluster.InitZoneCluster(...) - configZoneCluster == null error!");
            }

            m_ConfigZoneCluster = configZoneCluster;
        }
 public void ZoneClusterPortTest()
 {
     ConfigZoneCluster target = new ConfigZoneCluster(); // TODO: 初始化为适当的值
     int expected = 0; // TODO: 初始化为适当的值
     int actual;
     target.ZoneClusterPort = expected;
     actual = target.ZoneClusterPort;
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
 public void ZoneClusterPasswordTest()
 {
     ConfigZoneCluster target = new ConfigZoneCluster(); // TODO: 初始化为适当的值
     string expected = string.Empty; // TODO: 初始化为适当的值
     string actual;
     target.ZoneClusterPassword = expected;
     actual = target.ZoneClusterPassword;
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
 public void ConfigZoneClusterConstructorTest()
 {
     ConfigZoneCluster target = new ConfigZoneCluster();
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }