This will make references rename tests easier.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4684 Build 4684: arc lint + arc unit
Event Timeline
Comment Actions
lg
unittests/clang-rename/ClangRenameTests.cpp | ||
---|---|---|
92 | I'd put EXPECT_EQ in test cases so that it would be easier to see which case fails. Maybe pull out a function for wrapping Expected and EXPECT_EQ on the formatted result and format(Actual)? |
unittests/clang-rename/ClangRenameTests.cpp | ||
---|---|---|
92 | I don't see a strong benefit of it. As our test cases are generated by INSTANTIATE_TEST_CASE_P, pulling out this function doesn't make the failure output much clearer; this will also save us some keystrokes. I'd keep it at the moment. |
I'd put EXPECT_EQ in test cases so that it would be easier to see which case fails. Maybe pull out a function for wrapping Expected and EXPECT_EQ on the formatted result and format(Actual)?