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, testQueryWithSingleRepositoryprotected IRawArtifactProvider createCompositeArtifactProvider(URI... repositoryURLs) throws Exception
createCompositeArtifactProvider in class CompositeArtifactProviderTestBase<IRawArtifactProvider>Exceptionpublic void testRepositoryLoadingFails()
throws Exception
Exceptionpublic void testGetArtifactErrorMessage()
throws Exception
Exceptionpublic void testGetRawArtifactErrorMessage()
throws Exception
Exceptionpublic void testGetArtifactWherePreferredFormatIsCorrupt()
throws Exception
Exceptionpublic void testGetArtifactWhereOnlyFormatIsCorrupt()
throws Exception
Exceptionpublic void testGetArtifactWithSomeMirrorFailures()
throws Exception
ExceptionCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.