Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
3e792f61
Commit
3e792f61
authored
10 years ago
by
Dan Zivkovic
Browse files
Options
Downloads
Patches
Plain Diff
Minor unit test fixes.
Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90
parent
fa296fa6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+0
-4
0 additions, 4 deletions
.../com/android/inputmethod/latin/BinaryDictionaryTests.java
tests/src/com/android/inputmethod/latin/InputTestsBase.java
+0
-2
0 additions, 2 deletions
tests/src/com/android/inputmethod/latin/InputTestsBase.java
with
0 additions
and
6 deletions
tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+
0
−
4
View file @
3e792f61
...
...
@@ -44,10 +44,6 @@ public class BinaryDictionaryTests extends AndroidTestCase {
private
static
final
String
TEST_LOCALE
=
"test"
;
private
static
final
String
DICTIONARY_ID
=
"TestBinaryDictionary"
;
private
static
boolean
supportsNgram
(
final
int
formatVersion
)
{
return
formatVersion
>=
FormatSpec
.
VERSION403
;
}
private
HashSet
<
File
>
mDictFilesToBeDeleted
=
new
HashSet
<>();
@Override
...
...
This diff is collapsed.
Click to expand it.
tests/src/com/android/inputmethod/latin/InputTestsBase.java
+
0
−
2
View file @
3e792f61
...
...
@@ -152,8 +152,6 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> {
super
(
LatinIMEForTests
.
class
);
}
// TODO: Isn't there a way to make this generic somehow? We can take a <T> and return a <T>
// but we'd have to dispatch types on editor.put...() functions
protected
boolean
setBooleanPreference
(
final
String
key
,
final
boolean
value
,
final
boolean
defaultValue
)
{
final
SharedPreferences
prefs
=
PreferenceManager
.
getDefaultSharedPreferences
(
mLatinIME
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment