org.apache.rat.mp
Class RatCheckMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.rat.mp.RatCheckMojoTest
All Implemented Interfaces:
junit.framework.Test

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

Test case for the RatCheckMojo.


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
RatCheckMojoTest()
           
 
Method Summary
 void testIt1()
          Runs a check, which should expose no problems.
 void testIt2()
          Runs a check, which should detect a problem.
 void testIt3()
          Tests adding license headers.
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RatCheckMojoTest

public RatCheckMojoTest()
Method Detail

testIt1

public void testIt1()
             throws java.lang.Exception
Runs a check, which should expose no problems.

Throws:
java.lang.Exception - The test failed.

testIt2

public void testIt2()
             throws java.lang.Exception
Runs a check, which should detect a problem.

Throws:
java.lang.Exception - The test failed.

testIt3

public void testIt3()
             throws java.lang.Exception
Tests adding license headers.

Throws:
java.lang.Exception


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.