@@ -124,7 +124,7 @@ void injectsParametersIntoClass(Class<?> classTemplateClass) {
124124
125125 var results = executeTestsForClass (classTemplateClass );
126126
127- String parameterNamePrefix = classTemplateClass .getSimpleName ().contains ("Aggregator" ) ? "" : "value= " ;
127+ String parameterNamePrefix = classTemplateClass .getSimpleName ().contains ("Aggregator" ) ? "" : "value = " ;
128128
129129 results .allEvents ().assertEventsMatchExactly ( //
130130 event (engine (), started ()), //
@@ -176,7 +176,7 @@ void supportsNullAndEmptySource(Class<?> classTemplateClass) {
176176
177177 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
178178 assertThat (invocationDisplayNames (results )) //
179- .containsExactly ("[1] value= null" , "[2] value= " );
179+ .containsExactly ("[1] value = null" , "[2] value = " );
180180 }
181181
182182 @ ParameterizedTest
@@ -188,8 +188,8 @@ void supportsCsvFileSource(Class<?> classTemplateClass) {
188188
189189 results .allEvents ().assertStatistics (stats -> stats .started (10 ).succeeded (10 ));
190190 assertThat (invocationDisplayNames (results )) //
191- .containsExactly ("[1] name= foo, value= 1" , "[2] name= bar, value=2" , "[3] name=baz, value=3 " ,
192- "[4] name= qux, value= 4" );
191+ .containsExactly ("[1] name = foo, value = 1" , "[2] name = bar, value = 2 " ,
192+ "[3] name = baz, value = 3" , "[ 4] name = qux, value = 4" );
193193 }
194194
195195 @ ParameterizedTest
@@ -201,7 +201,7 @@ void supportsSingleEnumSource(Class<?> classTemplateClass) {
201201
202202 results .allEvents ().assertStatistics (stats -> stats .started (4 ).succeeded (4 ));
203203 assertThat (invocationDisplayNames (results )) //
204- .containsExactly ("[1] value= FOO" );
204+ .containsExactly ("[1] value = FOO" );
205205 }
206206
207207 @ ParameterizedTest
@@ -213,7 +213,7 @@ void supportsRepeatedEnumSource(Class<?> classTemplateClass) {
213213
214214 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
215215 assertThat (invocationDisplayNames (results )) //
216- .containsExactly ("[1] value= FOO" , "[2] value= BAR" );
216+ .containsExactly ("[1] value = FOO" , "[2] value = BAR" );
217217 }
218218
219219 @ ParameterizedTest
@@ -225,7 +225,7 @@ void supportsMethodSource(Class<?> classTemplateClass) {
225225
226226 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
227227 assertThat (invocationDisplayNames (results )) //
228- .containsExactly ("[1] value= foo" , "[2] value= bar" );
228+ .containsExactly ("[1] value = foo" , "[2] value = bar" );
229229 }
230230
231231 @ Test
@@ -247,7 +247,7 @@ void supportsFieldSource(Class<?> classTemplateClass) {
247247
248248 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
249249 assertThat (invocationDisplayNames (results )) //
250- .containsExactly ("[1] value= foo" , "[2] value= bar" );
250+ .containsExactly ("[1] value = foo" , "[2] value = bar" );
251251 }
252252
253253 @ Test
@@ -269,7 +269,7 @@ void supportsArgumentsSource(Class<?> classTemplateClass) {
269269
270270 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
271271 assertThat (invocationDisplayNames (results )) //
272- .containsExactly ("[1] value= foo" , "[2] value= bar" );
272+ .containsExactly ("[1] value = foo" , "[2] value = bar" );
273273 }
274274
275275 @ Test
@@ -305,7 +305,7 @@ void supportsCustomNamePatterns() {
305305
306306 results .allEvents ().assertStatistics (stats -> stats .started (6 ).succeeded (6 ));
307307 assertThat (invocationDisplayNames (results )) //
308- .containsExactly ("1 | TesT | 1, foo | set" , "2 | TesT | 2, bar | number= 2, name= bar" );
308+ .containsExactly ("1 | TesT | 1, foo | set" , "2 | TesT | 2, bar | number = 2, name = bar" );
309309 }
310310
311311 @ Test
@@ -398,65 +398,65 @@ void supportsNestedParameterizedClass(Class<?> classTemplateClass) {
398398 results .testEvents ().assertStatistics (stats -> stats .started (8 ).succeeded (8 ));
399399 assertThat (invocationDisplayNames (results )) //
400400 .containsExactly ( //
401- "[1] number= 1" , "[1] text= foo" , "[2] text= bar" , //
402- "[2] number= 2" , "[1] text= foo" , "[2] text= bar" //
401+ "[1] number = 1" , "[1] text = foo" , "[2] text = bar" , //
402+ "[2] number = 2" , "[1] text = foo" , "[2] text = bar" //
403403 );
404404 assertThat (allReportEntries (results )).map (it -> it .get ("value" )).containsExactly (
405405 // @formatter:off
406406 "beforeAll: %s" .formatted (classTemplateClass .getSimpleName ()),
407407 "beforeParameterizedClassInvocation: %s" .formatted (classTemplateClass .getSimpleName ()),
408408 "beforeAll: InnerTestCase" ,
409409 "beforeParameterizedClassInvocation: InnerTestCase" ,
410- "beforeEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
411- "beforeEach: [1] flag= true [InnerTestCase]" ,
410+ "beforeEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
411+ "beforeEach: [1] flag = true [InnerTestCase]" ,
412412 "test(1, foo, true)" ,
413- "afterEach: [1] flag= true [InnerTestCase]" ,
414- "afterEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
415- "beforeEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
416- "beforeEach: [2] flag= false [InnerTestCase]" ,
413+ "afterEach: [1] flag = true [InnerTestCase]" ,
414+ "afterEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
415+ "beforeEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
416+ "beforeEach: [2] flag = false [InnerTestCase]" ,
417417 "test(1, foo, false)" ,
418- "afterEach: [2] flag= false [InnerTestCase]" ,
419- "afterEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
418+ "afterEach: [2] flag = false [InnerTestCase]" ,
419+ "afterEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
420420 "afterParameterizedClassInvocation: InnerTestCase" ,
421421 "beforeParameterizedClassInvocation: InnerTestCase" ,
422- "beforeEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
423- "beforeEach: [1] flag= true [InnerTestCase]" ,
422+ "beforeEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
423+ "beforeEach: [1] flag = true [InnerTestCase]" ,
424424 "test(1, bar, true)" ,
425- "afterEach: [1] flag= true [InnerTestCase]" ,
426- "afterEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
427- "beforeEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
428- "beforeEach: [2] flag= false [InnerTestCase]" ,
425+ "afterEach: [1] flag = true [InnerTestCase]" ,
426+ "afterEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
427+ "beforeEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
428+ "beforeEach: [2] flag = false [InnerTestCase]" ,
429429 "test(1, bar, false)" ,
430- "afterEach: [2] flag= false [InnerTestCase]" ,
431- "afterEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
430+ "afterEach: [2] flag = false [InnerTestCase]" ,
431+ "afterEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
432432 "afterParameterizedClassInvocation: InnerTestCase" ,
433433 "afterAll: InnerTestCase" ,
434434 "afterParameterizedClassInvocation: %s" .formatted (classTemplateClass .getSimpleName ()),
435435 "beforeParameterizedClassInvocation: %s" .formatted (classTemplateClass .getSimpleName ()),
436436 "beforeAll: InnerTestCase" ,
437437 "beforeParameterizedClassInvocation: InnerTestCase" ,
438- "beforeEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
439- "beforeEach: [1] flag= true [InnerTestCase]" ,
438+ "beforeEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
439+ "beforeEach: [1] flag = true [InnerTestCase]" ,
440440 "test(2, foo, true)" ,
441- "afterEach: [1] flag= true [InnerTestCase]" ,
442- "afterEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
443- "beforeEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
444- "beforeEach: [2] flag= false [InnerTestCase]" ,
441+ "afterEach: [1] flag = true [InnerTestCase]" ,
442+ "afterEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
443+ "beforeEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
444+ "beforeEach: [2] flag = false [InnerTestCase]" ,
445445 "test(2, foo, false)" ,
446- "afterEach: [2] flag= false [InnerTestCase]" ,
447- "afterEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
446+ "afterEach: [2] flag = false [InnerTestCase]" ,
447+ "afterEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
448448 "afterParameterizedClassInvocation: InnerTestCase" ,
449449 "beforeParameterizedClassInvocation: InnerTestCase" ,
450- "beforeEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
451- "beforeEach: [1] flag= true [InnerTestCase]" ,
450+ "beforeEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
451+ "beforeEach: [1] flag = true [InnerTestCase]" ,
452452 "test(2, bar, true)" ,
453- "afterEach: [1] flag= true [InnerTestCase]" ,
454- "afterEach: [1] flag= true [%s]" .formatted (classTemplateClass .getSimpleName ()),
455- "beforeEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
456- "beforeEach: [2] flag= false [InnerTestCase]" ,
453+ "afterEach: [1] flag = true [InnerTestCase]" ,
454+ "afterEach: [1] flag = true [%s]" .formatted (classTemplateClass .getSimpleName ()),
455+ "beforeEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
456+ "beforeEach: [2] flag = false [InnerTestCase]" ,
457457 "test(2, bar, false)" ,
458- "afterEach: [2] flag= false [InnerTestCase]" ,
459- "afterEach: [2] flag= false [%s]" .formatted (classTemplateClass .getSimpleName ()),
458+ "afterEach: [2] flag = false [InnerTestCase]" ,
459+ "afterEach: [2] flag = false [%s]" .formatted (classTemplateClass .getSimpleName ()),
460460 "afterParameterizedClassInvocation: InnerTestCase" ,
461461 "afterAll: InnerTestCase" ,
462462 "afterParameterizedClassInvocation: %s" .formatted (classTemplateClass .getSimpleName ()),
@@ -2090,14 +2090,14 @@ static void before2(ArgumentsAccessor accessor) {
20902090
20912091 @ BeforeParameterizedClassInvocation
20922092 static void before3 (AtomicInteger value , TestInfo testInfo ) {
2093- assertEquals ("[1] value= 1" , testInfo .getDisplayName ());
2093+ assertEquals ("[1] value = 1" , testInfo .getDisplayName ());
20942094 value .incrementAndGet ();
20952095 }
20962096
20972097 @ BeforeParameterizedClassInvocation
20982098 static void before4 (ArgumentsAccessor accessor , TestInfo testInfo ) {
20992099 assertEquals (1 , accessor .getInteger (0 ));
2100- assertEquals ("[1] value= 1" , testInfo .getDisplayName ());
2100+ assertEquals ("[1] value = 1" , testInfo .getDisplayName ());
21012101 }
21022102
21032103 @ BeforeParameterizedClassInvocation
@@ -2109,7 +2109,7 @@ static void before4(AtomicInteger value, ArgumentsAccessor accessor) {
21092109 @ BeforeParameterizedClassInvocation
21102110 static void before5 (AtomicInteger value , ArgumentsAccessor accessor , TestInfo testInfo ) {
21112111 assertEquals (1 , accessor .getInteger (0 ));
2112- assertEquals ("[1] value= 1" , testInfo .getDisplayName ());
2112+ assertEquals ("[1] value = 1" , testInfo .getDisplayName ());
21132113 value .incrementAndGet ();
21142114 }
21152115
@@ -2122,7 +2122,7 @@ static void before6(@TimesTwo int valueTimesTwo) {
21222122 static void after (AtomicInteger value , ArgumentsAccessor accessor , TestInfo testInfo ) {
21232123 assertEquals (6 , value .get ());
21242124 assertEquals (1 , accessor .getInteger (0 ));
2125- assertEquals ("[1] value= 1" , testInfo .getDisplayName ());
2125+ assertEquals ("[1] value = 1" , testInfo .getDisplayName ());
21262126 }
21272127 }
21282128
0 commit comments