tools: include CS config in 'nfdc cs info'
Also, ForwarderGeneralModule::formatItemText now uses ItemAttributes.
refs #4050
Change-Id: I1b2bde29b82e4b3910d87b41efd90e273052b18d
diff --git a/tests/tools/nfdc/format-helpers.t.cpp b/tests/tools/nfdc/format-helpers.t.cpp
index 5de002b..d5719ae 100644
--- a/tests/tools/nfdc/format-helpers.t.cpp
+++ b/tests/tools/nfdc/format-helpers.t.cpp
@@ -48,6 +48,14 @@
" surround XML <element> tag name"));
}
+BOOST_AUTO_TEST_CASE(Flag)
+{
+ output_test_stream os;
+ os << "<A>" << xml::Flag{"B", true} << "</A><C>" << xml::Flag{"D", false} << "</C>";
+
+ BOOST_CHECK(os.is_equal("<A><B/></A><C></C>"));
+}
+
BOOST_AUTO_TEST_CASE(DurationFormatting)
{
time::nanoseconds d1 = 53000_s + 87_ms + 3_us;