Skip to content

Commit

Permalink
Documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Jun 8, 2017
1 parent b5b15e4 commit dacfc51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions documentation/src/docs/asciidoc/release-notes-5.0.0-M5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ is placed on the Java 9 module path.
* The `arguments()` method in the `ArgumentsProvider` API in the `junit-jupiter-params`
module has been renamed to `provideArguments()`.
* The type `ObjectArrayArguments` in the `junit-jupiter-params` module has been removed;
its functionality to create an `Argument` instance with `create()` is fulfilled by the
static factory method `arguments()` on the interface `Arguments`.
its functionality to create an `Arguments` instance is replaced by the static factory
method `Arguments.of(...)`.
* The `names` property of `@MethodSource` has been renamed to `value`.

[[release-notes-5.0.0-m5-migration-extension-api]]
Expand Down
4 changes: 2 additions & 2 deletions documentation/src/docs/asciidoc/writing-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ Streams for primitive types (`DoubleStream`, `IntStream`, and `LongStream`) are
include::{testDir}/example/ParameterizedTestDemo.java[tags=primitive_MethodSource_example]
----

In case you need multiple parameters, you need to return `Argument` instances as shown below.
Note that `arguments(Object...)` is a static factory method defined in the interface itself.
In case you need multiple parameters, you need to return an `Arguments` instances as shown below.
Note that `Arguments.of(Object...)` is a static factory method defined in the interface itself.

[source,java,indent=0]
----
Expand Down

0 comments on commit dacfc51

Please sign in to comment.