Convert `StreamLinesTest` to JUnit and remove dependency on TestNG test 
infrastructure, including `OpTestCase`.
The test now uses standard JUnit assertions and no longer depends on 
testlibrary stream helpers.

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

Commit messages:
 - Remove redundant declarations
 - Update copyright year from 2017 to 2026
 - Refactor StreamLinesTest to remove dependency on OpTestCase
 - 8379818: Refactor java/nio/file/Files/StreamLinesTest.java to use JUnit

Changes: https://git.openjdk.org/jdk/pull/30302/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30302&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379818
  Stats: 46 lines in 1 file changed: 10 ins; 17 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/30302.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30302/head:pull/30302

PR: https://git.openjdk.org/jdk/pull/30302

Reply via email to