Hi Kathy,
May be I didn’t explain it very well. What I really want is that when
I call the mock method it should inject my expectation and the pointer
should point to the new value set in the expectation.
In method “CMyTestClass::MyTestMethod”, After I call the m_pFoo-
>MethodTest(&b) it should change to the value set in the expectation.
Eg: Before calling m_pFoo->MethodTest(&b) method the values should be
b.iValueA = 888 and b.iValueB = 999. Once this method is executed the
values should change to b.iValueB == 25 and b.iValueA == 10.
Thanks,
Mano
On Oct 11, 6:06 pm, Keith Ray <
keith....@gmail.com> wrote:
> To return a pointer to a subclass instance via a pointer argument, you need a pointer-to-a-pointer or reference-to-pointer
>
> virtual void MethodTest(ClassA **pClassA)
>
> C. Keith Ray
>
> Amplify Your Agility
> Coaching | Training | Assessment | eLearninghttp://
industriallogic.com