This page was design to test singular and multiple occurrence values in the adr element of a hcard.
From: hCard test suite 1.0
Tests:
Test | Result | Comment |
---|---|---|
vcard[0].adr[0].type[0] | IsEqualToCaseInsensitive("work") | The type is a optional multiple value. Types are case insensitive |
vcard[0].adr[0].post-office-box | IsEqualTo("PO Box 46") | The post-office-box is a optional singular value |
vcard[0].adr[0].street-address[1] | IsEqualTo("West Street") | The street-address is a optional multiple value |
vcard[0].adr[0].extended-address | IsEqualTo("Suite 2") | The extended-address is a optional singular value |
vcard[0].adr[0].region | IsEqualTo("East Sussex") | The region is a optional singular value |
vcard[0].adr[0].locality | IsEqualTo("Brighton") | The locality is a optional singular value |
vcard[0].adr[0].postal-code | IsEqualTo("BN1 3DF") | The postal-code is a optional singular value |
vcard[0].adr[0].country-name | IsEqualTo("United Kingdom") | The country-name is a optional singular value |
History: