Exemplo n.º 1
0
  @Ignore
  @Test
  public void testProcessIncomingDataPacket_serverPrint() {
    final String hexString = "14000080090000801202566f6a74206a6f696e6564207468652067616d652e0a00";

    proxy.setUser(createUser());
    proxy.processIncomingDataPacket(hexStringToByteArray(hexString));
  }
Exemplo n.º 2
0
  @Ignore
  @Test
  public void testProcessIncomingDataPacket_clientConnect() {
    proxy.setUser(createUser());
    setPrivateFieldValue(proxy, "sentConnect", true);

    final String hexString = "ffffffff636c69656e745f636f6e6e656374";
    proxy.processIncomingDataPacket(hexStringToByteArray(hexString));
  }
Exemplo n.º 3
0
  @Ignore
  @Test
  public void testProcessIncomingDataPacket_challange() {
    proxy.setUser(createUser());
    setPrivateFieldValue(proxy, "sentChallenge", true);

    final String hexString = "ffffffff6368616c6c656e67652031303134313238363136";
    proxy.processIncomingDataPacket(hexStringToByteArray(hexString));
  }