Commit 1b2b364b authored by Noric Couderc's avatar Noric Couderc

Fixed test oracle

Changed the expected values to fit the new format for benchmark
identifiers
parent c1479d0b
......@@ -130,11 +130,11 @@ class SyntheticBenchmarkHistPrinterTest {
val expected =
"benchmark_id,seed,size,base_structure_size,data_structure,method,count\n" +
"Trace:XMLWhiteSpaceHandler.java:334:0:5:List:0:ArrayList,0,5,0,ArrayList,add(java.lang.Object),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:0:5:List:0:ArrayList,0,5,0,ArrayList,clear(),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:0:5:List:0:ArrayList,0,5,0,ArrayList,isEmpty(),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:0:5:List:0:ArrayList,0,5,0,ArrayList,remove(java.lang.Object),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:0:5:List:0:ArrayList,0,5,0,ArrayList,size(),1\n"
"Trace:XMLWhiteSpaceHandler.java:334:1:0:5:List:0:ArrayList,0,5,0,ArrayList,add(java.lang.Object),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:1:0:5:List:0:ArrayList,0,5,0,ArrayList,clear(),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:1:0:5:List:0:ArrayList,0,5,0,ArrayList,isEmpty(),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:1:0:5:List:0:ArrayList,0,5,0,ArrayList,remove(java.lang.Object),1\n" +
"Trace:XMLWhiteSpaceHandler.java:334:1:0:5:List:0:ArrayList,0,5,0,ArrayList,size(),1\n"
val writer = StringWriter()
SyntheticBenchmarkHistPrinter(writer, methodOutputFormat).printToCSV(benchmarks.collect(Collectors.toList()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment