test
Class DomainConvertorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.DomainConvertorTest
All Implemented Interfaces:
junit.framework.Test

public class DomainConvertorTest
extends junit.framework.TestCase

Test the DomainConvertor functionalities

Creation date: 21-Jan-2005 13:52:43

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Constructor Summary
DomainConvertorTest()
           
 
Method Summary
 void testAddConversion()
          Test adding a node in the conversion table
 void testInitialConversionTable()
          Check initial conversion table create from a Domain
 void testRemoveConversion()
          Test remove a node from the conversion table and then add it again.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

DomainConvertorTest

public DomainConvertorTest()
Method Detail

testInitialConversionTable

public void testInitialConversionTable()
                                throws InvalidDomainException,
                                       java.io.FileNotFoundException
Check initial conversion table create from a Domain

Throws:
InvalidDomainException
java.io.FileNotFoundException

testAddConversion

public void testAddConversion()
                       throws InvalidDomainException,
                              java.io.FileNotFoundException
Test adding a node in the conversion table

Throws:
InvalidDomainException
java.io.FileNotFoundException

testRemoveConversion

public void testRemoveConversion()
                          throws InvalidDomainException,
                                 java.io.FileNotFoundException
Test remove a node from the conversion table and then add it again. The adding node has an other id.

Throws:
InvalidDomainException
java.io.FileNotFoundException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.