org.apache.commons.jci.compilers
Class AbstractCompilerTestCase

java.lang.Object
  extended by TestCase
      extended by org.apache.commons.jci.compilers.AbstractCompilerTestCase
Direct Known Subclasses:
EclipseJavaCompilerTestCase, GroovyJavaCompilerTestCase, JaninoJavaCompilerTestCase, JavacJavaCompilerTestCase, RhinoJavaCompilerTestCase

public abstract class AbstractCompilerTestCase
extends TestCase

Providing convenience methods for JavaCompiler TestCases

Author:
tcurdt

Constructor Summary
AbstractCompilerTestCase()
           
 
Method Summary
abstract  org.apache.commons.jci.compilers.JavaCompiler createJavaCompiler()
           
abstract  java.lang.String getCompilerName()
           
 void testCrossReferenceCompilation()
           
 void testExtendedCompile()
           
 void testFactoryCreation()
           
 void testInternalClassCompile()
           
 void testSimpleCompile()
           
 void testUppercasePackageNameCompile()
           
 java.lang.String toString(org.apache.commons.jci.problems.CompilationProblem[] pProblems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCompilerTestCase

public AbstractCompilerTestCase()
Method Detail

createJavaCompiler

public abstract org.apache.commons.jci.compilers.JavaCompiler createJavaCompiler()

getCompilerName

public abstract java.lang.String getCompilerName()

testFactoryCreation

public void testFactoryCreation()

testSimpleCompile

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

testExtendedCompile

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

testInternalClassCompile

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

testUppercasePackageNameCompile

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

testCrossReferenceCompilation

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

toString

public final java.lang.String toString(org.apache.commons.jci.problems.CompilationProblem[] pProblems)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.