Changeset 134ac5d in mainline for uspace/lib/pcut/src/report/xml.c
- Timestamp:
- 2014-06-06T07:54:24Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8db09e4
- Parents:
- eeb23f2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/report/xml.c
reeb23f2d r134ac5d 48 48 static int failed_tests_in_suite; 49 49 50 /** Initialize the XML output. */ 50 /** Initialize the XML output. 51 * 52 * @param all_items Start of the list with all items. 53 */ 51 54 static void xml_init(pcut_item_t *all_items) { 52 55 printf("<?xml version=\"1.0\"?>\n"); … … 58 61 } 59 62 60 /** Report that a suite was started. */ 63 /** Report that a suite was started. 64 * 65 * @param suite Suite that just started. 66 */ 61 67 static void xml_suite_start(pcut_item_t *suite) { 62 68 tests_in_suite = 0; … … 66 72 } 67 73 68 /** Report that a suite was completed. */ 74 /** Report that a suite was completed. 75 * 76 * @param suite Suite that just ended. 77 */ 69 78 static void xml_suite_done(pcut_item_t *suite) { 70 79 printf("\t</suite><!-- %s: %d / %d -->\n", suite->suite.name, … … 111 120 } 112 121 113 /** Report a completed test. */ 122 /** Report a completed test. 123 * 124 * @param test Test that just finished. 125 * @param outcome Outcome of the test. 126 * @param error_message Buffer with error message. 127 * @param teardown_error_message Buffer with error message from a tear-down function. 128 * @param extra_output Extra output from the test (stdout). 129 */ 114 130 static void xml_test_done(pcut_item_t *test, int outcome, 115 131 const char *error_message, const char *teardown_error_message,
Note:
See TracChangeset
for help on using the changeset viewer.