org.apache.maven.scm.provider.svn.svnexe.command.changelog
Class SvnChangeLogConsumerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.scm.provider.svn.svnexe.command.changelog.SvnChangeLogConsumerTest
All Implemented Interfaces:
junit.framework.Test

public class SvnChangeLogConsumerTest
extends org.codehaus.plexus.PlexusTestCase

Version:
$Id: SvnChangeLogConsumerTest.java 1306862 2012-03-29 13:42:39Z olamy $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
SvnChangeLogConsumerTest()
           
 
Method Summary
protected  void setUp()
           
 void testConsumeLine_InvalidDate()
          Svn log output with an invalid date should throw an IllegalOutputException.
 void testConsumeLine_InvalidReason()
          Svn log output with an invalid reason should throw an IllegalOutputException.
 void testConsumeLine_ValidOutput()
          Valid svn log output should have expected values.
 void testConsumerWithPattern1()
           
 void testConsumerWithPattern2()
           
 void testGetModifications_Initial()
          Initial modifications should be empty.
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SvnChangeLogConsumerTest

public SvnChangeLogConsumerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testGetModifications_Initial

public void testGetModifications_Initial()
Initial modifications should be empty.


testConsumeLine_ValidOutput

public void testConsumeLine_ValidOutput()
                                 throws Exception
Valid svn log output should have expected values.

Throws:
Exception - if any problem occurs.

testConsumeLine_InvalidReason

public void testConsumeLine_InvalidReason()
                                   throws Exception
Svn log output with an invalid reason should throw an IllegalOutputException.

Throws:
Exception

testConsumeLine_InvalidDate

public void testConsumeLine_InvalidDate()
                                 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


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.