test_class.declarator: stream = null
test_class.modifier: private
test_class.original_string: private RandomAccessFileOutputStream stream = null;
test_class.type: RandomAccessFileOutputStream
test_class.var_name: stream
test_class.declarator: testData = null
test_class.modifier: private
test_class.original_string: private byte[] testData = null;
test_class.type: byte[]
test_class.var_name: testData
test_class.declarator: tempFile = null
test_class.modifier: private
test_class.original_string: private File tempFile = null;
test_class.type: File
test_class.var_name: tempFile
test_class.file: feya/libraries/archive_diff/diff.shared/src/test/java/com/google/archivepatcher/shared/RandomAccessFileOutputStreamTest.java
test_class.identifier: RandomAccessFileOutputStreamTest
test_case.body: @Test
    public void testWrite() throws IOException {
      stream = new RandomAccessFileOutputStream(tempFile, 1L);
      stream.write(7);
      stream.flush();
      stream.close();
      FileInputStream in = null;
      try {
        in = new FileInputStream(tempFile);
        Assert.assertEquals(7, in.read());
      } finally {
        try {
          in.close();
        } catch (Exception ignored) {
          // Nothing
        }
      }
    }
test_case.class_method_signature: RandomAccessFileOutputStreamTest.testWrite()
test_case.full_signature: @Test public void testWrite()
test_case.identifier: testWrite
test_case.invocations: write flush close assertEquals read close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWrite()
focal_class.declarator: raf
focal_class.modifier: private final
focal_class.original_string: private final RandomAccessFile raf;
focal_class.type: RandomAccessFile
focal_class.var_name: raf
focal_class.file: feya/libraries/archive_diff/diff.shared/src/main/java/com/google/archivepatcher/shared/RandomAccessFileOutputStream.java
focal_class.identifier: RandomAccessFileOutputStream
focal_class.class_method_signature: RandomAccessFileOutputStream.RandomAccessFileOutputStream(File outputFile, long expectedSize)
focal_class.full_signature: public  RandomAccessFileOutputStream(File outputFile, long expectedSize)
focal_class.identifier: RandomAccessFileOutputStream
focal_class.modifiers: public
focal_class.parameters: (File outputFile, long expectedSize)
focal_class.signature:  RandomAccessFileOutputStream(File outputFile, long expectedSize)
focal_class.class_method_signature: RandomAccessFileOutputStream.getRandomAccessFile(File file)
focal_class.full_signature: protected RandomAccessFile getRandomAccessFile(File file)
focal_class.identifier: getRandomAccessFile
focal_class.modifiers: protected
focal_class.parameters: (File file)
focal_class.return: RandomAccessFile
focal_class.signature: RandomAccessFile getRandomAccessFile(File file)
focal_class.class_method_signature: RandomAccessFileOutputStream.write(int b)
focal_class.full_signature: @Override public void write(int b)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (int b)
focal_class.return: void
focal_class.signature: void write(int b)
focal_class.class_method_signature: RandomAccessFileOutputStream.write(byte[] b)
focal_class.full_signature: @Override public void write(byte[] b)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] b)
focal_class.return: void
focal_class.signature: void write(byte[] b)
focal_class.class_method_signature: RandomAccessFileOutputStream.write(byte[] b, int off, int len)
focal_class.full_signature: @Override public void write(byte[] b, int off, int len)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] b, int off, int len)
focal_class.return: void
focal_class.signature: void write(byte[] b, int off, int len)
focal_class.class_method_signature: RandomAccessFileOutputStream.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: RandomAccessFileOutputStream.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 OutputStream
focal_method.body: @Override
    public void write(int b) throws IOException {
      raf.write(b);
    }
focal_method.class_method_signature: RandomAccessFileOutputStream.write(int b)
focal_method.full_signature: @Override public void write(int b)
focal_method.identifier: write
focal_method.invocations: write
focal_method.modifiers: @Override public
focal_method.parameters: (int b)
focal_method.return: void
focal_method.signature: void write(int b)