<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 17, 2014 at 3:06 PM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br><br><div class="gmail_quote"><div class="">On Sun Aug 17 2014 at 11:43:39 PM Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
> Note that we do want to migrate (most of) clang-format's tests to lit tests<br>
> (because most of them are integration tests), but that's a different topic.<br>
<br>
Well, that was the topic of my reply :-)<br>
<br>
When gtest is appropriate, do use it. My request was just to not build<br>
another large test set that we want to migrate in the future.<br></blockquote><div><br></div></div><div>Then we agree! :) Please give specific feedback if you see a gtest test that you think should be a lit test!</div><div>
 </div></div></blockquote><div><br></div><div>In this case, it seems like you should write a unit test for the routine that uses the offsets to actually do the renaming. Then you can write this test as a lit test that checks that the relevant things get renamed.</div>
<div><br></div><div>Also, why are we committing code that is "g<span style="font-family:arial,sans-serif;font-size:13px">rossly under-tested" in the first place? (sorry if this was discussed in another thread)</span></div>
<div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Cheers,<br>
Rafael<br>
</blockquote></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div></div>