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.