add tests

This commit is contained in:
Naoyuki Kanezawa
2014-04-09 00:14:19 +09:00
parent c67fdd649b
commit 6841a52070
4 changed files with 83 additions and 20 deletions

View File

@@ -132,7 +132,7 @@ public class Parser {
public static String EVENT_DECODED = "decoded";
private BinaryReconstructor reconstructor;
/*package*/ BinaryReconstructor reconstructor;
public Decoder() {
this.reconstructor = null;
@@ -234,11 +234,11 @@ public class Parser {
}
private static class BinaryReconstructor {
/*package*/ static class BinaryReconstructor {
public Packet reconPack;
private List<byte[]> buffers;
/*package*/ List<byte[]> buffers;
BinaryReconstructor(Packet packet) {
this.reconPack = packet;