| |
|
| org.apache.cactus.internal.util.TestUniqueGenerator
TestUniqueGenerator | public class TestUniqueGenerator extends TestCase (Code) | | Smoke test for the unique id generator.
version: $Id: TestUniqueGenerator.java 238991 2004-05-22 11:34:50Z vmassol $ |
setUp | protected void setUp()(Code) | | See Also: TestCase.setUp |
testThatGeneratedIdsForDifferentTestCasesAreUnique | public void testThatGeneratedIdsForDifferentTestCasesAreUnique()(Code) | | Sanity check to verify that different IDs are generated for different
instances of the test class.
|
testThatGeneratedIdsForDifferentTestMethodsAreUnique | public void testThatGeneratedIdsForDifferentTestMethodsAreUnique()(Code) | | Sanity check to verify that different IDs are generated for different
test methods/names.
|
testThatSimultaneouslyGeneratedIdsAreUnique | public void testThatSimultaneouslyGeneratedIdsAreUnique()(Code) | | Simulates several simultaneous id generations using threads.
Verifies that there are no duplicates among the generated ids.
|
|
|
|