示例#1
0
        public void DisconnectAtClientEventArgsConstructorTest()
        {
            ConnectHandle               aceClientHandlerAtClient        = ConnectHandle.Zero;        // TODO: 初始化为适当的值
            ConnectHandleManager        aceSocketHandlerManagerAtClient = ConnectHandleManager.Zero; // TODO: 初始化为适当的值
            DisconnectAtClientEventArgs target = new DisconnectAtClientEventArgs(aceClientHandlerAtClient, aceSocketHandlerManagerAtClient);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
 public void GetNewSendMessageBlockTest()
 {
     ConnectHandleManager target = new ConnectHandleManager(); // TODO: 初始化为适当的值
     MessageBlock expected = MessageBlock.Zero; // TODO: 初始化为适当的值
     MessageBlock actual;
     actual = target.GetNewSendMessageBlock();
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
        public void ProcessMessageBlockAtClientEventArgsConstructorTest()
        {
            MessageBlock         aceMessageBlock              = MessageBlock.Zero;         // TODO: 初始化为适当的值
            ConnectHandle        clientHandlerAtClient        = ConnectHandle.Zero;        // TODO: 初始化为适当的值
            ConnectHandleManager socketHandlerManagerAtClient = ConnectHandleManager.Zero; // TODO: 初始化为适当的值
            ProcessMessageBlockAtClientEventArgs target       = new ProcessMessageBlockAtClientEventArgs(aceMessageBlock, clientHandlerAtClient, socketHandlerManagerAtClient);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
 public void ValueTest()
 {
     ConnectHandleManager target = new ConnectHandleManager(); // TODO: 初始化为适当的值
     IntPtr expected = new IntPtr(); // TODO: 初始化为适当的值
     IntPtr actual;
     target.Handle = expected;
     actual = target.Handle;
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
示例#5
0
        public void ConnectHandleTest()
        {
            ConnectHandle               aceClientHandlerAtClient        = ConnectHandle.Zero;                                                // TODO: 初始化为适当的值
            ConnectHandleManager        aceSocketHandlerManagerAtClient = ConnectHandleManager.Zero;                                         // TODO: 初始化为适当的值
            DisconnectAtClientEventArgs target = new DisconnectAtClientEventArgs(aceClientHandlerAtClient, aceSocketHandlerManagerAtClient); // TODO: 初始化为适当的值
            ConnectHandle               actual;

            actual = target.ConnectHandle;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void GetClientHandlerTest()
        {
            ConnectHandleManager target   = new ConnectHandleManager(); // TODO: 初始化为适当的值
            ConnectHandle        expected = ConnectHandle.Zero;         // TODO: 初始化为适当的值
            ConnectHandle        actual;

            actual = target.GetConnectHandle();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void GetNewSendMessageBlockTest()
        {
            ConnectHandleManager target   = new ConnectHandleManager(); // TODO: 初始化为适当的值
            MessageBlock         expected = MessageBlock.Zero;          // TODO: 初始化为适当的值
            MessageBlock         actual;

            actual = target.GetNewSendMessageBlock();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void SocketHandlerManagerTest()
        {
            ConnectHandle        target   = new ConnectHandle();       // TODO: 初始化为适当的值
            ConnectHandleManager expected = ConnectHandleManager.Zero; // TODO: 初始化为适当的值
            ConnectHandleManager actual;

            target.SocketHandlerManager = expected;
            actual = target.SocketHandlerManager;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void ValueTest()
        {
            ConnectHandleManager target = new ConnectHandleManager(); // TODO: 初始化为适当的值
            IntPtr expected             = new IntPtr();               // TODO: 初始化为适当的值
            IntPtr actual;

            target.Handle = expected;
            actual        = target.Handle;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
        public void ConnectHandleTest()
        {
            MessageBlock         aceMessageBlock              = MessageBlock.Zero;                                                                                              // TODO: 初始化为适当的值
            ConnectHandle        clientHandlerAtClient        = ConnectHandle.Zero;                                                                                             // TODO: 初始化为适当的值
            ConnectHandleManager socketHandlerManagerAtClient = ConnectHandleManager.Zero;                                                                                      // TODO: 初始化为适当的值
            ProcessMessageBlockAtClientEventArgs target       = new ProcessMessageBlockAtClientEventArgs(aceMessageBlock, clientHandlerAtClient, socketHandlerManagerAtClient); // TODO: 初始化为适当的值
            ConnectHandle actual;

            actual = target.ConnectHandle;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
 public void GetClientHandlerTest()
 {
     ConnectHandleManager target = new ConnectHandleManager(); // TODO: 初始化为适当的值
     ConnectHandle expected = ConnectHandle.Zero; // TODO: 初始化为适当的值
     ConnectHandle actual;
     actual = target.GetConnectHandle();
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
 public void ConnectHandleManagerConstructorTest()
 {
     ConnectHandleManager target = new ConnectHandleManager();
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
        public void ConnectHandleManagerConstructorTest()
        {
            ConnectHandleManager target = new ConnectHandleManager();

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }