DescriptionNew test infrastructure for producing verbose logs in failing tests.
This infrastructure allows Google Test-based tests to opt-in to some magic that results in extremely verbose logs appearing in test output for only those tests that fail. This includes all LOG() messages generated by chrome.exe, npchrome_frame.exe, and the test executable itself, as well as all TRACE_EVENT_*_ETW events. The interesting entrypoints are in test_log_collector_win.h, file_logger_win.h, and log_file_printer_win.h.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126240
Patch Set 1 #
Total comments: 33
Patch Set 2 : comment updates #
Total comments: 8
Patch Set 3 : dear robert #Patch Set 4 : dear erik #Patch Set 5 : capture trace events as well #
Total comments: 18
Patch Set 6 : dear robert #Patch Set 7 : decoupled parsing and printing, extracted mof parser, simplified all around #
Total comments: 1
Patch Set 8 : now with a unit test on the parser #Patch Set 9 : tweaked comments #
Total comments: 8
Patch Set 10 : oops, forgot to add test #
Total comments: 16
Patch Set 11 : addressed robert's comments #
Total comments: 4
Patch Set 12 : comments addressed #Patch Set 13 : moved logging_win to logging/win so regular filename_rules work #Messages
Total messages: 28 (0 generated)
|