org.apache.maven.plugin.assembly.format
Class FileFormatterTest

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.assembly.format.FileFormatterTest
All Implemented Interfaces:
junit.framework.Test

public class FileFormatterTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
FileFormatterTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testShouldConvertCRLFLineEndingsInFile()
           
 void testShouldConvertLFLineEndingsInFile()
           
 void testShouldFilterExpressionFromFiltersFileInFile()
           
 void testShouldFilterExpressionFromFiltersFileInNonPropertiesFileWithoutWindowsEscapes()
           
 void testShouldFilterExpressionFromFiltersFileInPropertiesFileWithoutWindowsEscapes()
           
 void testShouldFilterExpressionInPropertiesFileWithoutWindowsEscapes()
           
 void testShouldFilterExpressionInPropertiesFileWithWindowsEscapes()
           
 void testShouldFilterExpressionsFromTwoFiltersFilesInFile()
           
 void testShouldFilterProjectExpressionInFile()
           
 void testShouldNotIgnoreFirstWordInDotNotationExpressions()
           
 void testShouldNotTransformOneFile()
           
 void testShouldOverrideOneFilterValueWithAnotherAndFilterFile()
           
 void testShouldOverrideProjectValueWithFilterValueAndFilterFile()
           
 void testTemporaryRootDirectoryNotExist()
           
 
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
 
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

FileFormatterTest

public FileFormatterTest()
Method Detail

setUp

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

tearDown

public void tearDown()
              throws IOException
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
IOException

testTemporaryRootDirectoryNotExist

public void testTemporaryRootDirectoryNotExist()
                                        throws IOException,
                                               AssemblyFormattingException
Throws:
IOException
AssemblyFormattingException

testShouldNotTransformOneFile

public void testShouldNotTransformOneFile()
                                   throws IOException,
                                          AssemblyFormattingException
Throws:
IOException
AssemblyFormattingException

testShouldConvertCRLFLineEndingsInFile

public void testShouldConvertCRLFLineEndingsInFile()
                                            throws IOException,
                                                   AssemblyFormattingException
Throws:
IOException
AssemblyFormattingException

testShouldConvertLFLineEndingsInFile

public void testShouldConvertLFLineEndingsInFile()
                                          throws IOException,
                                                 AssemblyFormattingException
Throws:
IOException
AssemblyFormattingException

testShouldFilterProjectExpressionInFile

public void testShouldFilterProjectExpressionInFile()
                                             throws Exception
Throws:
Exception

testShouldFilterExpressionInPropertiesFileWithWindowsEscapes

public void testShouldFilterExpressionInPropertiesFileWithWindowsEscapes()
                                                                  throws Exception
Throws:
Exception

testShouldFilterExpressionInPropertiesFileWithoutWindowsEscapes

public void testShouldFilterExpressionInPropertiesFileWithoutWindowsEscapes()
                                                                     throws Exception
Throws:
Exception

testShouldFilterExpressionFromFiltersFileInFile

public void testShouldFilterExpressionFromFiltersFileInFile()
                                                     throws Exception
Throws:
Exception

testShouldFilterExpressionFromFiltersFileInPropertiesFileWithoutWindowsEscapes

public void testShouldFilterExpressionFromFiltersFileInPropertiesFileWithoutWindowsEscapes()
                                                                                    throws Exception
Throws:
Exception

testShouldFilterExpressionFromFiltersFileInNonPropertiesFileWithoutWindowsEscapes

public void testShouldFilterExpressionFromFiltersFileInNonPropertiesFileWithoutWindowsEscapes()
                                                                                       throws Exception
Throws:
Exception

testShouldNotIgnoreFirstWordInDotNotationExpressions

public void testShouldNotIgnoreFirstWordInDotNotationExpressions()
                                                          throws Exception
Throws:
Exception

testShouldFilterExpressionsFromTwoFiltersFilesInFile

public void testShouldFilterExpressionsFromTwoFiltersFilesInFile()
                                                          throws Exception
Throws:
Exception

testShouldOverrideOneFilterValueWithAnotherAndFilterFile

public void testShouldOverrideOneFilterValueWithAnotherAndFilterFile()
                                                              throws Exception
Throws:
Exception

testShouldOverrideProjectValueWithFilterValueAndFilterFile

public void testShouldOverrideProjectValueWithFilterValueAndFilterFile()
                                                                throws Exception
Throws:
Exception


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