Package org.codehaus.plexus.compiler
Class AbstractCompilerTest
java.lang.Object
org.codehaus.plexus.compiler.AbstractCompilerTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
compilerErrorCount
(List<CompilerMessage> messages) protected void
configureCompilerConfig
(CompilerConfiguration compilerConfig) protected String
displayLines
(List<String> warnings) protected int
protected Collection
<String> protected int
protected final Compiler
protected String
protected File
getLocalArtifactPath
(String groupId, String artifactId, String version, String type) protected File
getLocalArtifactPath
(org.apache.maven.artifact.Artifact artifact) protected abstract String
protected void
setCompilerDebug
(boolean flag) protected void
setCompilerDeprecationWarnings
(boolean flag) void
setForceJavacCompilerUse
(boolean forceJavacCompilerUse) void
-
Constructor Details
-
AbstractCompilerTest
public AbstractCompilerTest()
-
-
Method Details
-
getRoleHint
-
setCompilerDebug
protected void setCompilerDebug(boolean flag) -
setCompilerDeprecationWarnings
protected void setCompilerDeprecationWarnings(boolean flag) -
setForceJavacCompilerUse
public void setForceJavacCompilerUse(boolean forceJavacCompilerUse) -
getCompiler
-
getClasspath
- Throws:
Exception
-
configureCompilerConfig
-
testCompilingSources
- Throws:
Exception
-
displayLines
-
getTargetVersion
-
getSourceVersion
-
compilerErrorCount
-
expectedErrors
protected int expectedErrors() -
expectedWarnings
protected int expectedWarnings() -
expectedOutputFiles
-
getLocalArtifactPath
-
getJavaVersion
-
getLocalArtifactPath
-