|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.wagon.WagonTestCase org.apache.maven.wagon.StreamingWagonTestCase org.apache.maven.wagon.providers.file.FileWagonTest
public class FileWagonTest
Field Summary |
---|
Fields inherited from class org.apache.maven.wagon.WagonTestCase |
---|
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, mockTransferListenerControl, POM, resource, sourceFile, testRepository |
Constructor Summary | |
---|---|
FileWagonTest()
|
Method Summary | |
---|---|
protected long |
getExpectedLastModifiedOnGet(Repository repository,
Resource resource)
|
protected String |
getProtocol()
|
protected int |
getTestRepositoryPort()
|
protected String |
getTestRepositoryUrl()
|
void |
testNullFileWagon()
This test is introduced to allow for null file wagons. |
void |
testResourceExists()
|
Methods inherited from class org.apache.maven.wagon.StreamingWagonTestCase |
---|
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileWagonTest()
Method Detail |
---|
protected String getProtocol()
getProtocol
in class WagonTestCase
protected String getTestRepositoryUrl() throws IOException
getTestRepositoryUrl
in class WagonTestCase
IOException
protected int getTestRepositoryPort()
getTestRepositoryPort
in class WagonTestCase
public void testNullFileWagon() throws ConnectionException, AuthenticationException
ConnectionException
AuthenticationException
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class WagonTestCase
public void testResourceExists() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |