Class CommonStatsCSVHelper
java.lang.Object
edu.ucsb.cs156.happiercows.helpers.CommonStatsCSVHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidflush_and_close_noPitest(ByteArrayOutputStream out, org.apache.commons.csv.CSVPrinter csvPrinter) This method is a hack to avoid a pitest issue; it isn't possible to exclude an individual method call from jacoco coverage, but we can exclude the entire method by name in the pom.xmlstatic ByteArrayInputStreamtoCSV(Iterable<CommonStats> stats)
-
Method Details
-
flush_and_close_noPitest
public static void flush_and_close_noPitest(ByteArrayOutputStream out, org.apache.commons.csv.CSVPrinter csvPrinter) throws IOException This method is a hack to avoid a pitest issue; it isn't possible to exclude an individual method call from jacoco coverage, but we can exclude the entire method by name in the pom.xml- Parameters:
out-- Throws:
IOException
-
toCSV
- Throws:
IOException
-