org.codehaus.plexus.compiler
Class AbstractCompilerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.artifact.test.ArtifactTestCase
                  extended by org.codehaus.plexus.compiler.AbstractCompilerTest
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractCompilerTest
extends org.apache.maven.artifact.test.ArtifactTestCase

Version:
$Id$

Constructor Summary
AbstractCompilerTest()
           
 
Method Summary
protected  int compilerErrorCount(java.util.List messages)
           
protected  int expectedErrors()
           
protected  java.util.Collection expectedOutputFiles()
           
protected  int expectedWarnings()
           
protected  java.util.List getClasspath()
           
protected  java.io.File getLocalArtifactPath(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String type)
           
protected abstract  java.lang.String getRoleHint()
           
protected  void setCompilerDebug(boolean flag)
           
protected  void setCompilerDeprecationWarnings(boolean flag)
           
 void testCompilingSources()
           
 
Methods inherited from class org.apache.maven.artifact.test.ArtifactTestCase
getLocalArtifactPath, setUp
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCompilerTest

public AbstractCompilerTest()
Method Detail

getRoleHint

protected abstract java.lang.String getRoleHint()

setCompilerDebug

protected void setCompilerDebug(boolean flag)

setCompilerDeprecationWarnings

protected void setCompilerDeprecationWarnings(boolean flag)

getClasspath

protected java.util.List getClasspath()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCompilingSources

public void testCompilingSources()
                          throws java.lang.Exception
Throws:
java.lang.Exception

compilerErrorCount

protected int compilerErrorCount(java.util.List messages)

expectedErrors

protected int expectedErrors()

expectedWarnings

protected int expectedWarnings()

expectedOutputFiles

protected java.util.Collection expectedOutputFiles()

getLocalArtifactPath

protected java.io.File getLocalArtifactPath(java.lang.String groupId,
                                            java.lang.String artifactId,
                                            java.lang.String version,
                                            java.lang.String type)


Copyright © 2001-2011 Codehaus. All Rights Reserved.