org.openuat.util.test
Class TCPPortServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openuat.util.test.TCPPortServerTest
All Implemented Interfaces:
junit.framework.Test

public class TCPPortServerTest
extends junit.framework.TestCase


Field Summary
static int PORT
           
 
Constructor Summary
TCPPortServerTest(java.lang.String s)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCreateConnection()
           
 
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
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values
Constructor Detail

TCPPortServerTest

public TCPPortServerTest(java.lang.String s)
Method Detail

setUp

public void setUp()
           throws java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException

tearDown

public void tearDown()
              throws java.io.IOException,
                     InternalApplicationException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.io.IOException
InternalApplicationException

testCreateConnection

public void testCreateConnection()
                          throws java.net.UnknownHostException,
                                 java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException


2005-2009, Rene Mayrhofer.