Class: Perf::ReportFormatListOfMeasures
Overview
ReportFormatListOfMeasures is use for unit tests to list the measures taken and their count. It has no other real life purpose.
Constant Summary
Constants inherited
from ReportFormat
Perf::ReportFormat::ACCURACY_DESCRIPTION, Perf::ReportFormat::MAX_ACCURACY_SIZE, Perf::ReportFormat::MIN_TOTAL_TIME
Instance Method Summary
collapse
#format_accuracy
Instance Method Details
10
11
12
|
# File 'lib/perf/report_format_list_of_measures.rb', line 10
def format(perf,options={})
super.select{|x| x.length>0 }
end
|
22
23
24
|
# File 'lib/perf/report_format_list_of_measures.rb', line 22
def (v)
""
end
|
14
15
16
|
# File 'lib/perf/report_format_list_of_measures.rb', line 14
def (v)
""
end
|
18
19
20
|
# File 'lib/perf/report_format_list_of_measures.rb', line 18
def format_measure(v)
"#{v[:title]},#{v[:count]}"
end
|
26
27
28
|
# File 'lib/perf/report_format_list_of_measures.rb', line 26
def format_title(what,options)
what
end
|