DescriptionLinux dumper: Add unit tests for google_breakpad::StabsReader. The test system is based on Google C++ Testing Framework and the Google C++ Mocking Framework. This includes a parser that turns human-readable input files ("mock stabs") into .stab and .stabstr section contents, which we can then pass to a StabsReader instance, using a handler object written with GoogleMock. The 'make check' target in src/tools/linux/dump_syms runs this. The supplied input file is pretty small, but I've done coverage testing, and it does cover the parser. I thought the mock stabs parser would be less elaborate than it turned out to be. Lesson learned. Committed, r444. Patch Set 1 #Patch Set 2 : Linux dumper: Add unit tests for google_breakpad::StabsReader. #
Total comments: 6
MessagesTotal messages: 2
|