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 TestVocabResultSet extends VocabTestBase 16 { 17 public TestVocabResultSet(String name) 18 { super(name); } 19 20 public static TestSuite suite() 21 { return new TestSuite( TestVocabResultSet.class ); } 22 23 public void testResultSet() 24 { 25 String ns = "http://jena.hpl.hp.com/2003/03/result-set#"; 26 assertResource( ns + "ResultSolution", ResultSet.ResultSolution ); 27 assertResource( ns + "ResultBinding", ResultSet.ResultBinding ); 28 assertResource( ns + "ResultSet", ResultSet.ResultSet ); 29 assertProperty( ns + "value", ResultSet.value ); 30 assertProperty( ns + "resultVariable", ResultSet.resultVariable ); 31 assertProperty( ns + "variable", ResultSet.variable ); 32 assertProperty( ns + "size", ResultSet.size ); 33 assertProperty( ns + "binding", ResultSet.binding ); 34 assertProperty( ns + "solution", ResultSet.solution ); 35 assertResource( ns + "undefined", ResultSet.undefined ); 36 } 37 } 38 39 40 69 | Popular Tags |