Tibor17 commented on a change in pull request #208: [SUREFIRE-1615] Sort 
<testcase> in the surefire-report/Test-*.xml file
URL: https://github.com/apache/maven-surefire/pull/208#discussion_r241515424
 
 

 ##########
 File path: 
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
 ##########
 @@ -132,9 +133,27 @@ public void testSetCompleted( WrappedReportEntry 
testSetReportEntry, TestSetStat
             createTestSuiteElement( ppw, testSetReportEntry, testSetStats, 
testSetReportEntry.elapsedTimeAsString() );
 
             showProperties( ppw, testSetReportEntry.getSystemProperties() );
-
+            
+            
+
+            //map.entrySet() Convert into list
+            List<Map.Entry<String, List<WrappedReportEntry>>> 
methodRunHistoryMapCoIntoList =
+                    new ArrayList<Map.Entry<String, 
List<WrappedReportEntry>>>( methodRunHistoryMap.entrySet() );
 
 Review comment:
   In Java 1.7 the constructor should use diamond instead of Generics.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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