public class RepositoryArtifactProviderTest extends CompositeArtifactProviderTestBase<IRawArtifactProvider>
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
p2Context, rawTestSink, status, subject, testOutputStream, testSink
Constructor and Description |
---|
RepositoryArtifactProviderTest() |
Modifier and Type | Method and Description |
---|---|
protected IRawArtifactProvider |
createCompositeArtifactProvider(URI... repositoryURLs) |
void |
testGetArtifactErrorMessage() |
void |
testGetArtifactWhereOnlyFormatIsCorrupt() |
void |
testGetArtifactWherePreferredFormatIsCorrupt() |
void |
testGetArtifactWithInfiniteMirrorFailures() |
void |
testGetArtifactWithSomeMirrorFailures() |
void |
testGetRawArtifactErrorMessage() |
void |
testRepositoryLoadingFails() |
checkStatusAndSinkConsistency, checkStreamNotClosed, initContextAndSubject, testContainsArtifactDescriptor, testContainsKey, testGetArtifact, testGetArtifactDescriptors, testGetArtifactDescriptorsDoesNotReturnDuplicates, testGetArtifactFailsInAllAttempts, testGetArtifactOnlyAvailableInPackedRawFormat, testGetArtifactSucceedsInSecondAttempt, testGetArtifactToClosedSink, testGetArtifactToNonCanonicalSink, testGetArtifactWithNonRestartableSink, testGetCanonicalRawArtifact, testGetNonExistingArtifact, testGetNonExistingRawArtifact, testGetPackedRawArtifact, testGetRawArtifact, testGetRawArtifactSucceedsInSecondAttempt, testGetRawArtifactToClosedSink, testGetRawArtifactWithNonRestartableSink, testQuery, testQueryWithoutRepositories, testQueryWithSingleRepository
protected IRawArtifactProvider createCompositeArtifactProvider(URI... repositoryURLs) throws Exception
createCompositeArtifactProvider
in class CompositeArtifactProviderTestBase<IRawArtifactProvider>
Exception
public void testRepositoryLoadingFails() throws Exception
Exception
public void testGetArtifactErrorMessage() throws Exception
Exception
public void testGetRawArtifactErrorMessage() throws Exception
Exception
public void testGetArtifactWherePreferredFormatIsCorrupt() throws Exception
Exception
public void testGetArtifactWhereOnlyFormatIsCorrupt() throws Exception
Exception
public void testGetArtifactWithSomeMirrorFailures() throws Exception
Exception
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.