You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google C++ Mocking Framework
Hi All,
I m writing CxxTest with GMock library to test my 'C' Functions. I
want my GMock Function should one pointer variable. When i tried im
getting some compilation error like below
"""error 139"
-------- CXXTest ----------------
**** Code Snap Shot ****
...
Char *Test = "test";
EXPECT_CALL(*mockHrDevTable,
TestPointer()).Times(1).WillOnce(ReturnPointee(Test));
...
**** **** **** **** **** ****
Please correct me where i done mistake or give some sample program to
call GMock Function (C Function ) that should return pointer
variable..
Thanks in Advance..
Keith Ray
unread,
Mar 29, 2012, 1:18:02 PM3/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Neo, Google C++ Mocking Framework
Please provide more information: code, error text, OS, compiler version...
GMock uses GTest internally. did you configure it to throw exceptions that CxxTest catches?