void function ( ) { RemoteBlockReader2 loc0 = ( RemoteBlockReader2 ) spy ( util . getBlockReader ( testBlock , 0 , FILE_SIZE_K * 1024 ) ) ; util . readAndCheckEOS ( loc0 , FILE_SIZE_K * 1024 , true ) ; verify ( loc0 ) . sendReadResult ( Status . CHECKSUM_OK ) ; loc0 . close ( ) ; }
verify that if we read an entire block , we send checksum_ok concode_field_sep Path TEST_FILE concode_elem_sep LocatedBlock testBlock concode_elem_sep BlockReaderTestUtil util concode_elem_sep int FILE_SIZE_K concode_field_sep void setupCluster concode_elem_sep void teardownCluster concode_elem_sep void testUnalignedReads concode_elem_sep void testCompletePartialRead concode_elem_sep void testIncompleteRead