Class SvnChangeLogConsumerTest
- java.lang.Object
-
- org.apache.maven.scm.PlexusJUnit4TestCase
-
- org.apache.maven.scm.ScmTestCase
-
- org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogConsumerTest
-
public class SvnChangeLogConsumerTest extends ScmTestCase
- Author:
- Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
-
Fields inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
testName
-
-
Constructor Summary
Constructors Constructor Description SvnChangeLogConsumerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestConsumeLineInvalidDate()Svn log output with an invalid date should throw an IllegalOutputException.voidtestConsumeLineInvalidReason()Svn log output with an invalid reason should throw an IllegalOutputException.voidtestConsumeLineValidOutput()Valid svn log output should have expected values.voidtestConsumerWithPattern1()voidtestConsumerWithPattern2()voidtestGetModificationsInitial()Initial modifications should be empty.-
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, checkSystemCmdPresence, customizeContainerConfiguration, deleteDirectory, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
-
Methods inherited from class org.apache.maven.scm.PlexusJUnit4TestCase
customizeComponentConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getCustomModules, getName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, lookupMap, release, setupContainer, tearDown
-
-
-
-
Constructor Detail
-
SvnChangeLogConsumerTest
public SvnChangeLogConsumerTest()
-
-
Method Detail
-
setUp
public void setUp() throws Exception
- Overrides:
setUpin classScmTestCase- Throws:
Exception
-
testGetModificationsInitial
public void testGetModificationsInitial()
Initial modifications should be empty.
-
testConsumeLineValidOutput
public void testConsumeLineValidOutput() throws Exception
Valid svn log output should have expected values.- Throws:
Exception- if any problem occurs.
-
testConsumeLineInvalidReason
public void testConsumeLineInvalidReason() throws Exception
Svn log output with an invalid reason should throw an IllegalOutputException.- Throws:
Exception
-
testConsumeLineInvalidDate
public void testConsumeLineInvalidDate() throws Exception
Svn log output with an invalid date should throw an IllegalOutputException.- Throws:
Exception
-
testConsumerWithPattern1
public void testConsumerWithPattern1() throws Exception
- Throws:
Exception
-
testConsumerWithPattern2
public void testConsumerWithPattern2() throws Exception
- Throws:
Exception
-
-