diff options
author | Xavier Ducrohet <xav@android.com> | 2012-10-19 16:17:07 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-19 16:17:08 -0700 |
commit | 9ffcb61b5bbb4b2a98d225ca699b477044278a98 (patch) | |
tree | a4749b0393db941e4d470acbe92d04ed0541f9f4 /lint | |
parent | 2f29b8fac595a3f3b2e08f0d0c408be1b212f4b7 (diff) | |
parent | 41bd9c4a4c71b23c63dad882a020522dcd668e0d (diff) | |
download | sdk-9ffcb61b5bbb4b2a98d225ca699b477044278a98.zip sdk-9ffcb61b5bbb4b2a98d225ca699b477044278a98.tar.gz sdk-9ffcb61b5bbb4b2a98d225ca699b477044278a98.tar.bz2 |
Merge "Fix UTF-8 encoding in some tests"
Diffstat (limited to 'lint')
-rw-r--r-- | lint/libs/lint_checks/tests/.settings/org.eclipse.core.resources.prefs | 1 | ||||
-rw-r--r-- | lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/TypoDetectorTest.java | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lint/libs/lint_checks/tests/.settings/org.eclipse.core.resources.prefs b/lint/libs/lint_checks/tests/.settings/org.eclipse.core.resources.prefs index 01233fd..52d66cb 100644 --- a/lint/libs/lint_checks/tests/.settings/org.eclipse.core.resources.prefs +++ b/lint/libs/lint_checks/tests/.settings/org.eclipse.core.resources.prefs @@ -1,4 +1,5 @@ eclipse.preferences.version=1 +encoding//src/com/android/tools/lint/checks/TypoDetectorTest.java=UTF-8 encoding//src/com/android/tools/lint/checks/TypoLookupTest.java=UTF-8 encoding//src/com/android/tools/lint/checks/TypographyDetectorTest.java=UTF-8 encoding//src/com/android/tools/lint/checks/data/res/values-nb/typos.xml=UTF-8 diff --git a/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/TypoDetectorTest.java b/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/TypoDetectorTest.java index 51d8a75..2b266f7 100644 --- a/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/TypoDetectorTest.java +++ b/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/TypoDetectorTest.java @@ -101,8 +101,8 @@ public class TypoDetectorTest extends AbstractCheckTest { "res/values-nb/typos.xml:12: Warning: \"Altid\" is a common misspelling; did you mean \"Alltid\" ? [Typos]\n" + " <string name=\"s5\">Altid</string>\n" + " ^\n" + - "res/values-nb/typos.xml:18: Warning: \"karri¾re\" is a common misspelling; did you mean \"karrire\" ? [Typos]\n" + - " <string name=\"s7\">Koding er en spennende karri¾re</string>\n" + + "res/values-nb/typos.xml:18: Warning: \"karriære\" is a common misspelling; did you mean \"karrière\" ? [Typos]\n" + + " <string name=\"s7\">Koding er en spennende karriære</string>\n" + " ^\n" + "0 errors, 6 warnings\n" + "", @@ -118,8 +118,8 @@ public class TypoDetectorTest extends AbstractCheckTest { "res/values-de/typos.xml:9: Warning: \"Authorisierungscode\" is a common misspelling; did you mean \"Autorisierungscode\" ? [Typos]\n" + " <string name=\"s2\">(Authorisierungscode!)</string>\n" + " ^\n" + - "res/values-de/typos.xml:10: Warning: \"zurŸck gefoobaren\" is a common misspelling; did you mean \"zurŸckgefoobaren\" ? [Typos]\n" + - " <string name=\"s3\"> zurŸck gefoobaren!</string>\n" + + "res/values-de/typos.xml:10: Warning: \"zurück gefoobaren\" is a common misspelling; did you mean \"zurückgefoobaren\" ? [Typos]\n" + + " <string name=\"s3\"> zurück gefoobaren!</string>\n" + " ^\n" + "0 errors, 3 warnings\n" + "", |