Skip to content

Commit

Permalink
Local_Infile_ResponseTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kormoc committed Feb 24, 2014
1 parent c8be6c4 commit f4658ff
Showing 1 changed file with 17 additions and 0 deletions.
@@ -0,0 +1,17 @@
package com.github.mpjct.jmpjct.mysql.proto;

import org.junit.*;
import static org.junit.Assert.*;

public class Local_Infile_ResponseTest {
@Test
public void test1() {
byte[] packet = Proto.packet_string_to_bytes(""
+ "05 00 00 00 00 FF FE FD FC"
);

Local_Infile_Response pkt = Local_Infile_Response.loadFromPacket(packet);

assertArrayEquals(packet, pkt.toPacket());
}
}

0 comments on commit f4658ff

Please sign in to comment.