Home
last modified time | relevance | path

Searched refs:escape_xml (Results 1 – 5 of 5) sorted by relevance

/src/contrib/kyua/drivers/
H A Dreport_junit.cpp167 % text::escape_xml(context.cwd().str()); in got_context()
171 % text::escape_xml((*iter).first) in got_context()
172 % text::escape_xml((*iter).second); in got_context()
187 % text::escape_xml(junit_classname(*iter.test_program())) in got_result()
188 % text::escape_xml(iter.test_case_name()) in got_result()
196 % text::escape_xml(result.reason()); in got_result()
222 % text::escape_xml(result.reason()); in got_result()
228 % text::escape_xml(stdout_contents); in got_result()
246 _output << "<system-err>" << text::escape_xml(stderr_contents) in got_result()
/src/contrib/kyua/utils/text/
H A Doperations_test.cpp71 ATF_REQUIRE_EQ("", text::escape_xml("")); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE_EQ("a", text::escape_xml("a")); in ATF_TEST_CASE_BODY()
79 ATF_REQUIRE_EQ("Some text!", text::escape_xml("Some text!")); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE_EQ("\n\t\r", text::escape_xml("\n\t\r")); in ATF_TEST_CASE_BODY()
87 ATF_REQUIRE_EQ("&apos;", text::escape_xml("'")); in ATF_TEST_CASE_BODY()
90 text::escape_xml("foo \"bar& <tag> yay' baz")); in ATF_TEST_CASE_BODY()
92 ATF_REQUIRE_EQ("&quot;&amp;&lt;&gt;&apos;", text::escape_xml("\"&<>'")); in ATF_TEST_CASE_BODY()
93 ATF_REQUIRE_EQ("&amp;&amp;&amp;", text::escape_xml("&&&")); in ATF_TEST_CASE_BODY()
94 ATF_REQUIRE_EQ("&amp;#8;&amp;#11;", text::escape_xml("\b\v")); in ATF_TEST_CASE_BODY()
95 ATF_REQUIRE_EQ("\t&amp;#127;BAR&amp;", text::escape_xml("\t\x7f""BAR&")); in ATF_TEST_CASE_BODY()
H A Doperations.hpp43 std::string escape_xml(const std::string&);
H A Doperations.cpp48 text::escape_xml(const std::string& in) in escape_xml() function in text
/src/contrib/kyua/cli/
H A Dcmd_report_html.cpp369 templates.add_variable("stdout", text::escape_xml(stdout_text)); in got_result()
374 templates.add_variable("stderr", text::escape_xml(stderr_text)); in got_result()