Debian Codegraph @

tests/xml_output_tests.c

raw symbols SCIP
1 #cxx . . $ `<file>/tests/xml_output_tests.c`/include <cgreen/cgreen.h>cxx . . $ `<file>/include/cgreen/cgreen.h`/
2 #include <cgreen/constraint_syntax_helpers.h>cxx . . $ `<file>/include/cgreen/constraint_syntax_helpers.h`/
3
4 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(failing_test_is_listed_by_xml_reporter) {
5 assert_thatcxx . . $ `include/cgreen/assertions.h:30:9`!(falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!);
6 }
7
8 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(passing_test_is_listed_by_xml_reporter) {
9 assert_thatcxx . . $ `include/cgreen/assertions.h:30:9`!(truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!);
10 }
11
12 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(percent_in_value_is_not_treated_as_format_directive_by_xml_reporter) {
13 assert_thatcxx . . $ `include/cgreen/assertions.h:30:9`!("a literal %d should survive", contains_stringcxx . . $ `include/cgreen/constraint_syntax_helpers.h:43:9`!("absent"));
14 }
15
16 Ensurecxx . . $ `include/cgreen/unit.h:25:9`!(error_message_gets_escaped_by_xml_reporter) {
17 char *test_string =
18 "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n"
19 "<example name=\"arbitrary xml content\">\n"
20 " <content>I'm the content & have chars which have to be escaped, "
21 "if put in outer XML.</content>\n"
22 "</example>";
23 char *expected_string = "I'm not to be found!";
24 assert_thatcxx . . $ `include/cgreen/assertions.h:30:9`!(test_string, contains_stringcxx . . $ `include/cgreen/constraint_syntax_helpers.h:43:9`!(expected_string));
25 }