summaryrefslogtreecommitdiffstats
path: root/chips/tests
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2013-03-06 21:38:10 -0800
committerScott Kennedy <skennedy@google.com>2013-03-06 21:42:05 -0800
commite5d82228c1960115e31f67eb6a3a254d6902e3c5 (patch)
treed767262732059d805f0a0fda60466a5265c39fdf /chips/tests
parent42ae8ba360efc42cc03d8e754a7ddd7dbd0ae92f (diff)
downloadandroid_frameworks_ex-e5d82228c1960115e31f67eb6a3a254d6902e3c5.tar.gz
android_frameworks_ex-e5d82228c1960115e31f67eb6a3a254d6902e3c5.tar.bz2
android_frameworks_ex-e5d82228c1960115e31f67eb6a3a254d6902e3c5.zip
Initial clean up of the chips code
Change-Id: I56a3dd5968a3ea435d6dcae9256021bac1f74ee6
Diffstat (limited to 'chips/tests')
-rw-r--r--chips/tests/src/com/android/ex/chips/ChipsTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/chips/tests/src/com/android/ex/chips/ChipsTest.java b/chips/tests/src/com/android/ex/chips/ChipsTest.java
index 480335a..3b34e88 100644
--- a/chips/tests/src/com/android/ex/chips/ChipsTest.java
+++ b/chips/tests/src/com/android/ex/chips/ChipsTest.java
@@ -255,8 +255,8 @@ public class ChipsTest extends AndroidTestCase {
String first = (String) mTokenizer.terminateToken("FIRST");
String second = (String) mTokenizer.terminateToken("SECOND");
String third = (String) mTokenizer.terminateToken("THIRD");
- String fourth = (String) ("FOURTH,");
- String fifth = (String) ("FIFTH,");
+ String fourth = "FOURTH,";
+ String fifth = "FIFTH,";
mEditable = new SpannableStringBuilder();
mEditable.append(first+second+third+fourth+fifth);
assertEquals(view.countTokens(mEditable), 5);
@@ -927,7 +927,7 @@ public class ChipsTest extends AndroidTestCase {
}
mMockRecips = new RecipientChip[size];
for (int i = 0; i < size; i++) {
- mMockRecips[i] = new VisibleRecipientChip(null, mMockEntries[i], i);
+ mMockRecips[i] = new VisibleRecipientChip(null, mMockEntries[i]);
}
}
}