org.apache.commons.jci.compilers
Class AbstractCompilerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.jci.compilers.AbstractCompilerTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
EclipseJavaCompilerTestCase, GroovyJavaCompilerTestCase, JaninoJavaCompilerTestCase, RhinoJavaCompilerTestCase

public abstract class AbstractCompilerTestCase
extends junit.framework.TestCase

Providing convenience methods for JavaCompiler TestCases

Author:
tcurdt

Constructor Summary
AbstractCompilerTestCase()
           
 
Method Summary
abstract  JavaCompiler createJavaCompiler()
           
abstract  String getCompilerName()
           
 void testAdditionalTopLevelClassCompile()
           
 void testCrossReferenceCompilation()
           
 void testExtendedCompile()
           
 void testFactoryCreation()
           
 void testInternalClassCompile()
           
 void testSimpleCompile()
           
 void testUppercasePackageNameCompile()
           
 String toString(CompilationProblem[] pProblems)
           
 
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, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCompilerTestCase

public AbstractCompilerTestCase()
Method Detail

createJavaCompiler

public abstract JavaCompiler createJavaCompiler()

getCompilerName

public abstract String getCompilerName()

testFactoryCreation

public void testFactoryCreation()

testSimpleCompile

public void testSimpleCompile()
                       throws Exception
Throws:
Exception

testExtendedCompile

public void testExtendedCompile()
                         throws Exception
Throws:
Exception

testInternalClassCompile

public void testInternalClassCompile()
                              throws Exception
Throws:
Exception

testUppercasePackageNameCompile

public void testUppercasePackageNameCompile()
                                     throws Exception
Throws:
Exception

testCrossReferenceCompilation

public void testCrossReferenceCompilation()
                                   throws Exception
Throws:
Exception

testAdditionalTopLevelClassCompile

public void testAdditionalTopLevelClassCompile()
                                        throws Exception
Throws:
Exception

toString

public final String toString(CompilationProblem[] pProblems)


Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.