--
You received this message because you are subscribed to the Google Groups "Igloo-testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igloo-testin...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have, but I'm not having any luck and after a day of fiddling around I'd be pulling my hair out if I had any. :-)
I can't figure out what to do with the test listener - I'm a bit of a c++ newb and I can't figure out how to use it with Igloo.
Symon.
from what I can tell from a test listener used for boost the general idea is that if result in the listener equates to failed then the information about the error (e.g. filename, line number, error summary) should be pushed to the testing framework.
I'm not clear on how I can do that - does igloo support having errors pushed to it somehow?
Cheers,
Symon.
--
struct foo{virtual void call_me() = 0;};struct mock_foo : public foo{MOCK_METHOD0(call_me, void());};Describe(Spec_with_mocks){It(Fails){EXPECT_CALL(foo, call_me());}mock_foo foo; //BOOM!};
This seems to be the way the site documentation dictates tests can be structured but it doesn't seem to work with Google Mocks. Have I got it wrong?Cheers,Symon.