org.nees.metadata
Class TestMetadataObject

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.nees.metadata.TestMetadataObject
All Implemented Interfaces:
junit.framework.Test

public class TestMetadataObject
extends junit.framework.TestCase


Constructor Summary
TestMetadataObject()
           
 
Method Summary
protected  void setUp()
           
 void testDates()
           
 void testDoubles()
           
 void testGetId()
           
 void testIdImmutability()
           
 void testInts()
           
 void testLongs()
           
 void testMalformedId()
           
 void testNullId()
           
 void testReferences()
           
 void testRelationsProperty()
           
 void testStrings()
           
 void testVersion()
           
 void testVersionImmutability()
           
 
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
 

Constructor Detail

TestMetadataObject

public TestMetadataObject()
Method Detail

setUp

protected void setUp()

testNullId

public void testNullId()

testMalformedId

public void testMalformedId()

testIdImmutability

public void testIdImmutability()

testGetId

public void testGetId()

testVersion

public void testVersion()
                 throws ImmutableException
Throws:
ImmutableException

testVersionImmutability

public void testVersionImmutability()
                             throws ImmutableException
Throws:
ImmutableException

testRelationsProperty

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

testDates

public void testDates()
               throws MalformedIdException,
                      RelationNotFoundException,
                      RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException

testDoubles

public void testDoubles()
                 throws MalformedIdException,
                        RelationNotFoundException,
                        RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException

testInts

public void testInts()
              throws MalformedIdException,
                     RelationNotFoundException,
                     RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException

testLongs

public void testLongs()
               throws MalformedIdException,
                      RelationNotFoundException,
                      RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException

testReferences

public void testReferences()
                    throws MalformedIdException,
                           RelationNotFoundException,
                           RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException

testStrings

public void testStrings()
                 throws MalformedIdException,
                        RelationNotFoundException,
                        RelationTypeException
Throws:
MalformedIdException
RelationNotFoundException
RelationTypeException