public class ApacheNoticeResourceTransformerParameterTests
extends junit.framework.TestCase
ApacheLicenseResourceTransformer
parameters.Constructor and Description |
---|
ApacheNoticeResourceTransformerParameterTests() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty() |
void |
testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash() |
void |
testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash() |
void |
testNoParametersShouldNotThrowNullPointerWhenNoInput() |
void |
testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput() |
void |
testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput() |
void |
testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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
public ApacheNoticeResourceTransformerParameterTests()
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testNoParametersShouldNotThrowNullPointerWhenNoInput() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash() throws IOException
IOException
public void testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty() throws IOException
IOException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.