Class CompilerMojoTestCase

  • All Implemented Interfaces:
    junit.framework.Test

    public class CompilerMojoTestCase
    extends AbstractMojoTestCase
    • Constructor Detail

      • CompilerMojoTestCase

        public CompilerMojoTestCase()
    • Method Detail

      • testCompilerBasic

        public void testCompilerBasic()
                               throws Exception
        tests the ability of the plugin to compile a basic file
        Throws:
        Exception
      • testCompilerBasicSourceTarget

        public void testCompilerBasicSourceTarget()
                                           throws Exception
        Throws:
        Exception
      • testCompilerEmptySource

        public void testCompilerEmptySource()
                                     throws Exception
        tests the ability of the plugin to respond to empty source
        Throws:
        Exception
      • testCompilerIncludesExcludes

        public void testCompilerIncludesExcludes()
                                          throws Exception
        tests the ability of the plugin to respond to includes and excludes correctly
        Throws:
        Exception
      • testCompilerFork

        public void testCompilerFork()
                              throws Exception
        tests the ability of the plugin to fork and successfully compile
        Throws:
        Exception
      • testOneOutputFileForAllInput

        public void testOneOutputFileForAllInput()
                                          throws Exception
        Throws:
        Exception
      • testOneOutputFileForAllInput2

        public void testOneOutputFileForAllInput2()
                                           throws Exception
        Throws:
        Exception
      • testCompileFailure

        public void testCompileFailure()
                                throws Exception
        Throws:
        Exception
      • testCompileFailOnError

        public void testCompileFailOnError()
                                    throws Exception
        Throws:
        Exception
      • testCompileSkipMain

        public void testCompileSkipMain()
                                 throws Exception
        Tests that setting 'skipMain' to true skips compilation of the main Java source files, but that test Java source files are still compiled.
        Throws:
        Exception
      • testCompileSkipTest

        public void testCompileSkipTest()
                                 throws Exception
        Tests that setting 'skip' to true skips compilation of the test Java source files, but that main Java source files are still compiled.
        Throws:
        Exception