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,
java.io.IOException
- Test successful event order.
- Throws:
NoRepositoryConnectorException
java.io.IOException
- See Also:
TransferEventTester.testSuccessfulTransferEvents(RepositoryConnectorFactory, TestRepositorySystemSession,
RemoteRepository)
testFailedEvents
public void testFailedEvents()
throws NoRepositoryConnectorException,
java.io.IOException
- Throws:
NoRepositoryConnectorException
java.io.IOException
testFileHandleLeakage
public void testFileHandleLeakage()
throws java.io.IOException,
NoRepositoryConnectorException
- Throws:
java.io.IOException
NoRepositoryConnectorException
testBlocking
public void testBlocking()
throws NoRepositoryConnectorException,
java.io.IOException
- Throws:
NoRepositoryConnectorException
java.io.IOException
testMkdirConcurrencyBug
public void testMkdirConcurrencyBug()
throws java.io.IOException,
NoRepositoryConnectorException
- Throws:
java.io.IOException
NoRepositoryConnectorException
testTransferZeroBytesFile
public void testTransferZeroBytesFile()
throws java.io.IOException,
NoRepositoryConnectorException
- See https://issues.sonatype.org/browse/AETHER-8
- Throws:
java.io.IOException
NoRepositoryConnectorException
testProgressEventsDataBuffer
public void testProgressEventsDataBuffer()
throws java.io.UnsupportedEncodingException,
java.io.IOException,
java.security.NoSuchAlgorithmException,
NoRepositoryConnectorException
- Throws:
java.io.UnsupportedEncodingException
java.io.IOException
java.security.NoSuchAlgorithmException
NoRepositoryConnectorException
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.