summaryrefslogtreecommitdiff
path: root/report/report_content.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-12-13 11:20:04 +0100
committermguetlein <martin.guetlein@gmail.com>2011-12-13 11:20:04 +0100
commitd02b54b2c58d2d71e29700bbedbb38768d6c9e35 (patch)
treef1605efcc90744581e450bea6e2587dd9e8d7511 /report/report_content.rb
parentcc5e2bb442a45351a191d1b69d03412991a20500 (diff)
add filtering of validation reports
Diffstat (limited to 'report/report_content.rb')
-rwxr-xr-xreport/report_content.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/report/report_content.rb b/report/report_content.rb
index 61db340..3d92b52 100755
--- a/report/report_content.rb
+++ b/report/report_content.rb
@@ -22,6 +22,12 @@ class Reports::ReportContent
@current_section = @xml_report.get_root_element
end
+ def add_warning(warning)
+ sec = @xml_report.add_section(@current_section, "Warning")
+ @xml_report.add_paragraph(sec, warning)
+ end_section()
+ end
+
def add_paired_ttest_tables( validation_set,
group_attribute,
test_attributes,