<div dir="ltr">I don't really have a strong opinion, but it ended up being fairly controversial in Chromium:<div><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/-KH_IP0rIWQ">https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/-KH_IP0rIWQ</a><br>
</div><div><br></div><div>It might occupy a space like GTest does for us today, which is used for things like Support where we often can't write a good lit test.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 12, 2013 at 7:42 PM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@google.com" target="_blank">eliben@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="im">On Tue, Nov 12, 2013 at 7:04 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div class="im">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have some concrete use cases in testing the pass manager where it will allow the tests of this API to be more thorough, less verbose, and easier to maintain. I'm not claiming to be the biggest fan of some features in GoogleMock, but on the whole, I think it's better than the alternative and will allow more careful testing of C++ APIs where the interesting part is the API itself.</div>


</blockquote><div><br></div></div><div>Emphatic +1</div><div><br></div><div>One of the major problems with unit testing (in general and in LLVM in particular) is that it's difficult to isolate coupled components from each other. A good mocking framework makes this much easier and thus can help us create more unit tests in the long run. GoogleMock is popular, battle-proven and is the natural companion for GTest.</div>
<span class="HOEnZb"><font color="#888888">

<div><br></div><div>Eli</div><div> </div><div><br></div><div><br></div></font></span></div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>