Here you can find the source of print(int totalErrors, int totalTechnical, int totalSuccess, List
private static void print(int totalErrors, int totalTechnical, int totalSuccess, List<String> filesWithErrorsList)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { private static void print(int totalErrors, int totalTechnical, int totalSuccess, List<String> filesWithErrorsList) { if (totalErrors > 0) { System.out.println("Files with failed tests : "); for (String string : filesWithErrorsList) { System.out.println("- " + string); }/*from w w w . j a va 2 s. com*/ } System.out.println("Technical errors: " + totalTechnical); System.out.println("Failures: " + totalErrors); System.out.println("Success: " + totalSuccess); } }