Class 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
      protected AbstractCompilerTckTest​(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)  
      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

        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
      • 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
      • 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