public abstract class CompositeArtifactProviderTestBase<T extends IRawArtifactProvider> extends Object
Modifier and Type | Field and Description |
---|---|
P2Context |
p2Context |
protected ProbeRawArtifactSink |
rawTestSink |
protected org.eclipse.core.runtime.IStatus |
status |
protected T |
subject |
protected ProbeOutputStream |
testOutputStream |
protected ProbeArtifactSink |
testSink |
Constructor and Description |
---|
CompositeArtifactProviderTestBase() |
public P2Context p2Context
protected ProbeArtifactSink testSink
protected ProbeRawArtifactSink rawTestSink
protected ProbeOutputStream testOutputStream
protected T extends IRawArtifactProvider subject
protected org.eclipse.core.runtime.IStatus status
protected abstract T createCompositeArtifactProvider(URI... repositoryURLs) throws Exception
Exception
public void checkStreamNotClosed()
public void checkStatusAndSinkConsistency()
public void testContainsKey()
public void testQuery()
public void testQueryWithSingleRepository() throws Exception
Exception
public void testQueryWithoutRepositories() throws Exception
Exception
public void testGetArtifactOnlyAvailableInPackedRawFormat() throws Exception
Exception
public void testGetNonExistingArtifact() throws Exception
Exception
public void testGetArtifactSucceedsInSecondAttempt() throws Exception
Exception
public void testGetArtifactFailsInAllAttempts() throws Exception
Exception
public void testGetArtifactWithNonRestartableSink() throws Exception
Exception
public void testGetArtifactToClosedSink() throws Exception
Exception
public void testGetArtifactToNonCanonicalSink() throws Exception
Exception
public void testGetNonExistingRawArtifact() throws Exception
Exception
public void testGetRawArtifactSucceedsInSecondAttempt() throws Exception
Exception
public void testGetRawArtifactWithNonRestartableSink() throws Exception
Exception
public void testGetArtifactDescriptors()
public void testGetRawArtifactToClosedSink() throws Exception
Exception
public void testGetArtifactDescriptorsDoesNotReturnDuplicates()
public void testContainsArtifactDescriptor()
public void testGetCanonicalRawArtifact() throws Exception
Exception
Copyright © 2008–2015 Eclipse Foundation. All rights reserved.