1 6 7 package com.hp.hpl.jena.vocabulary.test; 8 9 import com.hp.hpl.jena.vocabulary.*; 10 11 import junit.framework.*; 12 13 17 public class TestVocabRSS extends VocabTestBase 18 { 19 public TestVocabRSS(String name) 20 { super(name); } 21 22 public static TestSuite suite() 23 { return new TestSuite( TestVocabRSS.class ); } 24 25 public void testRSS() 26 { 27 String ns = "http://purl.org/rss/1.0/"; 28 assertResource( ns + "channel", RSS.channel ); 29 assertResource( ns + "item", RSS.item ); 30 assertProperty( ns + "description", RSS.description ); 31 assertProperty( ns + "image", RSS.image ); 32 assertProperty( ns + "items", RSS.items ); 33 assertProperty( ns + "link", RSS.link ); 34 assertProperty( ns + "name", RSS.name ); 35 assertProperty( ns + "textinput", RSS.textinput ); 36 assertProperty( ns + "title", RSS.title ); 37 assertProperty( ns + "url", RSS.url ); 38 } 39 } 40 41 42 71 | Popular Tags |