public void ParsingTestTimeDestination() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(6), "59149"); }
public void ParsingTestTimeDestinationIp() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(4), "192.168.8.100"); }
public void ParsingTestSource() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(5), "443"); }
public void ParsingTestSourceIp() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(3), "173.194.73.113"); }
public void ParsingTestTimeLen() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(2), "62"); }
public void ParsingTestInformation() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(7), "-"); }
public void ParsingTestName() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(0), "UDP"); }
public void ParsingTestTime() { var udp = new UDPParser(); PPacket pack = udp.Parsing(udpPacket, time, len); Assert.AreEqual(pack.GetPacket(1), "20:18:32 473"); }