public class ScmCvsExeWagonTest extends AbstractScmCvsWagonTest
Modifier and Type | Field and Description |
---|---|
static String |
CVS_COMMAND_LINE
'cvs' command line
|
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, TEST_CKSUM, TEST_CONTENT, testRepository, testSkipped
Constructor and Description |
---|
ScmCvsExeWagonTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assumeHaveCvsBinary()
Optionally set the testSkipped flag
|
protected ScmProvider |
getScmProvider()
Allows overriding the
ScmProvider injected by default in the ScmWagon . |
protected void |
setUp() |
protected boolean |
supportsGetIfNewer() |
void |
testWagonGetFileList() |
void |
testWagonResourceExists() |
void |
testWagonResourceNotExists() |
getScmId, getTestRepositoryUrl
assertResourcesAreInRemoteSide, createDirectory, getExpectedContentLengthOnGet, getExpectedLastModifiedOnGet, getProtocol, 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, testWagonGetFileListWhenDirectoryDoesNotExist, 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 static final String CVS_COMMAND_LINE
public ScmCvsExeWagonTest()
protected void setUp() throws Exception
setUp
in class AbstractScmCvsWagonTest
Exception
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 testWagonResourceExists() throws Exception
testWagonResourceExists
in class WagonTestCase
Exception
public void testWagonResourceNotExists() throws Exception
testWagonResourceNotExists
in class WagonTestCase
Exception
protected boolean supportsGetIfNewer()
supportsGetIfNewer
in class WagonTestCase
protected void assumeHaveCvsBinary()
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.