This is an archive of the discontinued LLVM Phabricator instance.

[clang-doc] Add unit tests for Markdown
ClosedPublic

Authored by juliehockett on Oct 10 2018, 7:46 AM.

Details

Summary

This is part of a move to convert clang-doc's tests to a more maintainable unit test framework, with a smaller number of integration tests to maintain and more granular failure feedback.

Diff Detail

Event Timeline

juliehockett created this revision.Oct 10 2018, 7:46 AM
phosek added inline comments.Oct 11 2018, 12:21 AM
clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
44 ↗(On Diff #169016)

Can we use the C++11 raw string literals here and below to to avoid all the escaping?

Switching to raw strings.

juliehockett marked an inline comment as done.Oct 11 2018, 8:54 AM
phosek added inline comments.Oct 14 2018, 8:07 PM
clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
362 ↗(On Diff #169221)

Nit: this is relevant.

juliehockett marked an inline comment as done.
leonardchan accepted this revision.Oct 16 2018, 11:21 AM
This revision is now accepted and ready to land.Oct 16 2018, 11:21 AM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.