org.apache.maven.plugin.changes
Class ChangesValidatorMojoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.codehaus.plexus.PlexusTestCase
              extended byorg.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended byorg.apache.maven.plugin.changes.ChangesValidatorMojoTest
All Implemented Interfaces:
junit.framework.Test

public class ChangesValidatorMojoTest
extends org.apache.maven.plugin.testing.AbstractMojoTestCase

Since:
29 juil. 2008
Version:
$Id$
Author:
olamy

Field Summary
protected  ChangesValidatorMojo mojo
           
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ChangesValidatorMojoTest()
           
 
Method Summary
 void setUp()
           
 void testValidationFailedWithMojoFailure()
           
 void testValidationFailedWithNoMojoFailure()
           
 void testValidationSuccess()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mojo

protected ChangesValidatorMojo mojo
Constructor Detail

ChangesValidatorMojoTest

public ChangesValidatorMojoTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testValidationSuccess

public void testValidationSuccess()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testValidationFailedWithMojoFailure

public void testValidationFailedWithMojoFailure()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testValidationFailedWithNoMojoFailure

public void testValidationFailedWithNoMojoFailure()
                                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.