public class TransferEventTester extends Object
Constructor and Description |
---|
TransferEventTester() |
Modifier and Type | Method and Description |
---|---|
static void |
testFailedTransferEvents(RepositoryConnectorFactory factory,
TestRepositorySystemSession session,
RemoteRepository repository)
Test the order of events and their properties for the unsuccessful up- and download of artifact and metadata.
|
static void |
testSuccessfulTransferEvents(RepositoryConnectorFactory factory,
TestRepositorySystemSession session,
RemoteRepository repository)
Test the order of events and their properties for the successful up- and download of artifact and metadata.
|
public static void testSuccessfulTransferEvents(RepositoryConnectorFactory factory, TestRepositorySystemSession session, RemoteRepository repository) throws NoRepositoryConnectorException, IOException
public static void testFailedTransferEvents(RepositoryConnectorFactory factory, TestRepositorySystemSession session, RemoteRepository repository) throws NoRepositoryConnectorException, IOException
null
for uploads, and asking for a non-existent
item for downloads.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.