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 TestBugReports  view TestBugReports download TestBugReports.java

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

public class TestBugReports
extends junit.framework.TestCase

Unit tests that are derived from user bug reports

Version:
CVS $Id: TestBugReports.java,v 1.23 2003/11/20 17:53:10 ian_dickinson Exp $

Nested Class Summary
(package private)  class TestBugReports.MockTransactionHandler
           
 
Field Summary
static java.lang.String NS
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestBugReports(java.lang.String name)
           
 
Method Summary
private  int getStatementCount(com.hp.hpl.jena.ontology.OntModel ontModel)
           
private  int getTripleCount(com.hp.hpl.jena.graph.Graph graph)
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void test_afs_01()
          Problem reported by Andy Seaborne - combine abox and tbox in RDFS with ontmodel
 void test_anon_0()
          Bug report by anon at SourceForge - Bug ID 887409
 void test_ck_01()
          Bug report by Christoph Kunze (Christoph.Kunz@iao.fhg.de).
 void test_ck_02()
          Bug report by Christoph Kunz, 26/Aug/03.
 void test_ck_03()
          Bug report from Christoph Kunz - reification problems and UnsupportedOperationException
 void test_dab_01()
          Bug report by David Bigwood - listDeclaredProps(false) fails when props are defined in an imported model
 void test_der_01()
          Bug report by Dave Reynolds - SF bug report 810492
 void test_der_02()
           
 void test_der_03()
          Bug report from Dave - cycles checking code still not correct
 void test_dk_01()
          Bug report by David Kensche [david.kensche@post.rwth-aachen.de] - NPE in listDeclaredProperties
 void test_dn_0()
          Bug report by Danah Nada - listIndividuals returning too many results
 void test_dn_01()
           
 void test_dn_02()
          Bug report by Danah Nada - cannot remove import
 void test_ej_01()
           
 void test_fc_01()
          Bug report by federico.carbone@bt.com, 30-July-2003.
 void test_hc_01()
          Bug report by Harry Chen - closed exception when reading many models
 void test_hk_01()
          Bug report from Holger Knublauch on July 25th 2003.
 void test_hk_02()
          Bug report from Hoger Knublauch on Aug 19th 2003.
 void test_hk_03()
          Bug report from Holger Knublauch on Aug 19th, 2003.
 void test_hk_04()
          Bug report from Holger Knublauch on Aug 19th, 2003.
 void test_hk_05()
          Bug report from Holger Knublach: not all elements of a union are removed
 void test_hk_06()
          Bug report from Holger Knublach: moving between ontology models - comes down to a test for a resource being in the base model
 void test_hk_importCache()
           
 void test_if_01()
          Bug report by Ivan Ferrari (ivan_ferrari_75 [ivan_ferrari_75@yahoo.it]) - duplicate nodes in output
 void test_ijd_01()
           
 void test_jt_01()
          Bug report by James Tizard - failure in listIndividuals with DIGexception causes blocked thread
 void test_lt_01()
          Bug report by Lawrence Tay - missing datatype property
 void test_mra_01()
          Bug report by Mariano Rico Almod�var [Mariano.Rico@uam.es] on June 16th.
private  void test_oh_01scan(com.hp.hpl.jena.ontology.OntModelSpec s, java.lang.String prompt, com.hp.hpl.jena.rdf.model.Resource[] expected)
           
 void test_pd_01()
          Bug report by pierluigi.damadio@katamail.com: raises conversion exception
 void test_ppds_01()
          Bug report by Paulo Pinheiro da Silva [pp@ksl.stanford.edu] - exception while accessing PropertyAccessor.getDAMLValue
 void test_sb_01()
          Bug report by sinclair bain (slbain) SF bugID 912202 - NPE in createOntResource() when 2nd param is null
 void test_sf_927641()
          Test case for SF bug 927641 - list direct subclasses
 void test_sf_934528()
          Test case for SF bug 934528 - conversion exception with owl:Thing and owl:Nothing when no reasoner
 void test_sf_937810()
          Test case for SF bug 937810 - NPE from ModelSpec.getDescription()
 void test_sf_940570_daml()
          Test case for SF bug 940570 - listIndividuals not working with RDFS_INF (daml case)
 void test_sf_940570_rdfs()
          Test case for SF bug 940570 - listIndividuals not working with RDFS_INF (rdfs case)
 void test_sf_940570()
          Test case for SF bug 940570 - listIndividuals not working with RDFS_INF
 void test_sf_945436()
          Test case for SF bug 945436 - a xml:lang='' in the dataset causes sring index exception in getLabel()
 void test_sf_948995()
          Test case for SF bug 948995 - OWL full should allow inverse functional datatype properties
 void test_sf_969475()
          Test case for SF bug 969475 - the return value for getInverse() on an ObjectProperty should be an object property
 void test_sf_978259()
          Test case for SF bug 978259 - missing supports() checks in OWL DL and Lite profiles
 void test_sjooseng_01()
          Bug report by sjooseng [sjooseng@hotmail.com].
 void test_tl_01()
          Bug report by Thorsten Liebig [liebig@informatik.uni-ulm.de] - SymmetricProperty etc not visible in list ont properties
 void test_to_01()
          Bug report by Thorsten Ottmann [Thorsten.Ottmann@rwth-aachen.de] - problem accessing elements of DAML list
 void test_zj_0()
          Bug report by Zhao Jun [jeff@seu.edu.cn] - throws no such element exception
 void xxtest_oh_01()
          Bug report from Ole Hjalmar - direct subClassOf not reporting correct result with rule reasoner
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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

NS

public static java.lang.String NS
Constructor Detail

TestBugReports

public TestBugReports(java.lang.String name)
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.


test_dn_0

public void test_dn_0()
Bug report by Danah Nada - listIndividuals returning too many results


test_dn_01

public void test_dn_01()

test_dn_02

public void test_dn_02()
Bug report by Danah Nada - cannot remove import


test_mra_01

public void test_mra_01()
Bug report by Mariano Rico Almod�var [Mariano.Rico@uam.es] on June 16th. Said to raise exception.


test_hk_01

public void test_hk_01()
Bug report from Holger Knublauch on July 25th 2003. Cannot convert owl:Class to an OntClass


test_hk_02

public void test_hk_02()
Bug report from Hoger Knublauch on Aug 19th 2003. NPE when setting all distinct members


test_hk_03

public void test_hk_03()
Bug report from Holger Knublauch on Aug 19th, 2003. Initialisation error


test_hk_04

public void test_hk_04()
Bug report from Holger Knublauch on Aug 19th, 2003. Document manager alt mechanism breaks relative name translation


test_hk_05

public void test_hk_05()
Bug report from Holger Knublach: not all elements of a union are removed


test_hk_06

public void test_hk_06()
                throws java.lang.Exception
Bug report from Holger Knublach: moving between ontology models - comes down to a test for a resource being in the base model


test_hk_importCache

public void test_hk_importCache()

getTripleCount

private int getTripleCount(com.hp.hpl.jena.graph.Graph graph)

test_fc_01

public void test_fc_01()
Bug report by federico.carbone@bt.com, 30-July-2003. A literal can be turned into an individual.


test_ck_01

public void test_ck_01()
Bug report by Christoph Kunze (Christoph.Kunz@iao.fhg.de). 18/Aug/03 No transaction support in ontmodel.


test_ck_02

public void test_ck_02()
Bug report by Christoph Kunz, 26/Aug/03. CCE when creating a statement from a vocabulary


test_ck_03

public void test_ck_03()
Bug report from Christoph Kunz - reification problems and UnsupportedOperationException


test_sjooseng_01

public void test_sjooseng_01()
Bug report by sjooseng [sjooseng@hotmail.com]. CCE in listOneOf in Enumerated Class with DAML profile.


test_afs_01

public void test_afs_01()
Problem reported by Andy Seaborne - combine abox and tbox in RDFS with ontmodel


test_to_01

public void test_to_01()
Bug report by Thorsten Ottmann [Thorsten.Ottmann@rwth-aachen.de] - problem accessing elements of DAML list


test_tl_01

public void test_tl_01()
Bug report by Thorsten Liebig [liebig@informatik.uni-ulm.de] - SymmetricProperty etc not visible in list ont properties


test_der_01

public void test_der_01()
Bug report by Dave Reynolds - SF bug report 810492


test_if_01

public void test_if_01()
Bug report by Ivan Ferrari (ivan_ferrari_75 [ivan_ferrari_75@yahoo.it]) - duplicate nodes in output


test_lt_01

public void test_lt_01()
Bug report by Lawrence Tay - missing datatype property


test_dk_01

public void test_dk_01()
Bug report by David Kensche [david.kensche@post.rwth-aachen.de] - NPE in listDeclaredProperties


test_ppds_01

public void test_ppds_01()
Bug report by Paulo Pinheiro da Silva [pp@ksl.stanford.edu] - exception while accessing PropertyAccessor.getDAMLValue


test_anon_0

public void test_anon_0()
Bug report by anon at SourceForge - Bug ID 887409


test_zj_0

public void test_zj_0()
Bug report by Zhao Jun [jeff@seu.edu.cn] - throws no such element exception


test_ej_01

public void test_ej_01()

test_hc_01

public void test_hc_01()
                throws java.lang.Exception
Bug report by Harry Chen - closed exception when reading many models


test_sb_01

public void test_sb_01()
Bug report by sinclair bain (slbain) SF bugID 912202 - NPE in createOntResource() when 2nd param is null


test_der_02

public void test_der_02()

test_der_03

public void test_der_03()
Bug report from Dave - cycles checking code still not correct


test_pd_01

public void test_pd_01()
Bug report by pierluigi.damadio@katamail.com: raises conversion exception


xxtest_oh_01

public void xxtest_oh_01()
Bug report from Ole Hjalmar - direct subClassOf not reporting correct result with rule reasoner


test_oh_01scan

private void test_oh_01scan(com.hp.hpl.jena.ontology.OntModelSpec s,
                            java.lang.String prompt,
                            com.hp.hpl.jena.rdf.model.Resource[] expected)

test_sf_927641

public void test_sf_927641()
Test case for SF bug 927641 - list direct subclasses


test_sf_934528

public void test_sf_934528()
Test case for SF bug 934528 - conversion exception with owl:Thing and owl:Nothing when no reasoner


test_sf_937810

public void test_sf_937810()
                    throws java.lang.IllegalAccessException
Test case for SF bug 937810 - NPE from ModelSpec.getDescription()


test_sf_940570

public void test_sf_940570()
Test case for SF bug 940570 - listIndividuals not working with RDFS_INF


test_sf_940570_rdfs

public void test_sf_940570_rdfs()
Test case for SF bug 940570 - listIndividuals not working with RDFS_INF (rdfs case)


test_sf_940570_daml

public void test_sf_940570_daml()
Test case for SF bug 940570 - listIndividuals not working with RDFS_INF (daml case)


test_sf_945436

public void test_sf_945436()
Test case for SF bug 945436 - a xml:lang='' in the dataset causes sring index exception in getLabel()


test_sf_948995

public void test_sf_948995()
Test case for SF bug 948995 - OWL full should allow inverse functional datatype properties


test_sf_969475

public void test_sf_969475()
Test case for SF bug 969475 - the return value for getInverse() on an ObjectProperty should be an object property


test_sf_978259

public void test_sf_978259()
Test case for SF bug 978259 - missing supports() checks in OWL DL and Lite profiles


test_ijd_01

public void test_ijd_01()

test_jt_01

public void test_jt_01()
Bug report by James Tizard - failure in listIndividuals with DIGexception causes blocked thread


test_dab_01

public void test_dab_01()
Bug report by David Bigwood - listDeclaredProps(false) fails when props are defined in an imported model


getStatementCount

private int getStatementCount(com.hp.hpl.jena.ontology.OntModel ontModel)