void function ( ) { DataNettyBuffer loc0 = new DataNettyBuffer ( mBuffer , LENGTH ) ; ByteBuffer loc1 = loc0 . getReadOnlyByteBuffer ( ) ; Assert . assertTrue ( loc1 . isReadOnly ( ) ) ; Assert . assertEquals ( mBuffer . nioBuffer ( ) , loc1 ) ; }
tests the datanettybuffer #getreadonlybytebuffer method . concode_field_sep ByteBuf mBuffer concode_elem_sep ExpectedException mThrown concode_elem_sep int LENGTH concode_field_sep void bufferAlreadyReleased concode_elem_sep void before concode_elem_sep void getNettyOutputNotSupported concode_elem_sep void singleNioBufferCheckFailed concode_elem_sep void releaseBuffer concode_elem_sep void length concode_elem_sep void releaseBufferTest concode_elem_sep void refCountCheckFailed concode_elem_sep void after concode_elem_sep void releaseBufferFail