Fix test breakage in testNickNameV21().
Internal issue number: 2079082
This commit is contained in:
@ -1490,7 +1490,7 @@ public class VCardComposer {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < Constants.MAX_DATA_COLUMN; i++) {
|
for (int i = 1; i <= Constants.MAX_DATA_COLUMN; i++) {
|
||||||
String value = contentValues.getAsString("data" + i);
|
String value = contentValues.getAsString("data" + i);
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
value = "";
|
value = "";
|
||||||
|
@ -1279,7 +1279,7 @@ public class VCardExporterTests extends AndroidTestCase {
|
|||||||
|
|
||||||
VCardVerificationHandler handler = new VCardVerificationHandler(this, V21);
|
VCardVerificationHandler handler = new VCardVerificationHandler(this, V21);
|
||||||
handler.addNewVerifierWithEmptyName()
|
handler.addNewVerifierWithEmptyName()
|
||||||
.addNodeWithOrder("X-ANDROID-CUSTOM", Nickname.CONTENT_ITEM_TYPE + ";Nicky");
|
.addNodeWithOrder("X-ANDROID-CUSTOM", Nickname.CONTENT_ITEM_TYPE + ";Nicky;;;;;;;;;;;;;;");
|
||||||
|
|
||||||
// TODO: also test import part.
|
// TODO: also test import part.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user