steveloughran opened a new pull request #1747: HDFS-15042 Add more tests for ByteBufferPositionedReadable. URL: https://github.com/apache/hadoop/pull/1747 Changes * Javadocs in ByteBufferPositionedReadable are a bit stricter. * switch to parameterized JUnit test runs for on/off heap buffers * factor put main assertions into higher level asserts New tests * negative offset for reads of actual/empty buffers * read position > EOF. * empty files * verify that interleaving simple reads/seeks work. Change-Id: I27294b15f7cad8e1b87150d9e9fac0623fc44c45
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
