public class DistThreadPoolTest extends junit.framework.TestCase
| Constructor and Description |
|---|
DistThreadPoolTest(java.lang.String name)
Constructs a
DistThreadPoolTest object. |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
main.
|
protected void |
setUp() |
static junit.framework.Test |
suite() |
protected void |
tearDown() |
void |
testDistThreadPool1()
Tests if the created DistThreadPool is empty.
|
void |
testDistThreadPool2()
Tests if the created DistThreadPool is non empty.
|
void |
testDistThreadPool3()
Tests if the created DistThreadPool has no jobs.
|
void |
testDistThreadPool4()
Tests if the created DistThreadPool has jobs.
|
void |
testDistThreadPool5()
Tests if the created DistThreadPool has many jobs.
|
void |
testDistThreadPool6()
Tests if the created DistThreadPool has correct strategy.
|
void |
testDistThreadPool7()
Tests if the created DistThreadPool has jobs and correct strategy.
|
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, toStringpublic DistThreadPoolTest(java.lang.String name)
DistThreadPoolTest object.name - String.public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp()
setUp in class junit.framework.TestCaseprotected void tearDown()
tearDown in class junit.framework.TestCasepublic void testDistThreadPool1()
public void testDistThreadPool2()
public void testDistThreadPool3()
public void testDistThreadPool4()
public void testDistThreadPool5()
public void testDistThreadPool6()
public void testDistThreadPool7()