numist / Switch

A window-based context switcher for the Mac
157 stars 17 forks source link

Wrap *all* the externalities for testing. #122

Closed numist closed 3 years ago

numist commented 9 years ago

NSWindow, NSProcessInfo, all the Quartz C functions, every piece of internal code that contains an interesting if statement in its implementation and an external type in its API needs to use a wrapper type instead to allow testing all code paths.

numist commented 3 years ago

This is done in #139.