etoile / CoreObject

Distributed version control + object persistence framework

Home Page:http://coreobject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add localization tests

qmathe opened this issue · comments

Beside -testSelectiveUndo/RedoCommitDescriptor, we don't have tests to check the localization support built into COCommitDescriptor works properly.

To support testing this, we need a new method like +[COCommitDescriptor reloadCommitDescriptorsForPreferredLocalizations:] that could be called to switch the active language during some tests, and restore it back to NSBundle.developmentLocalization afterwards.