Class AbstractCompilerTest

java.lang.Object
org.codehaus.plexus.compiler.AbstractCompilerTest

public abstract class AbstractCompilerTest extends Object
  • Constructor Details

    • AbstractCompilerTest

      public AbstractCompilerTest()
  • Method Details

    • getRoleHint

      protected abstract String getRoleHint()
    • setCompilerDebug

      protected void setCompilerDebug(boolean flag)
    • setCompilerDeprecationWarnings

      protected void setCompilerDeprecationWarnings(boolean flag)
    • setForceJavacCompilerUse

      public void setForceJavacCompilerUse(boolean forceJavacCompilerUse)
    • getCompiler

      protected final Compiler getCompiler()
    • getClasspath

      protected List<String> getClasspath() throws Exception
      Throws:
      Exception
    • configureCompilerConfig

      protected void configureCompilerConfig(CompilerConfiguration compilerConfig)
    • testCompilingSources

      @Test public void testCompilingSources() throws Exception
      Throws:
      Exception
    • displayLines

      protected String displayLines(List<String> warnings)
    • getTargetVersion

      public String getTargetVersion()
    • getSourceVersion

      public String getSourceVersion()
    • compilerErrorCount

      protected int compilerErrorCount(List<CompilerMessage> messages)
    • expectedErrors

      protected int expectedErrors()
    • expectedWarnings

      protected int expectedWarnings()
    • expectedOutputFiles

      protected Collection<String> expectedOutputFiles()
    • getLocalArtifactPath

      protected File getLocalArtifactPath(String groupId, String artifactId, String version, String type)
    • getJavaVersion

      protected String getJavaVersion()
    • getLocalArtifactPath

      protected File getLocalArtifactPath(org.apache.maven.artifact.Artifact artifact)