Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization tests #55

Open
qmathe opened this issue Sep 14, 2016 · 0 comments
Open

Add localization tests #55

qmathe opened this issue Sep 14, 2016 · 0 comments
Labels

Comments

@qmathe
Copy link
Member

qmathe commented Sep 14, 2016

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.

@qmathe qmathe added the test label Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant