Java List Print print(int totalErrors, int totalTechnical, int totalSuccess, List filesWithErrorsList)

Here you can find the source of print(int totalErrors, int totalTechnical, int totalSuccess, List filesWithErrorsList)

Description

print

License

Apache License

Declaration

private static void print(int totalErrors, int totalTechnical, int totalSuccess,
            List<String> filesWithErrorsList) 

Method Source Code

//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);
    }
}

Related

  1. prettyPrintList(Collection objects, String separator)
  2. prettyPrintList(List list)
  3. prettyPrintWarningMessage(final List results, final String message)
  4. prettyRoleOutput(List roles, final String delimiter)
  5. print(Collection> collections)
  6. print(Iterable list)
  7. print(List A, String mode)
  8. print(List items)
  9. print(List list)