2008-07-29 1.1.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.1.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)
           
 
Method Summary
 void closeServer()
          Close server.
 void createServer()
          Create server.
static void main(java.lang.String[] args)
           
 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
 
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)
Parameters:
name - The name (String) parameter.
See Also:
TcpipConnectionTestcase()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - The args (String[]) parameter.

closeServer

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

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

createServer

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

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

testOpen

public void testOpen()
Test open.


testOpenTwo

public void testOpenTwo()
Test open two.


2008-07-29 1.1.0

Copyright (c) 1999, 2008 IBM and others. See license in Legal section. OSGi Framework Version 3.4.0.v20080605-1900