test_class.declarator: exporter
test_class.modifier: private
test_class.original_string: private Exporter                   exporter;
test_class.type: Exporter
test_class.var_name: exporter
test_class.declarator: si
test_class.modifier: private
test_class.original_string: private ServerInputStream          si;
test_class.type: ServerInputStream
test_class.var_name: si
test_class.declarator: ci
test_class.modifier: private
test_class.original_string: private ClientInputStream          ci;
test_class.type: ClientInputStream
test_class.var_name: ci
test_class.declarator: buf = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
test_class.modifier: private final
test_class.original_string: private final byte[]               buf = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
test_class.type: byte[]
test_class.var_name: buf
test_class.declarator: bi  = new ByteArrayInputStream(buf)
test_class.modifier: private final
test_class.original_string: private final ByteArrayInputStream bi  = new ByteArrayInputStream(buf);
test_class.type: ByteArrayInputStream
test_class.var_name: bi
test_class.file: akubra-rmi/src/test/java/org/akubraproject/rmi/client/ClientInputStreamTest.java
test_class.identifier: ClientInputStreamTest
test_case.body: @Test
    public void testReadByteArray() throws IOException {
      bi.reset();
  
      byte[] r = new byte[100];
      assertEquals(buf.length, ci.read(r));
  
      for (int i = 0; i < buf.length; i++)
        assertEquals(buf[i], r[i]);
  
      assertEquals(-1, ci.read());
  
      bi.reset();
      r = new byte[0];
      assertEquals(0, ci.read(r));
    }
test_case.class_method_signature: ClientInputStreamTest.testReadByteArray()
test_case.full_signature: @Test public void testReadByteArray()
test_case.identifier: testReadByteArray
test_case.invocations: reset assertEquals read assertEquals assertEquals read reset assertEquals read
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadByteArray()
focal_class.declarator: remote
focal_class.modifier: private final
focal_class.original_string: private final RemoteInputStream remote;
focal_class.type: RemoteInputStream
focal_class.var_name: remote
focal_class.file: akubra-rmi/src/main/java/org/akubraproject/rmi/client/ClientInputStream.java
focal_class.identifier: ClientInputStream
focal_class.class_method_signature: ClientInputStream.ClientInputStream(RemoteInputStream remote)
focal_class.full_signature: public  ClientInputStream(RemoteInputStream remote)
focal_class.identifier: ClientInputStream
focal_class.modifiers: public
focal_class.parameters: (RemoteInputStream remote)
focal_class.signature:  ClientInputStream(RemoteInputStream remote)
focal_class.class_method_signature: ClientInputStream.read()
focal_class.full_signature: @Override public int read()
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int read()
focal_class.class_method_signature: ClientInputStream.read(byte[] buf, int off, int len)
focal_class.full_signature: @Override public int read(byte[] buf, int off, int len)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] buf, int off, int len)
focal_class.return: int
focal_class.signature: int read(byte[] buf, int off, int len)
focal_class.class_method_signature: ClientInputStream.skip(long n)
focal_class.full_signature: @Override public long skip(long n)
focal_class.identifier: skip
focal_class.modifiers: @Override public
focal_class.parameters: (long n)
focal_class.return: long
focal_class.signature: long skip(long n)
focal_class.class_method_signature: ClientInputStream.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.superclass: extends InputStream
focal_method.body: @Override
    public int read() throws IOException {
      return remote.read();
    }
focal_method.class_method_signature: ClientInputStream.read()
focal_method.full_signature: @Override public int read()
focal_method.identifier: read
focal_method.invocations: read
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int read()