org.codehaus.plexus.compiler
Class AbstractCompilerTckTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.codehaus.plexus.compiler.AbstractCompilerTckTest
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractCompilerTckTest
extends org.codehaus.plexus.PlexusTestCase

Version:
$Id: AbstractCompilerTckTest.java 2393 2005-08-08 22:32:59Z kenney $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
protected AbstractCompilerTckTest(java.lang.String roleHint)
           
 
Method Summary
protected  java.util.List compile(CompilerConfiguration configuration)
           
 void testDeprecation()
           
 void testWarning()
           
protected  void writeFileWithDeprecatedApi(java.io.File path, java.lang.String className)
           
protected  void writeFileWithWarning(java.io.File path, java.lang.String className)
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCompilerTckTest

protected AbstractCompilerTckTest(java.lang.String roleHint)
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 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


Copyright © 2001-2010 Codehaus. All Rights Reserved.