1.0.0

org.eclipse.soda.dk.tcpip.connection.testcase
Class TcpipConnectionTestcase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.soda.dk.tcpip.connection.testcase.TcpipConnectionTestcase
All Implemented Interfaces:
junit.framework.Test

public class TcpipConnectionTestcase
extends junit.framework.TestCase

Version:
1.0.0

Field Summary
protected  TcpipServerConnection serverConnection
          Define the server connection (TcpipServerConnection) field.
protected  java.lang.Thread thread
          Define the thread (Thread) field.
 
Constructor Summary
TcpipConnectionTestcase()
          Constructs an instance of this class.
TcpipConnectionTestcase(java.lang.String name)
          Constructs an instance of this class from the specified name parameter.
 
Method Summary
 void closeServer()
          Close server.
 void createServer()
          Create server.
static void main(java.lang.String[] args)
          Main with the specified args parameter.
 void testOpen()
          Test open.
 void testOpenTwo()
          Test open two.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serverConnection

protected TcpipServerConnection serverConnection
Define the server connection (TcpipServerConnection) field.


thread

protected java.lang.Thread thread
Define the thread (Thread) field.

Constructor Detail

TcpipConnectionTestcase

public TcpipConnectionTestcase()
Constructs an instance of this class.

See Also:
TcpipConnectionTestcase(String)

TcpipConnectionTestcase

public TcpipConnectionTestcase(java.lang.String name)
Constructs an instance of this class from the specified name parameter. The name (String) parameter.

Parameters:
name - The name (String) parameter.
See Also:
TcpipConnectionTestcase()
Method Detail

main

public static void main(java.lang.String[] args)
Main with the specified args parameter. The args (String[]) parameter.

Parameters:
args - The args (String[]) parameter.

closeServer

public void closeServer()
                 throws java.io.IOException
Close server.

Throws:
java.io.IOException
See Also:
createServer()

createServer

public void createServer()
                  throws java.io.IOException
Create server.

Throws:
java.io.IOException
See Also:
closeServer()

testOpen

public void testOpen()
Test open.


testOpenTwo

public void testOpenTwo()
Test open two.


1.0.0

Copyright (c) 1999, 2007 IBM