|
|||||||||
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, mockTransferListener, mockTransferListenerControl, POM, resource, sourceFile, testRepository |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
FileWagonTest()
|
Method Summary | |
---|---|
protected long |
getExpectedLastModifiedOnGet(org.apache.maven.wagon.repository.Repository repository,
org.apache.maven.wagon.resource.Resource resource)
|
protected java.lang.String |
getProtocol()
|
protected java.lang.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.apache.maven.wagon.WagonTestCase |
---|
assertGetIfNewerTest, assertNotExists, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getExpectedContentLengthOnGet, getFile, getPermissions, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setUp, setupGetIfNewerTest, setupRepositories, setupWagonTestingFixtures, supportsGetIfNewer, tearDownWagonTestingFixtures, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileList, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileWagonTest()
Method Detail |
---|
protected java.lang.String getProtocol()
getProtocol
in class org.apache.maven.wagon.WagonTestCase
protected java.lang.String getTestRepositoryUrl() throws java.io.IOException
getTestRepositoryUrl
in class org.apache.maven.wagon.WagonTestCase
java.io.IOException
public void testNullFileWagon() throws org.apache.maven.wagon.ConnectionException, org.apache.maven.wagon.authentication.AuthenticationException
org.apache.maven.wagon.ConnectionException
org.apache.maven.wagon.authentication.AuthenticationException
protected long getExpectedLastModifiedOnGet(org.apache.maven.wagon.repository.Repository repository, org.apache.maven.wagon.resource.Resource resource)
getExpectedLastModifiedOnGet
in class org.apache.maven.wagon.WagonTestCase
public void testResourceExists() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |