|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.util.DynamicallySizedThreadPoolExecutorTest
public class DynamicallySizedThreadPoolExecutorTest
Tests for our instance of ThreadPoolExecutor
| Nested Class Summary | |
|---|---|
static class |
DynamicallySizedThreadPoolExecutorTest.SleepUntilAllWake
|
| Constructor Summary | |
|---|---|
DynamicallySizedThreadPoolExecutorTest()
|
|
| Method Summary | |
|---|---|
void |
offTestToExpandThenContract()
|
protected void |
setUp()
|
void |
testPastCoreButNotHugeQueue()
|
void |
testToExpandQueue()
|
void |
testUpToCore()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicallySizedThreadPoolExecutorTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void testUpToCore()
throws java.lang.Exception
java.lang.Exception
public void testPastCoreButNotHugeQueue()
throws java.lang.Exception
java.lang.Exception
public void testToExpandQueue()
throws java.lang.Exception
java.lang.Exception
public void offTestToExpandThenContract()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||