t-8ch commented on a change in pull request #257: [SUREFIRE-1727] 
junitplatform: handle all containers
URL: https://github.com/apache/maven-surefire/pull/257#discussion_r351411023
 
 

 ##########
 File path: 
surefire-providers/surefire-junit-platform/src/test/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProviderTest.java
 ##########
 @@ -410,11 +410,19 @@ public void allDiscoveredTestsAreInvokedForNullArgument()
         InOrder inOrder = inOrder( runListener );
 
         ArgumentCaptor<SimpleReportEntry> report = ArgumentCaptor.forClass( 
SimpleReportEntry.class );
-        inOrder.verify( runListener )
+        inOrder.verify( runListener, times( 2 ) )
 
 Review comment:
   The engine container.
   In theory one testplan can contain both the normal Jupiter engine and also 
the "Vintage" engine (which will execute Junit4 tests). Also more engines can 
be written by users.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to