RFR: 8341566: Add Reader.of(CharSequence) [v11]
Roger Riggs
rriggs at openjdk.org
Mon Oct 14 14:05:26 UTC 2024
On Sat, 12 Oct 2024 11:33:33 GMT, Markus KARG <duke at openjdk.org> wrote:
>> test/jdk/java/io/Reader/Of.java line 92:
>>
>>> 90:
>>> 91: @Test(dataProvider = "readers")
>>> 92: public void testReadBII(Reader reader) throws IOException {
>>
>> What does `BII` in some of these test method names represent?
>
> Good question. I hereby forward it to the original author of the existing tests I have copied from OpenJDK. I assume it was some kind of convention.
`BII` is shorthand for the arguments in the signature of the method under test. In this case, its a byte array, and two int's. Try `javap -s java.io.Reader` for other examples.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21371#discussion_r1799577772
More information about the core-libs-dev
mailing list