Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.ontology.impl.test
Class TestListSyntaxCategories.DoListTest  view TestListSyntaxCategories.DoListTest download TestListSyntaxCategories.DoListTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.hp.hpl.jena.ontology.impl.test.TestListSyntaxCategories.DoListTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
TestListSyntaxCategories

protected static class TestListSyntaxCategories.DoListTest
extends junit.framework.TestCase


Field Summary
protected  int m_count
           
protected  boolean m_exExpected
           
protected  java.lang.String[] m_expected
           
protected  java.lang.String m_fileName
           
protected  com.hp.hpl.jena.ontology.OntModelSpec m_spec
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
protected TestListSyntaxCategories.DoListTest(java.lang.String name, java.lang.String fileName, com.hp.hpl.jena.ontology.OntModelSpec spec, int count, java.lang.String[] expected)
           
protected TestListSyntaxCategories.DoListTest(java.lang.String name, java.lang.String fileName, com.hp.hpl.jena.ontology.OntModelSpec spec, int count, java.lang.String[] expected, boolean exExpected)
           
 
Method Summary
 java.util.Iterator doList(com.hp.hpl.jena.ontology.OntModel m)
           
protected  java.util.List expected(com.hp.hpl.jena.ontology.OntModel m)
           
 void runTest()
          Override to run the test and assert its state.
 void setUp()
          Sets up the fixture, for example, open a network connection.
 boolean test(com.hp.hpl.jena.rdf.model.Resource r)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_fileName

protected java.lang.String m_fileName

m_spec

protected com.hp.hpl.jena.ontology.OntModelSpec m_spec

m_count

protected int m_count

m_expected

protected java.lang.String[] m_expected

m_exExpected

protected boolean m_exExpected
Constructor Detail

TestListSyntaxCategories.DoListTest

protected TestListSyntaxCategories.DoListTest(java.lang.String name,
                                              java.lang.String fileName,
                                              com.hp.hpl.jena.ontology.OntModelSpec spec,
                                              int count,
                                              java.lang.String[] expected)

TestListSyntaxCategories.DoListTest

protected TestListSyntaxCategories.DoListTest(java.lang.String name,
                                              java.lang.String fileName,
                                              com.hp.hpl.jena.ontology.OntModelSpec spec,
                                              int count,
                                              java.lang.String[] expected,
                                              boolean exExpected)
Method Detail

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


runTest

public void runTest()
Description copied from class: junit.framework.TestCase
Override to run the test and assert its state.


doList

public java.util.Iterator doList(com.hp.hpl.jena.ontology.OntModel m)

test

public boolean test(com.hp.hpl.jena.rdf.model.Resource r)

expected

protected java.util.List expected(com.hp.hpl.jena.ontology.OntModel m)