org.embl.ebi.escience.scufl
Class PortTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.embl.ebi.escience.scufl.PortTest
All Implemented Interfaces:
junit.framework.Test

public class PortTest
extends junit.framework.TestCase


Constructor Summary
PortTest()
           
 
Method Summary
 void testCreation()
           
 void testCreationDuplicate()
           
 void testCreationDuplicateOtherType()
           
 void testCreationIllegalName()
           
 void testCreationNullName()
           
 void testCreationNullProc()
           
 void testCreationWeirdName()
           
 void testNameEdit()
           
 void testNameUneditable()
           
 void testToString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortTest

public PortTest()
Method Detail

testCreation

public void testCreation()
                  throws DuplicatePortNameException,
                         PortCreationException
Throws:
DuplicatePortNameException
PortCreationException

testCreationNullProc

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

testCreationNullName

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

testCreationWeirdName

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

testCreationIllegalName

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

testCreationDuplicate

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

testCreationDuplicateOtherType

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

testNameUneditable

public void testNameUneditable()
                        throws DuplicatePortNameException,
                               PortCreationException
Throws:
DuplicatePortNameException
PortCreationException

testNameEdit

public void testNameEdit()
                  throws DuplicatePortNameException,
                         PortCreationException
Throws:
DuplicatePortNameException
PortCreationException

testToString

public void testToString()
                  throws DuplicatePortNameException,
                         PortCreationException
Throws:
DuplicatePortNameException
PortCreationException