|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.index.AbstractIndexCreatorHelper org.apache.maven.index.AbstractNexusIndexerTest org.apache.maven.index.ConcurrentUseTest org.apache.maven.index.ConcurrentUseWithMergedContextTest org.apache.maven.index.ConcurrentUseWithMergedContextPublishingTest
public class ConcurrentUseWithMergedContextPublishingTest
The point in this test is: we use Merged context, and we modify some of the "members" in the merged context, while we try to publish those simultaneously.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.maven.index.ConcurrentUseTest |
---|
ConcurrentUseTest.IndexUserThread |
Field Summary | |
---|---|
protected AtomicInteger |
counter
|
protected IndexPacker |
packer
|
protected File |
repoPublish
|
Fields inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest |
---|
context1, context2, indexDir1, indexDir2 |
Fields inherited from class org.apache.maven.index.ConcurrentUseTest |
---|
repo, THREAD_COUNT |
Fields inherited from class org.apache.maven.index.AbstractNexusIndexerTest |
---|
context, indexDir, nexusIndexer |
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper |
---|
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS |
Constructor Summary | |
---|---|
ConcurrentUseWithMergedContextPublishingTest()
|
Method Summary | |
---|---|
protected int |
readIndex(NexusIndexer nexusIndexer,
IndexingContext indexingContext)
|
protected void |
setUp()
|
protected void |
tearDown()
|
Methods inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest |
---|
createThread, prepareNexusIndexer |
Methods inherited from class org.apache.maven.index.ConcurrentUseTest |
---|
addToIndex, deleteFromIndex, testConcurrency |
Methods inherited from class org.apache.maven.index.AbstractNexusIndexerTest |
---|
assertGroup, unprepareNexusIndexer |
Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper |
---|
deleteDirectory, getDirectory, testDirectory |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected IndexPacker packer
protected File repoPublish
protected final AtomicInteger counter
Constructor Detail |
---|
public ConcurrentUseWithMergedContextPublishingTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractNexusIndexerTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractNexusIndexerTest
Exception
protected int readIndex(NexusIndexer nexusIndexer, IndexingContext indexingContext) throws IOException
readIndex
in class ConcurrentUseTest
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |