edu.jas.util
Class ExecutableChannelsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.jas.util.ExecutableChannelsTest
All Implemented Interfaces:
junit.framework.Test

public class ExecutableChannelsTest
extends junit.framework.TestCase

ExecutableChannels tests with JUnit.

Author:
Heinz Kredel

Constructor Summary
ExecutableChannelsTest(java.lang.String name)
          Constructs a ExecutableChannelsTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main.
protected  void setUp()
           
static junit.framework.Test suite()
          suite.
protected  void tearDown()
           
 void testExecutableChannels1()
          Tests if the ExecutableChannels could be initialized with null.
 void testExecutableChannels2()
          Tests if the ExecutableChannels could be initialized with small server array.
 void testExecutableChannels3()
          Tests if the ExecutableChannels could be initialized with big server array.
 void testExecutableChannels4()
          Tests if the ExecutableChannels could be initialized and opened.
 void testExecutableChannels5()
          Tests if 11 ExecutableChannels could be initialized and opened.
 void testExecutableChannels6()
          Tests if 10 ExecutableChannels to 1 server could be initialized and opened.
 void testExecutableChannels7()
          Tests if 5 ExecutableChannels to 10 servers could be initialized and opened.
 void testExecutableChannels8()
          Tests if the ExecutableChannels could be initialized with servers from file.
 void testExecutableChannels9()
          Tests if the ExecutableChannels could be initialized with servers from file.
 
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
 

Constructor Detail

ExecutableChannelsTest

public ExecutableChannelsTest(java.lang.String name)
Constructs a ExecutableChannelsTest object.

Parameters:
name - String.
Method Detail

main

public static void main(java.lang.String[] args)
main.


suite

public static junit.framework.Test suite()
suite.


setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testExecutableChannels1

public void testExecutableChannels1()
Tests if the ExecutableChannels could be initialized with null.


testExecutableChannels2

public void testExecutableChannels2()
Tests if the ExecutableChannels could be initialized with small server array.


testExecutableChannels3

public void testExecutableChannels3()
Tests if the ExecutableChannels could be initialized with big server array.


testExecutableChannels4

public void testExecutableChannels4()
Tests if the ExecutableChannels could be initialized and opened.


testExecutableChannels5

public void testExecutableChannels5()
Tests if 11 ExecutableChannels could be initialized and opened.


testExecutableChannels6

public void testExecutableChannels6()
Tests if 10 ExecutableChannels to 1 server could be initialized and opened.


testExecutableChannels7

public void testExecutableChannels7()
Tests if 5 ExecutableChannels to 10 servers could be initialized and opened.


testExecutableChannels8

public void testExecutableChannels8()
Tests if the ExecutableChannels could be initialized with servers from file.


testExecutableChannels9

public void testExecutableChannels9()
Tests if the ExecutableChannels could be initialized with servers from file.