1 6 7 package com.hp.hpl.jena.vocabulary.test; 8 9 import com.hp.hpl.jena.vocabulary.*; 10 import junit.framework.*; 11 12 15 public class TestVocabDC10 extends VocabTestBase 16 { 17 public TestVocabDC10(String name) 18 { super(name); } 19 20 public static TestSuite suite() 21 { return new TestSuite( TestVocabDC10.class ); } 22 23 public void testDC10() 24 { 25 String ns = "http://purl.org/dc/elements/1.0/"; 26 assertProperty( ns + "contributor", DC_10.contributor ); 27 assertProperty( ns + "coverage", DC_10.coverage ); 28 assertProperty( ns + "creator", DC_10.creator ); 29 assertProperty( ns + "date", DC_10.date ); 30 assertProperty( ns + "description", DC_10.description ); 31 assertProperty( ns + "format", DC_10.format ); 32 assertProperty( ns + "identifier", DC_10.identifier ); 33 assertProperty( ns + "language", DC_10.language ); 34 assertProperty( ns + "publisher", DC_10.publisher ); 35 assertProperty( ns + "relation", DC_10.relation ); 36 assertProperty( ns + "rights", DC_10.rights ); 37 assertProperty( ns + "source", DC_10.source ); 38 assertProperty( ns + "subject", DC_10.subject ); 39 assertProperty( ns + "title", DC_10.title ); 40 assertProperty( ns + "type", DC_10.type ); 41 } 42 } 43 44 45 74 | Popular Tags |