am 3c801be5: Merge "Fix unit tests by adding @UsedForTesting."

* commit '3c801be5e5856c8e77077efeb4487ed1c6507e45':
  Fix unit tests by adding @UsedForTesting.
main
Keisuke Kuroyanagi 2014-03-28 06:13:17 +00:00 committed by Android Git Automerger
commit 4e16fa8350
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@
package com.android.inputmethod.latin.makedict;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.latin.BinaryDictionary;
import com.android.inputmethod.latin.utils.CombinedFormatUtils;
@ -30,6 +31,7 @@ public final class ProbabilityInfo {
public final int mLevel;
public final int mCount;
@UsedForTesting
public static ProbabilityInfo max(final ProbabilityInfo probabilityInfo1,
final ProbabilityInfo probabilityInfo2) {
if (probabilityInfo1 == null) {

View File

@ -42,6 +42,7 @@ public final class WordProperty implements Comparable<WordProperty> {
private int mHashCode = 0;
@UsedForTesting
public WordProperty(final String word, final ProbabilityInfo probabilityInfo,
final ArrayList<WeightedString> shortcutTargets,
final ArrayList<WeightedString> bigrams,