Package edu.jas.util
Class ExecutableChannelsTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- 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
Constructors Constructor Description ExecutableChannelsTest(java.lang.String name)Constructs aExecutableChannelsTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)main.protected voidsetUp()static junit.framework.Testsuite()suite.protected voidtearDown()voidtestExecutableChannels1()Tests if the ExecutableChannels could be initialized with null.voidtestExecutableChannels2()Tests if the ExecutableChannels could be initialized with small server array.voidtestExecutableChannels3()Tests if the ExecutableChannels could be initialized with big server array.voidtestExecutableChannels4()Tests if the ExecutableChannels could be initialized and opened.voidtestExecutableChannels5()Tests if 11 ExecutableChannels could be initialized and opened.voidtestExecutableChannels6()Tests if 10 ExecutableChannels to 1 server could be initialized and opened.voidtestExecutableChannels7()Tests if 5 ExecutableChannels to 10 servers could be initialized and opened.voidtestExecutableChannels8()Tests if the ExecutableChannels could be initialized with servers from file.voidtestExecutableChannels9()Tests if the ExecutableChannels could be initialized with servers from file.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
ExecutableChannelsTest
public ExecutableChannelsTest(java.lang.String name)
Constructs aExecutableChannelsTestobject.- 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:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.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.
-
-