Package org.apache.maven.index
Class ConcurrentUseWithMergedContextPublishingTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
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
- All Implemented Interfaces:
com.google.inject.Module
public class ConcurrentUseWithMergedContextPublishingTest
extends ConcurrentUseWithMergedContextTest
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.
- Author:
- cstamas
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.index.ConcurrentUseTest
ConcurrentUseTest.IndexUserThread -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicIntegerprotected org.apache.maven.index.packer.IndexPackerprotected FileFields inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest
context1, context2, indexDir1, indexDir2Fields inherited from class org.apache.maven.index.ConcurrentUseTest
repo, THREAD_COUNTFields inherited from class org.apache.maven.index.AbstractNexusIndexerTest
context, indexDir, nexusIndexerFields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest
createThread, prepareNexusIndexerMethods inherited from class org.apache.maven.index.ConcurrentUseTest
addToIndex, deleteFromIndex, testConcurrencyMethods inherited from class org.apache.maven.index.AbstractNexusIndexerTest
assertGroup, unprepareNexusIndexerMethods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectoryMethods inherited from class org.apache.maven.index.AbstractTestSupport
getTestFileMethods inherited from class org.eclipse.sisu.launch.InjectedTest
configure, configure, getBasedir, lookup, lookup, lookup, lookup, scanning, space, spaceModule
-
Field Details
-
packer
protected org.apache.maven.index.packer.IndexPacker packer -
repoPublish
-
counter
-
-
Constructor Details
-
ConcurrentUseWithMergedContextPublishingTest
public ConcurrentUseWithMergedContextPublishingTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractNexusIndexerTest- Throws:
Exception
-
tearDown
- Overrides:
tearDownin classAbstractNexusIndexerTest- Throws:
Exception
-
readIndex
protected int readIndex(org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext indexingContext) throws IOException - Overrides:
readIndexin classConcurrentUseTest- Throws:
IOException
-