Remove format method from tests.

Will be added to superclass.

Bug 5826326

Change-Id: I61478661b822823112f774745a6642a6185366d3
This commit is contained in:
Brett Chabot 2012-02-21 10:08:16 -08:00
parent fed44d08d8
commit 5abbf24eb0

View file

@ -49,10 +49,6 @@ public class KeySpecParserCsvTests extends AndroidTestCase {
return names.toArray(new String[names.size()]); return names.toArray(new String[names.size()]);
} }
private static String format(String message, Object expected, Object actual) {
return message + " expected:<" + expected + "> but was:<" + actual + ">";
}
private void assertTextArray(String message, String value, String ... expected) { private void assertTextArray(String message, String value, String ... expected) {
final String actual[] = KeySpecParser.parseCsvString(value, mLabelsSet); final String actual[] = KeySpecParser.parseCsvString(value, mLabelsSet);
if (expected.length == 0) { if (expected.length == 0) {