Skip to content

Commit

Permalink
Add TODOs for parameterized test annotation documentation
Browse files Browse the repository at this point in the history
Issue: #830
  • Loading branch information
sbrannen committed May 3, 2017
1 parent a3e4b97 commit abfdc05
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
Expand Up @@ -66,11 +66,10 @@
public @interface ParameterizedTest {

/**
* TODO Document name().
*
* @return a custom display name; never blank or consisting solely of
* whitespace
*/
// TODO [#830] Document name().
String name() default "[{index}] {arguments}";

}
Expand Up @@ -39,12 +39,16 @@
@ArgumentsSource(CsvFileArgumentsProvider.class)
public @interface CsvFileSource {

// TODO [#830] Document resources().
String[] resources();

// TODO [#830] Document encoding().
String encoding() default "UTF-8";

// TODO [#830] Document lineSeparator().
String lineSeparator() default "\n";

// TODO [#830] Document delimiter().
char delimiter() default ',';

}
Expand Up @@ -39,8 +39,10 @@
@ArgumentsSource(CsvArgumentsProvider.class)
public @interface CsvSource {

// TODO [#830] Document value().
String[] value();

// TODO [#830] Document delimiter().
char delimiter() default ',';

}
Expand Up @@ -40,6 +40,7 @@
@ArgumentsSource(MethodArgumentsProvider.class)
public @interface MethodSource {

// TODO [#830] Document names().
String[] names();

}
Expand Up @@ -46,4 +46,5 @@ public void accept(ValueSource source) {
public Stream<? extends Arguments> provideArguments(ContainerExtensionContext context) {
return Arrays.stream(arguments).map(ObjectArrayArguments::arguments);
}

}
Expand Up @@ -42,12 +42,16 @@
@ArgumentsSource(ValueArgumentsProvider.class)
public @interface ValueSource {

// TODO [#830] Document strings().
String[] strings() default {};

// TODO [#830] Document ints().
int[] ints() default {};

// TODO [#830] Document longs().
long[] longs() default {};

// TODO [#830] Document doubles().
double[] doubles() default {};

}

0 comments on commit abfdc05

Please sign in to comment.