org.apache.maven.shared.filtering
Class DefaultMavenResourcesFilteringTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.filtering.DefaultMavenResourcesFilteringTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultMavenResourcesFilteringTest
extends PlexusTestCase

Since:
1.0-beta-1
Version:
$Id: DefaultMavenResourcesFilteringTest.java 1058704 2011-01-13 18:29:54Z dennisl $
Author:
olamy

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultMavenResourcesFilteringTest()
           
 
Method Summary
static boolean filesAreIdentical(File expected, File current)
           
protected  void setUp()
           
 void testAddingTokens()
           
 void testEmptyDirectories()
           
 void testExcludeOneFile()
           
 void testIncludeOneFile()
           
 void testIncludeOneFileAndDirectory()
           
 void testMSHARED81()
          unit test for MSHARED-81 : http://jira.codehaus.org/browse/MSHARED-81
 void testNoFiltering()
           
 void testSessionFiltering()
           
 void testSimpleFiltering()
           
 void testTargetAbsolutePath()
           
 void testTargetPath()
           
 void testWithMavenResourcesExecution()
           
 void testWithMavenResourcesExecutionWithAdditionnalProperties()
           
 
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
 

Constructor Detail

DefaultMavenResourcesFilteringTest

public DefaultMavenResourcesFilteringTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class PlexusTestCase
Throws:
Exception

testSimpleFiltering

public void testSimpleFiltering()
                         throws Exception
Throws:
Exception

testSessionFiltering

public void testSessionFiltering()
                          throws Exception
Throws:
Exception

testWithMavenResourcesExecution

public void testWithMavenResourcesExecution()
                                     throws Exception
Throws:
Exception

testWithMavenResourcesExecutionWithAdditionnalProperties

public void testWithMavenResourcesExecutionWithAdditionnalProperties()
                                                              throws Exception
Throws:
Exception

testAddingTokens

public void testAddingTokens()
                      throws Exception
Throws:
Exception

testNoFiltering

public void testNoFiltering()
                     throws Exception
Throws:
Exception

filesAreIdentical

public static boolean filesAreIdentical(File expected,
                                        File current)
                                 throws IOException
Throws:
IOException

testIncludeOneFile

public void testIncludeOneFile()
                        throws Exception
Throws:
Exception

testIncludeOneFileAndDirectory

public void testIncludeOneFileAndDirectory()
                                    throws Exception
Throws:
Exception

testExcludeOneFile

public void testExcludeOneFile()
                        throws Exception
Throws:
Exception

testTargetAbsolutePath

public void testTargetAbsolutePath()
                            throws Exception
Throws:
Exception

testTargetPath

public void testTargetPath()
                    throws Exception
Throws:
Exception

testEmptyDirectories

public void testEmptyDirectories()
                          throws Exception
Throws:
Exception

testMSHARED81

public void testMSHARED81()
                   throws Exception
unit test for MSHARED-81 : http://jira.codehaus.org/browse/MSHARED-81

Throws:
Exception


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