8d1f50f582dc384a164a42657c35187b0226bcc3 |
|
15-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Fix missing encoding attribute on FN field. When FN field is built from display name, the encoding attribute is missing. Created common method to build N and FN fields so they will not be out of sync in the future. Bug: 7292017 Change-Id: I7faceb316b639d626a54bdd455df1e748b22face
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/VCardTestRunner.java
|
56650608f09fc75f260c03e00456ef3d1e60c929 |
|
01-Apr-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add parseOne() capability. Bug: 4066223 Change-Id: I1699dd073a3b9647a5654d3fea4a2963430599da
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/VCardTestRunner.java
|
48dd8e86a81d2ab40eb762975c8211c225002bf0 |
|
22-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Tolerate nested vCard. vCard 2.1 requires to handle nest (or grouping) while our parser has not supported it well. One support we have had is ignoring top element when FLAG_TORELATE_NEST is specified, which isn't appropriate. e.g. BEGIN:VCARD X-VENDER-SPECIFIC-META-INFO:XXXX ... BEGIN:VCARD (Actual content) END:VCARD END:VCARD This change lets the vCard lib import nested vCard. One problem around handling the case above is that, after having this change, we'll get two vCard elements instead of one, as the top element isn't ignored on parser level any more, while we don't want the top-level data. To solve the problem, this change also makes vCard importer ignore such empty data. This changes just flattens nested vCard. Caller needs to take care of grouping/nest case using VCardEntry#getChildren() if it wants to support grouping feature. - introduce "children" into VCardEntry, which enables users to handle nested vCard on their side. - make vCard parsers accept nest cases. - make vCard interpreters handle nest cases. - make VCardEntry ignore empty data during constructing insert opertions. - make tests accept nest cases. - add additional test cases for verifying more details. - add debug string capability. - remove codes for performance measurement. Bug: 4066223 Change-Id: Id8af659c2cc0bb0db59c8de239d9d95e9d440089
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/VCardTestRunner.java
|
237dd947f2e22d34f490bf35ef4b850d05cfffa9 |
|
21-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Misc fix for vCard testing. - Add VCardTestRunner - Make AndroidManifest aware of newly added VCardTestRunner - Move VCardTestBase to test_utils as it is part of testing utility - Add VCardTestUtilsTests, confirming test utility correctly fails when the test should fail. Change-Id: I593912ce9e664e9346d6f567ccf75f8afc47f9a5
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/VCardTestRunner.java
|