Package org.codehaus.plexus.compiler
Class AbstractCompilerTckTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.codehaus.plexus.PlexusTestCase
-
- org.codehaus.plexus.compiler.AbstractCompilerTckTest
-
- All Implemented Interfaces:
junit.framework.Test
public abstract class AbstractCompilerTckTest extends org.codehaus.plexus.PlexusTestCase- Author:
- Trygve Laugstøl
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCompilerTckTest(java.lang.String roleHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<CompilerMessage>compile(CompilerConfiguration configuration)voidtestDeprecation()voidtestWarning()protected voidwriteFileWithDeprecatedApi(java.io.File path, java.lang.String className)protected voidwriteFileWithWarning(java.io.File path, java.lang.String className)-
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp, setupContainer, tearDown, teardownContainer
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
testDeprecation
public void testDeprecation() throws java.lang.Exception- Throws:
java.lang.Exception
-
testWarning
public void testWarning() throws java.lang.Exception- Throws:
java.lang.Exception
-
compile
protected java.util.List<CompilerMessage> compile(CompilerConfiguration configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeFileWithDeprecatedApi
protected void writeFileWithDeprecatedApi(java.io.File path, java.lang.String className) throws java.io.IOException- Throws:
java.io.IOException
-
writeFileWithWarning
protected void writeFileWithWarning(java.io.File path, java.lang.String className) throws java.io.IOException- Throws:
java.io.IOException
-
-