public class ScmGitExeWagonTest extends AbstractScmGitWagonTest
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, TEST_CKSUM, TEST_CONTENT, testRepository, testSkipped
Constructor and Description |
---|
ScmGitExeWagonTest() |
Modifier and Type | Method and Description |
---|---|
protected ScmProvider |
getScmProvider()
Allows overriding the
ScmProvider injected by default in the ScmWagon . |
protected boolean |
supportsGetIfNewer() |
void |
testWagonGetFileList() |
void |
testWagonGetFileListWhenDirectoryDoesNotExist() |
void |
testWagonResourceExists() |
void |
testWagonResourceNotExists() |
getScmId, getTestRepositoryUrl, setUp
assertResourcesAreInRemoteSide, createDirectory, getExpectedContentLengthOnGet, getExpectedLastModifiedOnGet, getProtocol, getTestRepositoryPort, getWagon, testWagonPutDirectory
assertGetIfNewerTest, assertNotExists, assertOnTransferProgress, cksum, connectWagon, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getFile, getPermissions, isSystemCmd, message, putFile, putFile, replaceMockForGet, replayMockForPut, runTest, setupGetIfNewerTest, setupRepositories, setupWagonTestingFixtures, tearDownWagonTestingFixtures, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, verifyMock
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public ScmGitExeWagonTest()
protected ScmProvider getScmProvider()
AbstractScmWagonTest
ScmProvider
injected by default in the ScmWagon
.
Useful to force the implementation to use for a particular SCM type.
If this method returns null
ScmWagon
will use the default ScmProvider
.getScmProvider
in class AbstractScmWagonTest
ScmProvider
to use in the ScmWagon
public void testWagonGetFileList() throws Exception
testWagonGetFileList
in class WagonTestCase
Exception
public void testWagonGetFileListWhenDirectoryDoesNotExist() throws Exception
testWagonGetFileListWhenDirectoryDoesNotExist
in class WagonTestCase
Exception
public void testWagonResourceExists() throws Exception
testWagonResourceExists
in class WagonTestCase
Exception
public void testWagonResourceNotExists() throws Exception
testWagonResourceNotExists
in class WagonTestCase
Exception
protected boolean supportsGetIfNewer()
supportsGetIfNewer
in class AbstractScmGitWagonTest
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.