ocmock
Not feasible to call NSInvocation from a SenTestCase derived class?
Is NSInvocation class not meant to be called via unit tests (for iPhone)? My intent is to call a class\'s method generically and since the method has more than 2 parameters, I can\'t use [myTestClass[详细]
2022-12-15 17:48 分类:问答Using OCMock to expect category methods yields "[NSProxy doesNotRecognizeSelector"...]"
I\'m using OCMock trying to test the behavior of NSURLConnection. Here\'s the incomplete test: #include \"GTMSenTestCase.h\"[详细]
2022-12-10 02:36 分类:问答OCMock returning values
I\'m trying to write a test for a method where the output depends on an NSDate\'s timeIntervalSinceNow return value. I\'d like to specify the return value in my tests so I can test certain scenarios.[详细]
2022-12-09 01:32 分类:问答
加载中,请稍侯......