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

Bug-124: add test case for LangsPreference #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

john-hu
Copy link
Member

@john-hu john-hu commented Oct 25, 2014

No description provided.

@john-hu
Copy link
Member Author

john-hu commented Oct 25, 2014

@thomas771020
This is a small test case. Please review it and test in your environment. Thanks.


target.callOnDialogClosed(true);

assertEquals(sharedPrefs.getString("pref_key_native_tongue", null),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my environment.
junit.framework.ComparisonFailure: expected:<[en]> but was:<[zh]>

@john-hu
Copy link
Member Author

john-hu commented Oct 29, 2014

@thomas771020
I had updated the patch. I had found and had removed some useless codes in our LangListPreference.

@john-hu john-hu force-pushed the bug-124-test-prefs branch from 9ba1d9b to fc789d6 Compare October 29, 2014 14:57
@john-hu john-hu force-pushed the bug-124-test-prefs branch from fc789d6 to ecaed69 Compare October 29, 2014 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants