Skip to content

Commit f6eff60

Browse files
committed
Polish Javadoc in TestTemplateInvocationContextProvider
1 parent d583ab0 commit f6eff60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/TestTemplateInvocationContextProvider.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,19 @@ public interface TestTemplateInvocationContextProvider extends Extension {
9393

9494
/**
9595
* Signal that this provider may provide zero
96-
* {@linkplain TestTemplateInvocationContext invocation contexts} in the
97-
* supplied {@code context}.
96+
* {@linkplain TestTemplateInvocationContext invocation contexts} for the test
97+
* template method represented by the supplied {@code context}.
9898
*
9999
* <p>If this method returns {@code false} (which is the default) and the
100100
* provider returns an empty stream from
101101
* {@link #provideTestTemplateInvocationContexts}, this will be considered
102-
* an execution error. Override this method to ignore the absence of
103-
* invocation contexts for this provider.
102+
* an execution error. Override this method to return {@code true} to ignore
103+
* the absence of invocation contexts for this provider.
104104
*
105105
* @param context the extension context for the test template method about
106106
* to be invoked; never {@code null}
107107
* @return {@code true} to allow zero contexts, {@code false} to fail
108-
* execution in case of zero contexts.
108+
* execution in case of zero contexts
109109
*
110110
* @since 5.12
111111
*/

0 commit comments

Comments
 (0)