RFR: 8273507: Convert test/jdk/java/nio/channels/Channels/TransferTo.java to TestNG test [v4]
Brian Burkhalter
bpb at openjdk.java.net
Wed Sep 29 22:48:31 UTC 2021
On Sun, 26 Sep 2021 13:44:31 GMT, Markus KARG <github.com+1701815+mkarg at openjdk.org> wrote:
>> Using TestNG makes it easier to maintain and extend the unit test of ChannelInputStream::transferTo.
>>
>> This change was proposed by Brian Burkhalter @blbp and requested Alan Bateman @AlanBateman.
>>
>> *Note: A further test addition (testing 2GB+ transfers) will be added by me in a subsequent PR using TestNG once *this* PR is merged. This will need a while due to personal scheduling, also the topics are not necessarily related, hence there are separate PRs.*
>
> Markus KARG has updated the pull request incrementally with one additional commit since the last revision:
>
> Comment for checkTransferredContents
>
> Signed-off-by: Markus Karg <markus at headcrashing.eu>
test/jdk/java/nio/channels/Channels/TransferTo.java line 105:
> 103: checkTransferredContents(inputStreamProvider, outputStreamProvider, new byte[0]);
> 104:
> 105: // tests input stream with a lenght between 1k and 4k
"lenght" should be "length"
-------------
PR: https://git.openjdk.java.net/jdk/pull/5421
More information about the nio-dev
mailing list