|
Greenbone Vulnerability Management Libraries 22.32.0
|

Go to the source code of this file.
Functions | |
| static gchar * | write_temp_xml (const char *xml) |
| Describe (xmlutils) | |
| BeforeEach (xmlutils) | |
| AfterEach (xmlutils) | |
| Ensure (xmlutils, parse_entity_parses_simple_xml) | |
| Ensure (xmlutils, parse_entity_parses_xml_with_attributes) | |
| Ensure (xmlutils, parse_entity_handles_declaration) | |
| Ensure (xmlutils, parse_entity_handles_namespace) | |
| Ensure (xmlutils, parse_entity_oval_timestamp) | |
| Ensure (xmlutils, next_entities_handles_multiple_children) | |
| Ensure (xmlutils, parse_element_parses_simple_xml) | |
| Ensure (xmlutils, parse_element_parses_xml_with_attributes) | |
| Ensure (xmlutils, parse_element_handles_declaration) | |
| Ensure (xmlutils, parse_element_handles_namespace) | |
| Ensure (xmlutils, parse_element_oval_timestamp) | |
| Ensure (xmlutils, parse_element_item_metadata) | |
| Ensure (xmlutils, parse_element_item_metadata_with_namespace) | |
| Ensure (xmlutils, parse_element_item_handles_cdata) | |
| Ensure (xmlutils, element_next_handles_multiple_children) | |
| Ensure (xmlutils, parse_element_free_using_child) | |
| Ensure (xmlutils, print_element_to_string_prints) | |
| Ensure (xmlutils, depth1_returns_top_level_children_in_order) | |
| Ensure (xmlutils, depth2_returns_grandchildren) | |
| Ensure (xmlutils, rewind_resets_state) | |
| int | main (int argc, char **argv) |
| AfterEach | ( | xmlutils | ) |
Definition at line 34 of file xmlutils_tests.c.
| BeforeEach | ( | xmlutils | ) |
Definition at line 31 of file xmlutils_tests.c.
| Describe | ( | xmlutils | ) |
| Ensure | ( | xmlutils | , |
| depth1_returns_top_level_children_in_order | ) |
Definition at line 581 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), element_text(), write_temp_xml(), xml_file_iterator_free(), xml_file_iterator_init_from_file_path(), xml_file_iterator_new(), and xml_file_iterator_next().

| Ensure | ( | xmlutils | , |
| depth2_returns_grandchildren | ) |
Definition at line 638 of file xmlutils_tests.c.
References element_attribute(), element_free(), element_name(), write_temp_xml(), xml_file_iterator_free(), xml_file_iterator_init_from_file_path(), xml_file_iterator_new(), and xml_file_iterator_next().

| Ensure | ( | xmlutils | , |
| element_next_handles_multiple_children | ) |
Definition at line 510 of file xmlutils_tests.c.
References element_first_child(), element_free(), element_name(), element_next(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| next_entities_handles_multiple_children | ) |
Definition at line 161 of file xmlutils_tests.c.
References entity_s::entities, entity_name(), entity_text(), first_entity(), free_entity(), next_entities(), and parse_entity().

| Ensure | ( | xmlutils | , |
| parse_element_free_using_child | ) |
Definition at line 546 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_handles_declaration | ) |
Definition at line 239 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_handles_namespace | ) |
Definition at line 261 of file xmlutils_tests.c.
References element_attribute(), element_child(), element_free(), element_name(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_item_handles_cdata | ) |
Definition at line 428 of file xmlutils_tests.c.
References element_free(), element_name(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_item_metadata | ) |
Definition at line 335 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_item_metadata_with_namespace | ) |
Definition at line 372 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_oval_timestamp | ) |
Definition at line 288 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_parses_simple_xml | ) |
Definition at line 198 of file xmlutils_tests.c.
References element_child(), element_free(), element_name(), element_text(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_element_parses_xml_with_attributes | ) |
Definition at line 220 of file xmlutils_tests.c.
References element_attribute(), element_child(), element_free(), and parse_element().

| Ensure | ( | xmlutils | , |
| parse_entity_handles_declaration | ) |
Definition at line 75 of file xmlutils_tests.c.
References entity_child(), entity_name(), entity_text(), free_entity(), and parse_entity().

| Ensure | ( | xmlutils | , |
| parse_entity_handles_namespace | ) |
Definition at line 94 of file xmlutils_tests.c.
References entity_child(), entity_name(), entity_text(), free_entity(), and parse_entity().

| Ensure | ( | xmlutils | , |
| parse_entity_oval_timestamp | ) |
Definition at line 114 of file xmlutils_tests.c.
References entity_child(), entity_name(), entity_text(), free_entity(), and parse_entity().

| Ensure | ( | xmlutils | , |
| parse_entity_parses_simple_xml | ) |
Definition at line 40 of file xmlutils_tests.c.
References entity_child(), entity_name(), entity_text(), free_entity(), and parse_entity().

| Ensure | ( | xmlutils | , |
| parse_entity_parses_xml_with_attributes | ) |
Definition at line 59 of file xmlutils_tests.c.
References entity_attribute(), entity_child(), free_entity(), and parse_entity().

| Ensure | ( | xmlutils | , |
| print_element_to_string_prints | ) |
Definition at line 562 of file xmlutils_tests.c.
References element_free(), parse_element(), and print_element_to_string().

| Ensure | ( | xmlutils | , |
| rewind_resets_state | ) |
Definition at line 685 of file xmlutils_tests.c.
References element_free(), element_name(), write_temp_xml(), xml_file_iterator_free(), xml_file_iterator_init_from_file_path(), xml_file_iterator_new(), xml_file_iterator_next(), and xml_file_iterator_rewind().

| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 720 of file xmlutils_tests.c.
|
static |
Definition at line 13 of file xmlutils_tests.c.
Referenced by Ensure(), Ensure(), and Ensure().
