RFR: 8273507: Convert test/jdk/java/nio/channels/Channels/TransferTo.java to TestNG test [v5]

Markus KARG github.com+1701815+mkarg at openjdk.java.net
Fri Oct 1 15:45:06 UTC 2021


> 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:

  Static imports in tests are usually grouped by convention after regular imports.
  
  Signed-off-by: Markus Karg <markus at headcrashing.eu>

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5421/files
  - new: https://git.openjdk.java.net/jdk/pull/5421/files/0f056984..3301a86d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5421&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5421&range=03-04

  Stats: 12 lines in 1 file changed: 6 ins; 6 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5421.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5421/head:pull/5421

PR: https://git.openjdk.java.net/jdk/pull/5421


More information about the nio-dev mailing list