This is an archive of the discontinued LLVM Phabricator instance.

[clang-doc] Add unit tests for YAML
ClosedPublic

Authored by juliehockett on Oct 10 2018, 7:45 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:45 AM
phosek added inline comments.Oct 15 2018, 8:15 AM
clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
45 ↗(On Diff #169015)

Nit: use raw strings here as well, the same here below.

juliehockett marked an inline comment as done.
jakehehrlich added a comment.EditedOct 15 2018, 2:25 PM

This just seems like a lit test in unit test form, why does this need to use unit tests and not lit tests?

Edit: Spoke offline about this, I'm fine with it.

leonardchan accepted this revision.Oct 16 2018, 11:20 AM
This revision is now accepted and ready to land.Oct 16 2018, 11:20 AM
This revision was automatically updated to reflect the committed changes.