org.meta2project.model.test
Class OntObjectTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.meta2project.model.test.support.SessionTestCase
              extended by org.meta2project.model.test.OntObjectTestCase
All Implemented Interfaces:
junit.framework.Test

public class OntObjectTestCase
extends SessionTestCase

Author:
Anton Malykh

Field Summary
 
Fields inherited from class org.meta2project.model.test.support.SessionTestCase
session, URI
 
Constructor Summary
OntObjectTestCase()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAddRemoveOValue()
           
 void testAddRemoveTValue()
           
 void testCascade()
           
 void testCreateObjectInit()
           
 void testCreateOntObject()
           
 void testCreateOntObject2()
           
 void testCreateOntObjectDub()
           
 void testCreateOntObjectFast()
           
 void testDeleteOntObject()
           
 void testGetAllOntObjects()
           
 void testGetAllOntObjectsForOntClass()
           
 void testGetPropertiesByShortName()
           
 void testObjectSetName()
           
 void testOnwer()
           
 
Methods inherited from class org.meta2project.model.test.support.SessionTestCase
setSession
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

OntObjectTestCase

public OntObjectTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testCreateOntObject

public void testCreateOntObject()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testCreateOntObject2

public void testCreateOntObject2()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testCreateOntObjectDub

public void testCreateOntObjectDub()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testCreateOntObjectFast

public void testCreateOntObjectFast()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteOntObject

public void testDeleteOntObject()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddRemoveOValue

public void testAddRemoveOValue()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddRemoveTValue

public void testAddRemoveTValue()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllOntObjects

public void testGetAllOntObjects()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testCreateObjectInit

public void testCreateObjectInit()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllOntObjectsForOntClass

public void testGetAllOntObjectsForOntClass()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testObjectSetName

public void testObjectSetName()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetPropertiesByShortName

public void testGetPropertiesByShortName()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testOnwer

public void testOnwer()
               throws java.lang.Exception
Throws:
java.lang.Exception

testCascade

public void testCascade()
                 throws java.lang.Exception
Throws:
java.lang.Exception