【文件属性】:
文件名称:ocmock-expecta:OCMock的Expecta匹配器
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-05 20:08:22
Objective-C
Expecta-OCMock
匹配器。
例子
// First check that a method is called
// Note: it will still call said method in the test. It's not stubbed.
// These never stub.
it ( @" checks for a method " , ^{
@ mockify (sut);
expect (sut). to . receive ( @selector ( method ));
[sut method ];
});
// Checks that a method has been called.
// Then calls it again at the end of the test to check it's return va
【文件预览】:
ocmock-expecta-master
----Expecta+OCMock.h(840B)
----Expecta+OCMock.podspec(805B)
----EXPMatchers+OCMock()
--------Podfile(151B)
--------Podfile.lock(491B)
--------EXPMatchers+OCMockTests()
--------EXPMatchers+OCMock.xcodeproj()
----Expecta+OCMock.m(5KB)
----LICENSE.md(1KB)
----.gitignore(41B)
----README.md(1KB)