1 6 7 package com.hp.hpl.jena.vocabulary.test; 8 9 import com.hp.hpl.jena.vocabulary.*; 10 import junit.framework.*; 11 12 17 public class TestVocabVCARD extends VocabTestBase 18 { 19 public TestVocabVCARD( String name ) 20 { super( name ); } 21 22 public static TestSuite suite() 23 { return new TestSuite( TestVocabVCARD.class ); } 24 25 public void testVCARD() 26 { 27 String ns = "http://www.w3.org/2001/vcard-rdf/3.0#"; 28 assertEquals( ns, VCARD.getURI() ); 29 assertResource( ns + "ORGPROPERTIES", VCARD.ORGPROPERTIES ); 30 assertResource( ns + "ADRTYPES", VCARD.ADRTYPES ); 31 assertResource( ns + "NPROPERTIES", VCARD.NPROPERTIES ); 32 assertResource( ns + "EMAILTYPES", VCARD.EMAILTYPES ); 33 assertResource( ns + "TELTYPES", VCARD.TELTYPES ); 34 assertResource( ns + "ADRPROPERTIES", VCARD.ADRPROPERTIES ); 35 assertResource( ns + "TZTYPES", VCARD.TZTYPES ); 36 assertProperty( ns + "Street", VCARD.Street ); 37 assertProperty( ns + "AGENT", VCARD.AGENT ); 38 assertProperty( ns + "SOURCE", VCARD.SOURCE ); 39 assertProperty( ns + "LOGO", VCARD.LOGO ); 40 assertProperty( ns + "BDAY", VCARD.BDAY ); 41 assertProperty( ns + "REV", VCARD.REV ); 42 assertProperty( ns + "SORT-STRING", VCARD.SORT_STRING ); 43 assertProperty( ns + "Orgname", VCARD.Orgname ); 44 assertProperty( ns + "CATEGORIES", VCARD.CATEGORIES ); 45 assertProperty( ns + "N", VCARD.N ); 46 assertProperty( ns + "Pcode", VCARD.Pcode ); 47 assertProperty( ns + "Prefix", VCARD.Prefix ); 48 assertProperty( ns + "PHOTO", VCARD.PHOTO ); 49 assertProperty( ns + "FN", VCARD.FN ); 50 assertProperty( ns + "ORG", VCARD.ORG ); 51 assertProperty( ns + "Suffix", VCARD.Suffix ); 52 assertProperty( ns + "CLASS", VCARD.CLASS ); 53 assertProperty( ns + "ADR", VCARD.ADR ); 54 assertProperty( ns + "Region", VCARD.Region ); 55 assertProperty( ns + "GEO", VCARD.GEO ); 56 assertProperty( ns + "Extadd", VCARD.Extadd ); 57 assertProperty( ns + "GROUP", VCARD.GROUP ); 58 assertProperty( ns + "EMAIL", VCARD.EMAIL ); 59 assertProperty( ns + "UID", VCARD.UID ); 60 assertProperty( ns + "Family", VCARD.Family ); 61 assertProperty( ns + "TZ", VCARD.TZ ); 62 assertProperty( ns + "NAME", VCARD.NAME ); 63 assertProperty( ns + "Orgunit", VCARD.Orgunit ); 64 assertProperty( ns + "Country", VCARD.Country ); 65 assertProperty( ns + "SOUND", VCARD.SOUND ); 66 assertProperty( ns + "TITLE", VCARD.TITLE ); 67 assertProperty( ns + "NOTE", VCARD.NOTE ); 68 assertProperty( ns + "MAILER", VCARD.MAILER ); 69 assertProperty( ns + "Other", VCARD.Other ); 70 assertProperty( ns + "Locality", VCARD.Locality ); 71 assertProperty( ns + "Pobox", VCARD.Pobox ); 72 assertProperty( ns + "KEY", VCARD.KEY ); 73 assertProperty( ns + "PRODID", VCARD.PRODID ); 74 assertProperty( ns + "Given", VCARD.Given ); 75 assertProperty( ns + "LABEL", VCARD.LABEL ); 76 assertProperty( ns + "TEL", VCARD.TEL ); 77 assertProperty( ns + "NICKNAME", VCARD.NICKNAME ); 78 assertProperty( ns + "ROLE", VCARD.ROLE ); 79 } 80 } 81 110 | Popular Tags |