org.apache.maven.plugins.enforcer
Class TestRequireFilesDontExist

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugins.enforcer.TestRequireFilesDontExist
All Implemented Interfaces:
Test

public class TestRequireFilesDontExist
extends TestCase

Test the "require files don't exist" rule.

Author:
Brian Fox

Constructor Summary
TestRequireFilesDontExist()
           
 
Method Summary
 void testEmptyFile()
           
 void testEmptyFileAllowNull()
           
 void testEmptyFileList()
           
 void testEmptyFileListAllowNull()
           
 void testFileDoesNotExist()
           
 void testFileExists()
           
 void testId()
          Test id.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

TestRequireFilesDontExist

public TestRequireFilesDontExist()
Method Detail

testFileExists

public void testFileExists()
                    throws EnforcerRuleException,
                           IOException
Throws:
EnforcerRuleException
IOException

testEmptyFile

public void testEmptyFile()
                   throws EnforcerRuleException,
                          IOException
Throws:
EnforcerRuleException
IOException

testEmptyFileAllowNull

public void testEmptyFileAllowNull()
                            throws EnforcerRuleException,
                                   IOException
Throws:
EnforcerRuleException
IOException

testEmptyFileList

public void testEmptyFileList()
                       throws EnforcerRuleException,
                              IOException
Throws:
EnforcerRuleException
IOException

testEmptyFileListAllowNull

public void testEmptyFileListAllowNull()
                                throws EnforcerRuleException,
                                       IOException
Throws:
EnforcerRuleException
IOException

testFileDoesNotExist

public void testFileDoesNotExist()
                          throws EnforcerRuleException,
                                 IOException
Throws:
EnforcerRuleException
IOException

testId

public void testId()
Test id.



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.