public class LocalArtifactRepositoryP2APITest extends Object
IRawArtifactFileProvider
and p2
IArtifactRepository
interfaces. (So most of the code under test is located in
LocalArtifactRepository
's base class ArtifactRepositoryBaseImpl
.)
The characteristics specific to the LocalArtifactRepository
implementation are tested in
LocalArtifactRepositoryTest
.Modifier and Type | Field and Description |
---|---|
TemporaryLocalMavenRepository |
temporaryLocalMavenRepo |
Constructor and Description |
---|
LocalArtifactRepositoryP2APITest() |
public TemporaryLocalMavenRepository temporaryLocalMavenRepo
public void checkStreamNotClosed()
public void checkStatusAndSinkConsistency()
public void testContainsKey()
public void testContainsDescriptor()
public void testGetDescriptors()
public void testGetDescriptorsOfNonContainedKey()
public void testQueryKeys()
public void testQueryDescriptors()
public void testRemoveLastDescriptorOfKey()
public void testRemoveOneOfDescriptorsOfKey()
public void testRemoveAllDescriptorsOfKey()
public void testRemoveForeignEquivalentDescriptor()
public void testRemoveNonContainedDescriptor()
public void testRemoveKey()
public void testRemoveKeys()
public void testRemoveNonContainedKey()
public void testRemoveAll()
public void testGetArtifactFile()
public void testGetArtifactFileOfNonContainedKey()
public void testGetArtifactFileOfKeyWithoutCanonicalFormat()
public void testGetRawArtifactFile()
public void testGetRawArtifactFileOfNonContainedFormat()
public void testGetNonContainedArtifact() throws Exception
Exception
public void testGetArtifactOnlyAvailableInPackedFormat() throws Exception
Exception
public void testGetArtifactToBrokenSink() throws Exception
Exception
public void testGetArtifactToClosedSink() throws Exception
Exception
public void testGetArtifactToNonCanonicalSink() throws Exception
Exception
public void testGetNonContainedArtifactToStream()
public void testGetArtifactToStreamOnlyAvailableInPackedFormat() throws Exception
Exception
public void testGetRawArtifactForCanonicalFormat() throws Exception
Exception
public void testGetRawArtifactOfNonContainedFormat() throws Exception
Exception
public void testGetCorruptedRawArtifact() throws Exception
Exception
public void testGetRawArtifactToClosedSink() throws Exception
Exception
public void testGetRawArtifactToStream() throws Exception
Exception
public void testGetRawArtifactForCanonicalFormatToStream() throws Exception
Exception
public void testGetRawArtifactOfNonContainedFormatToStream()
public void testWriteArtifactAndCancel() throws Exception
Exception
public void testWriteArtifactOnSecondAttempt() throws Exception
Exception
public void testWriteArtifactViaStream() throws Exception
Exception
public void testReWriteArtifactViaStreamFails() throws Exception
Exception
public void testWriteArtifactViaStreamAndCancel() throws Exception
Exception
Copyright © 2008-2015 Eclipse Foundation. All Rights Reserved.