|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase test.wsmo4j.Wsmo4jTestCase test.wsmo4j.ontology.ConceptTest
public class ConceptTest
Title: WSMO4J
Description: WSMO API and a Reference Implementation
Copyright: Copyright (c) 2004-2005
Company: OntoText Lab. / SIRMA
Field Summary |
---|
Fields inherited from class test.wsmo4j.Wsmo4jTestCase |
---|
dataFactory, factory, leFactory |
Constructor Summary | |
---|---|
ConceptTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testAttributes()
Test the createAttribute / addType / removeAttribute + all attribute properties. |
void |
testAttributeValues()
Test addAttributeValue / removeAttributeValue / listAttributeValue. |
void |
testConceptInheritance()
Test the concept inheritance addSubConcept / addSuperConcept / removeSubConcept / removeSuperConcept / listSubConcepts. |
void |
testInstance()
Test the correctness of the 3 possible ways to create instance. |
Methods inherited from class test.wsmo4j.Wsmo4jTestCase |
---|
createIRI, createIRI |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConceptTest()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class Wsmo4jTestCase
Exception
public void testConceptInheritance() throws Exception
Exception
public void testAttributes() throws Exception
Exception
public void testInstance() throws Exception
Exception
public void testAttributeValues() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |