Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5633bc7 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Fix test breakage in testNickNameV21().

Internal issue number: 2079082
parent d95a02c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1490,7 +1490,7 @@ public class VCardComposer {
            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);
            if (value == null) {
                value = "";
+1 −1
Original line number Diff line number Diff line
@@ -1279,7 +1279,7 @@ public class VCardExporterTests extends AndroidTestCase {

        VCardVerificationHandler handler = new VCardVerificationHandler(this, V21);
        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.