Issue 9 in mockitopp: Compile error: ‘struct mockitopp::detail::dynamic_vfunction_action<void>’ has no member named ‘exactly’

6 views
Skip to first unread message

mock...@googlecode.com

unread,
Oct 2, 2012, 11:33:28 AM10/2/12
to mockit...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 9 by nwon...@gmail.com: Compile error: ‘struct
mockitopp::detail::dynamic_vfunction_action<void>’ has no member named
‘exactly’
http://code.google.com/p/mockitopp/issues/detail?id=9

What steps will reproduce the problem?
1. Write a test with a line
like "mock_object.expect(&Foo::bar).when(some_param).exactly(1)".
2. Compile against mockitopp rev145. Note that the test compiles and runs
correctly.
3. Update to mockitopp rev147. Note that you now get the following compile
error: "error: ‘struct mockitopp::detail::dynamic_vfunction_action<void>’
has no member named ‘exactly’"

What is the expected output? What do you see instead?
Expected tests that compiled on rev145 to still compile on rev147. Am I
using .exactly() incorrectly in my example above?

What version of the product are you using? On what operating system?
mockitopp rev147
OS is Scientific Linux 6:
$ uname -a
Linux xxx 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 11:24:23 CDT 2012
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.



mock...@googlecode.com

unread,
Oct 30, 2012, 7:01:38 AM10/30/12
to mockit...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 9 by trevor.p...@gmail.com: Compile error: ‘struct
mockitopp::detail::dynamic_vfunction_action<void>’ has no member named
‘exactly’
http://code.google.com/p/mockitopp/issues/detail?id=9

This issue was closed by revision r148.

mock...@googlecode.com

unread,
Jan 12, 2013, 4:26:37 PM1/12/13
to mockit...@googlegroups.com
Updates:
Owner: trevor.p...@gmail.com

Comment #2 on issue 9 by trevor.p...@gmail.com: Compile error: ‘struct
mockitopp::detail::dynamic_vfunction_action<void>’ has no member named
‘exactly’
http://code.google.com/p/mockitopp/issues/detail?id=9

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages