public abstract class ConnectorTestSuite extends ConnectorTestSuiteSetup
RepositoryConnector
s.
To use these tests, provide a (Junit4-)class extending this class, and provide a default constructor calling
ConnectorTestSuite(ConnectorTestSetup)
with a self-implemented ConnectorTestSetup
.
repository, session
Constructor and Description |
---|
ConnectorTestSuite(ConnectorTestSetup setup) |
Modifier and Type | Method and Description |
---|---|
void |
testBlocking() |
void |
testFailedEvents() |
void |
testFileHandleLeakage() |
void |
testMkdirConcurrencyBug() |
void |
testProgressEventsDataBuffer() |
void |
testSuccessfulEvents()
Test successful event order.
|
void |
testTransferZeroBytesFile()
See https://issues.sonatype.org/browse/AETHER-8
|
after, before, factory
public ConnectorTestSuite(ConnectorTestSetup setup)
public void testSuccessfulEvents() throws NoRepositoryConnectorException, IOException
public void testFailedEvents() throws NoRepositoryConnectorException, IOException
public void testFileHandleLeakage() throws IOException, NoRepositoryConnectorException
public void testBlocking() throws NoRepositoryConnectorException, IOException
public void testMkdirConcurrencyBug() throws IOException, NoRepositoryConnectorException
public void testTransferZeroBytesFile() throws IOException, NoRepositoryConnectorException
public void testProgressEventsDataBuffer() throws UnsupportedEncodingException, IOException, NoSuchAlgorithmException, NoRepositoryConnectorException
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.