org.apache.maven.shared.model.fileset.util
Class FileSetUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.model.fileset.util.FileSetUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class FileSetUtilsTest
extends junit.framework.TestCase

Test the FileSet

Version:
$Id: FileSetUtilsTest.html 886882 2013-11-16 21:55:43Z hboutemy $

Constructor Summary
FileSetUtilsTest()
           
 
Method Summary
 void tearDown()
          
 void testDelete()
           
 void testDeleteDanglingSymlink()
           
 void testDeleteDontFollowSymlinks()
           
 void testDeleteDontFollowSymlinksButDeleteThem()
           
 void testDeleteExcludeDontFollowSymlinks()
           
 void testDeleteExcludeFollowSymlinks()
           
 void testDeleteExcludeParentOfExcludedDir()
           
 void testDeleteExcludeParentOfExcludedFile()
           
 void testGetIncludedFiles()
           
 void testIncludesDontFollowSymlinks()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSetUtilsTest

public FileSetUtilsTest()
Method Detail

tearDown

public void tearDown()
              throws java.io.IOException

Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.io.IOException

testGetIncludedFiles

public void testGetIncludedFiles()
                          throws java.io.IOException
Throws:
java.io.IOException - if any

testIncludesDontFollowSymlinks

public void testIncludesDontFollowSymlinks()
                                    throws java.io.IOException,
                                           java.lang.InterruptedException,
                                           org.codehaus.plexus.util.cli.CommandLineException
Throws:
java.io.IOException - if any
java.lang.InterruptedException - if any
org.codehaus.plexus.util.cli.CommandLineException - if any

testDeleteDontFollowSymlinks

public void testDeleteDontFollowSymlinks()
                                  throws java.io.IOException,
                                         java.lang.InterruptedException,
                                         org.codehaus.plexus.util.cli.CommandLineException
Throws:
java.io.IOException - if any
java.lang.InterruptedException - if any
org.codehaus.plexus.util.cli.CommandLineException - if any

testDelete

public void testDelete()
                throws java.io.IOException
Throws:
java.io.IOException - if any

testDeleteDanglingSymlink

public void testDeleteDanglingSymlink()
                               throws java.lang.Exception
Throws:
java.lang.Exception - if any

testDeleteExcludeParentOfExcludedFile

public void testDeleteExcludeParentOfExcludedFile()
                                           throws java.lang.Exception
Throws:
java.lang.Exception - if any

testDeleteExcludeParentOfExcludedDir

public void testDeleteExcludeParentOfExcludedDir()
                                          throws java.lang.Exception
Throws:
java.lang.Exception - if any

testDeleteExcludeFollowSymlinks

public void testDeleteExcludeFollowSymlinks()
                                     throws java.lang.Exception
Throws:
java.lang.Exception - if any

testDeleteExcludeDontFollowSymlinks

public void testDeleteExcludeDontFollowSymlinks()
                                         throws java.lang.Exception
Throws:
java.lang.Exception - if any

testDeleteDontFollowSymlinksButDeleteThem

public void testDeleteDontFollowSymlinksButDeleteThem()
                                               throws java.lang.Exception
Throws:
java.lang.Exception - if any


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