org.sonatype.aether.test.util.connector.suite
Class ConnectorTestSuite
java.lang.Object
org.sonatype.aether.test.util.connector.suite.ConnectorTestSuiteSetup
org.sonatype.aether.test.util.connector.suite.ConnectorTestSuite
public abstract class ConnectorTestSuite
- extends ConnectorTestSuiteSetup
The ConnectorTestSuite bundles standard tests for 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
.
- Author:
- Benjamin Hanzelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorTestSuite
public ConnectorTestSuite(ConnectorTestSetup setup)
testSuccessfulEvents
public void testSuccessfulEvents()
throws NoRepositoryConnectorException,
IOException
- Test successful event order.
- Throws:
NoRepositoryConnectorException
IOException
- See Also:
TransferEventTester.testSuccessfulTransferEvents(RepositoryConnectorFactory, TestRepositorySystemSession,
RemoteRepository)
testFailedEvents
public void testFailedEvents()
throws NoRepositoryConnectorException,
IOException
- Throws:
NoRepositoryConnectorException
IOException
testFileHandleLeakage
public void testFileHandleLeakage()
throws IOException,
NoRepositoryConnectorException
- Throws:
IOException
NoRepositoryConnectorException
testBlocking
public void testBlocking()
throws NoRepositoryConnectorException,
IOException
- Throws:
NoRepositoryConnectorException
IOException
testMkdirConcurrencyBug
public void testMkdirConcurrencyBug()
throws IOException,
NoRepositoryConnectorException
- Throws:
IOException
NoRepositoryConnectorException
testTransferZeroBytesFile
public void testTransferZeroBytesFile()
throws IOException,
NoRepositoryConnectorException
- See https://issues.sonatype.org/browse/AETHER-8
- Throws:
IOException
NoRepositoryConnectorException
testProgressEventsDataBuffer
public void testProgressEventsDataBuffer()
throws UnsupportedEncodingException,
IOException,
NoSuchAlgorithmException,
NoRepositoryConnectorException
- Throws:
UnsupportedEncodingException
IOException
NoSuchAlgorithmException
NoRepositoryConnectorException
Copyright © 2010-2013. All Rights Reserved.