Is it possible to use Mock.Arrange to mock a C++/CLI function that has parameters which are pointers to native C++ structs? Function prototype would be similar to the following:
int foo(NativeStruct1* param1, NativeStruct2* param2)
3 Answers, 1 is accepted
answered on 12 May 2015, 08:15 AM
No, JustMock does not support most interop-related types like pointers, TypedReference and __arglist. It has been on our laundry list of features for quite some time now, but it has never been asked for and so we never prioritized it.
I've added a feature request to our feedback portal. I'd like to ask you to vote for it, so we may prioritize it in one of our future releases.
Thank you for the confirmation. I have voted for this feature.
answered on 15 May 2015, 07:20 AM
Thank you for your engagement. You can further track the development of the feature by observing the status of the feedback item.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items