org.apache.maven.plugins.enforcer
Class TestRequireFilesSize
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugins.enforcer.TestRequireFilesSize
- All Implemented Interfaces:
- Test
public class TestRequireFilesSize
- extends TestCase
Test the "require files exist" rule.
- Author:
- Brian Fox
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 |
TestRequireFilesSize
public TestRequireFilesSize()
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
testFileDoesNotExist
public void testFileDoesNotExist()
throws EnforcerRuleException,
IOException
- Throws:
EnforcerRuleException
IOException
testFileTooSmall
public void testFileTooSmall()
throws EnforcerRuleException,
IOException
- Throws:
EnforcerRuleException
IOException
testFileTooBig
public void testFileTooBig()
throws EnforcerRuleException,
IOException
- Throws:
EnforcerRuleException
IOException
testId
public void testId()
- Test id.
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.