void function ( ) { mTestStream . seek ( 10 ) ; Assert . assertEquals ( 10 , mTestStream . read ( ) ) ; mTestStream . seek ( 2 ) ; Assert . assertEquals ( 2 , mTestStream . read ( ) ) ; mTestStream . seek ( mBlockSize ) ; Assert . assertEquals ( - 1 , mTestStream . read ( ) ) ; }
tests for the bufferedblockinstream #seek long method . concode_field_sep TestBufferedBlockInStream mTestStream concode_elem_sep long mBlockSize concode_elem_sep long mBufferSize concode_field_sep void before concode_elem_sep void bufferRead concode_elem_sep void skip concode_elem_sep void bulkRead concode_elem_sep void singleByteRead