21222324252627
@Override protected void setUp() throws Exception { super.setUp(); tc=new SerializingTranscoder(); setTranscoder(tc); tu=new TranscoderUtils(true); }
@Override protected void setUp() throws Exception { super.setUp(); tc = new SerializingTranscoder(); setTranscoder(tc); tu = new TranscoderUtils(true); }
14151617181920
byte[] oversizeBytes=new byte[16]; @Override protected void setUp() throws Exception { super.setUp(); tu=new TranscoderUtils(true); }
59606162636465
assertEquals("[1]", Arrays.toString(tu.encodeLong(1))); } public void testUnpackedLong() { assertEquals("[0, 0, 0, 0, 0, 0, 0, 1]", Arrays.toString(new TranscoderUtils(false).encodeLong(1))); }
@Override protected void setUp() throws Exception { super.setUp(); tc=new WhalinTranscoder(); setTranscoder(tc); tu=new TranscoderUtils(false); }