165166167168169170171172173174175
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( (AttributeType)null ); svDeser.readExternal( in ); assertEquals( sv1, svDeser ); }
185186187188189190191192193194195
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( (AttributeType)null ); svDeser.readExternal( in ); assertEquals( sv2, svDeser ); }
205206207208209210211212213214215
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( (AttributeType)null ); svDeser.readExternal( in ); assertEquals( sv3, svDeser ); }
289290291292293294295296297298299
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( cn ); svDeser.readExternal( in ); assertEquals( sv1n, svDeser ); }
310311312313314315316317318319320
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( cn ); svDeser.readExternal( in ); assertEquals( sv2n, svDeser ); }
331332333334335336337338339340
byte[] data = baos.toByteArray(); in = new ObjectInputStream( new ByteArrayInputStream( data ) ); StringValue svDeser = new StringValue( cn ); svDeser.readExternal( in ); assertEquals( sv3n, svDeser ); } }