|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.jas.util.DistThreadPoolTest
public class DistThreadPoolTest
DistThreadPool tests with JUnit.
Constructor Summary | |
---|---|
DistThreadPoolTest(java.lang.String name)
Constructs a DistThreadPoolTest object. |
Method Summary | |
---|---|
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. |
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 |
---|
public DistThreadPoolTest(java.lang.String name)
DistThreadPoolTest
object.
name
- String.Method Detail |
---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testDistThreadPool1()
public void testDistThreadPool2()
public void testDistThreadPool3()
public void testDistThreadPool4()
public void testDistThreadPool5()
public void testDistThreadPool6()
public void testDistThreadPool7()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |