org.apache.maven.plugins.shade.resource
Class ApacheNoticeResourceTransformerParameterTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformerParameterTests
All Implemented Interfaces:
Test

public class ApacheNoticeResourceTransformerParameterTests
extends TestCase

Tests ApacheLicenseResourceTransformer parameters.


Constructor Summary
ApacheNoticeResourceTransformerParameterTests()
           
 
Method Summary
protected  void setUp()
           
 void testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty()
           
 void testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash()
           
 void testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash()
           
 void testNoParametersShouldNotThrowNullPointerWhenNoInput()
           
 void testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput()
           
 void testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput()
           
 void testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

ApacheNoticeResourceTransformerParameterTests

public ApacheNoticeResourceTransformerParameterTests()
Method Detail

setUp

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

testNoParametersShouldNotThrowNullPointerWhenNoInput

public void testNoParametersShouldNotThrowNullPointerWhenNoInput()
                                                          throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput

public void testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput()
                                                                 throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput

public void testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput()
                                                                 throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput

public void testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput()
                                                                  throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash

public void testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash()
                                                                           throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash

public void testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash()
                                                                   throws IOException
Throws:
IOException

testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty

public void testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty()
                                                              throws IOException
Throws:
IOException


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