spy
Mockito + Spy: How to gather return values
I got a class using a factory for creating some object. In my unit test I would like to access the return value of the factory.[详细]
2023-03-28 23:11 分类:问答Hide VCL Classes
There are some program tools such as WinSpy++ which will allow you to hover over the Handle of any Control/Component and return the Class Name of that Handle. So for example, if I dropped a TMemo on a[详细]
2023-03-05 07:28 分类:问答Why GetWindowThreadProcessId some times returns 0?
I am injecting a .NET SpyLib in the target address space using remote invocation. I need to send a message to that window\'s thread which created that remote process via GetWindowThreadProcessId.[详细]
2023-03-01 06:03 分类:问答Using Spy Object in PHPUnit?
How can I use Spy Object in PHPUnit? You can call object in开发者_运维百科 imitation on, and after you can assert how many times it called.[详细]
2023-02-08 20:46 分类:问答replace non static method java mock
I need to mock a public, non-static method of an object. The problem is that I ca\'nt create a mock object, because this object is created directly in the code.[详细]
2023-02-08 06:33 分类:问答spy keyboard (how to get keyboard digets via C# win forms app)
I want to build a win app using C#... I want this app to accept letter from the keyboard... and I want that to be done either the开发者_运维知识库 text is written via this program or another... its wi[详细]
2023-02-07 14:20 分类:问答Are memcached entries saved by the Danga client compatible with the Spy client?
After saving a String value into memcached using the Danga client, I attempted to get the entryusing the Spy client.The two String values are not the same.The Danga client retrieves a str开发者_开发知[详细]
2022-12-24 23:40 分类:问答Highlight the details of a window under cursor
I need a tool that displays detailed information about the Win32 window which is currently under the mouse cursor. The info I need at minimum:[详细]
2022-12-20 19:40 分类:问答