I just finished landing OCMock (http://www.mulle-kybernetik.com/software/OCMock/) into third_party. >From their homepage:
"OCMock is an Objective-C implementation of mock objects. If you are unfamiliar with the concept of mock objects please visit mockobjects.com which has more details and discussions about this approach to testing software. This implementation fully utilises the dynamic nature of Objective-C. It creates mock objects on the fly and uses the trampoline pattern so that you can define expectations and stubs using the same syntax that you use to call methods." One big advantage is that we are now able to mock areas of Cocoa (such as global singletons) in unit tests without disturbing the surrounding machine. Please take advantage of it when writing unit tests for Mac OS X. Thanks to Paul Wicks for providing the CLs to get it building in our infrastructure. -- Mike Pinkerton Mac Weenie [email protected] --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
