示例#1
0
        public void TestASocketSetUp()
        {
            sock = new iSocket.aSocket();

            caesura    = new byte[7];
            caesura[0] = (byte)'C';
            caesura[1] = (byte)'a';
            caesura[2] = (byte)'e';
            caesura[3] = (byte)'s';
            caesura[4] = (byte)'u';
            caesura[5] = (byte)'r';
            caesura[6] = (byte)'a';
        }
示例#2
0
 public void TestASocketTearDown()
 {
     sock = null;
     caesura = null;
 }
示例#3
0
        public void TestASocketSetUp()
        {
            sock = new iSocket.aSocket();

            caesura = new byte[7];
            caesura[0] = (byte)'C';
            caesura[1] = (byte)'a';
            caesura[2] = (byte)'e';
            caesura[3] = (byte)'s';
            caesura[4] = (byte)'u';
            caesura[5] = (byte)'r';
            caesura[6] = (byte)'a';
        }
示例#4
0
 public void TestASocketSendException()
 {
     iSocket.aSocket sock = new iSocket.aSocket();
     sock.send(null);
 }
示例#5
0
 public void TestASocketRecieveException()
 {
     iSocket.aSocket sock = new iSocket.aSocket();
     Assert.IsNull(sock.receive(5));
 }
示例#6
0
 public void TestASocketTearDown()
 {
     sock    = null;
     caesura = null;
 }
示例#7
0
 public void TestASocketSendException()
 {
     iSocket.aSocket sock = new iSocket.aSocket();
     sock.send(null);
 }
示例#8
0
 public void TestASocketRecieveException()
 {
     iSocket.aSocket sock = new iSocket.aSocket();
     Assert.IsNull(sock.receive(5));
 }