Skip to content

Remove remnants of Java 8 compatibility from User Guide #5061

@arukiidou

Description

@arukiidou

description

In JUnit 6, these conditions are always satisfied.

https://docs.junit.org/6.0.0/user-guide/index.html#writing-tests-parameterized-tests-sources-CsvSource

If the programming language you are using supports text blocks — for example, Java SE 15 or higher —

https://docs.junit.org/6.0.0/user-guide/index.html#writing-tests-parameterized-tests-consuming-arguments-classes

If your programming language level you are using supports records — for example, Java 16 or higher

* <p>Text block syntax is supported by various languages on the JVM
* including Java SE 15 or higher. If text blocks are not supported, you
* should declare your CSV content via the {@link #value} attribute.

Deliverables

  • Remove the annotation for Java 15 - text blocks,
  • Remove the annotation for Java 16 - record

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions