test
Class DomainFactoryTest

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

public class DomainFactoryTest
extends junit.framework.TestCase

Factory for loading and saving domain

Creation date: 19-Jan-2005 15:57:14

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

Constructor Summary
DomainFactoryTest()
           
 
Method Summary
 void testLoad()
           
 void testSave()
           
 void testSave2()
           
 
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

DomainFactoryTest

public DomainFactoryTest()
Method Detail

testLoad

public void testLoad()
              throws InvalidDomainException,
                     java.io.FileNotFoundException
Throws:
InvalidDomainException
java.io.FileNotFoundException

testSave

public void testSave()
              throws InvalidDomainException,
                     java.io.FileNotFoundException
Throws:
InvalidDomainException
java.io.FileNotFoundException

testSave2

public void testSave2()
               throws NodeAlreadyExistException,
                      NodeNotFoundException,
                      LinkAlreadyExistException,
                      InvalidDomainException,
                      java.io.FileNotFoundException
Throws:
NodeAlreadyExistException
NodeNotFoundException
LinkAlreadyExistException
InvalidDomainException
java.io.FileNotFoundException


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