diff --git a/src/it/MCOMPILER-328_multiReleaseOutput/src/main/java/MyClass.java b/src/it/MCOMPILER-328_multiReleaseOutput/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/MCOMPILER-328_multiReleaseOutput/src/main/java/MyClass.java +++ b/src/it/MCOMPILER-328_multiReleaseOutput/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/MCOMPILER-328_multiReleaseOutput/verify.groovy b/src/it/MCOMPILER-328_multiReleaseOutput/verify.groovy index ea03de5e..f3423da7 100644 --- a/src/it/MCOMPILER-328_multiReleaseOutput/verify.groovy +++ b/src/it/MCOMPILER-328_multiReleaseOutput/verify.groovy @@ -17,6 +17,6 @@ * under the License. */ -assert !new File( basedir, 'target/classes/MyClass.class').exists() +assert !new File( basedir, 'target/classes/foo/MyClass.class').exists() -assert new File( basedir, 'target/classes/META-INF/versions/9/MyClass.class').exists() \ No newline at end of file +assert new File( basedir, 'target/classes/META-INF/versions/9/foo/MyClass.class').exists() \ No newline at end of file diff --git a/src/it/MCOMPILER-349_dependencyChanged/dependent-module/src/main/java/Main.java b/src/it/MCOMPILER-349_dependencyChanged/dependent-module/src/main/java/Main.java index f77ad070..1d0ba1f1 100644 --- a/src/it/MCOMPILER-349_dependencyChanged/dependent-module/src/main/java/Main.java +++ b/src/it/MCOMPILER-349_dependencyChanged/dependent-module/src/main/java/Main.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class Main { diff --git a/src/it/MCOMPILER-349_dependencyChanged/service/src/main/java/TestService.java b/src/it/MCOMPILER-349_dependencyChanged/service/src/main/java/TestService.java index df21d267..2e1d747a 100644 --- a/src/it/MCOMPILER-349_dependencyChanged/service/src/main/java/TestService.java +++ b/src/it/MCOMPILER-349_dependencyChanged/service/src/main/java/TestService.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestService { diff --git a/src/it/MCOMPILER-474_recompile-dependent-when-package/dependent-module/src/main/java/Main.java b/src/it/MCOMPILER-474_recompile-dependent-when-package/dependent-module/src/main/java/Main.java index dbad7cf7..14039917 100644 --- a/src/it/MCOMPILER-474_recompile-dependent-when-package/dependent-module/src/main/java/Main.java +++ b/src/it/MCOMPILER-474_recompile-dependent-when-package/dependent-module/src/main/java/Main.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class Main { diff --git a/src/it/MCOMPILER-474_recompile-dependent-when-package/service/src/main/java/TestService.java b/src/it/MCOMPILER-474_recompile-dependent-when-package/service/src/main/java/TestService.java index 7d5e8787..4fb1ade5 100644 --- a/src/it/MCOMPILER-474_recompile-dependent-when-package/service/src/main/java/TestService.java +++ b/src/it/MCOMPILER-474_recompile-dependent-when-package/service/src/main/java/TestService.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestService { diff --git a/src/it/default-fork-windows/src/main/java/MyClass.java b/src/it/default-fork-windows/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/default-fork-windows/src/main/java/MyClass.java +++ b/src/it/default-fork-windows/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/default-fork-windows/src/test/java/MyTest.java b/src/it/default-fork-windows/src/test/java/MyTest.java index 46ba41d4..33d41784 100644 --- a/src/it/default-fork-windows/src/test/java/MyTest.java +++ b/src/it/default-fork-windows/src/test/java/MyTest.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/it/default-fork-windows/verify.groovy b/src/it/default-fork-windows/verify.groovy index 6b1651d7..2d4a24c5 100644 --- a/src/it/default-fork-windows/verify.groovy +++ b/src/it/default-fork-windows/verify.groovy @@ -17,9 +17,9 @@ * under the License. */ -assert new File( basedir, 'target/classes/MyClass.class').exists() +assert new File( basedir, 'target/classes/foo/MyClass.class').exists() -assert new File( basedir, 'target/test-classes/MyTest.class').exists() +assert new File( basedir, 'target/test-classes/foo/MyTest.class').exists() assert !new File( basedir, 'target/classes/javac.sh').exists() assert !new File( basedir, 'target/classes/javac.bat').exists() diff --git a/src/it/default-fork/src/main/java/MyClass.java b/src/it/default-fork/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/default-fork/src/main/java/MyClass.java +++ b/src/it/default-fork/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/default-fork/src/test/java/MyTest.java b/src/it/default-fork/src/test/java/MyTest.java index 46ba41d4..33d41784 100644 --- a/src/it/default-fork/src/test/java/MyTest.java +++ b/src/it/default-fork/src/test/java/MyTest.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/it/default-fork/verify.groovy b/src/it/default-fork/verify.groovy index ba3bd7a2..6fb1fa1e 100644 --- a/src/it/default-fork/verify.groovy +++ b/src/it/default-fork/verify.groovy @@ -17,9 +17,9 @@ * under the License. */ -assert new File( basedir, 'target/classes/MyClass.class').exists() +assert new File( basedir, 'target/classes/foo/MyClass.class').exists() -assert new File( basedir, 'target/test-classes/MyTest.class').exists() +assert new File( basedir, 'target/test-classes/foo/MyTest.class').exists() assert !new File( basedir, 'target/classes/javac.sh').exists() assert !new File( basedir, 'target/classes/javac.bat').exists() diff --git a/src/it/default-incremental-disable/src/main/java/MyClass.java b/src/it/default-incremental-disable/src/main/java/foo/MyClass.java similarity index 98% rename from src/it/default-incremental-disable/src/main/java/MyClass.java rename to src/it/default-incremental-disable/src/main/java/foo/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/default-incremental-disable/src/main/java/MyClass.java +++ b/src/it/default-incremental-disable/src/main/java/foo/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/default-incremental-disable/src/test/java/MyTest.java b/src/it/default-incremental-disable/src/test/java/foo/MyTest.java similarity index 98% rename from src/it/default-incremental-disable/src/test/java/MyTest.java rename to src/it/default-incremental-disable/src/test/java/foo/MyTest.java index 46ba41d4..33d41784 100644 --- a/src/it/default-incremental-disable/src/test/java/MyTest.java +++ b/src/it/default-incremental-disable/src/test/java/foo/MyTest.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/it/default-incremental-disable/verify.groovy b/src/it/default-incremental-disable/verify.groovy index 2f72f1c9..2f9fe2c6 100644 --- a/src/it/default-incremental-disable/verify.groovy +++ b/src/it/default-incremental-disable/verify.groovy @@ -17,8 +17,8 @@ * under the License. */ -assert new File( basedir, "target/classes/MyClass.class" ).exists(); -assert new File( basedir, "target/test-classes/MyTest.class" ).exists(); +assert new File( basedir, "target/classes/foo/MyClass.class" ).exists(); +assert new File( basedir, "target/test-classes/foo/MyTest.class" ).exists(); content = new File( basedir, 'build.log' ).text; diff --git a/src/it/default/src/main/java/MyClass.java b/src/it/default/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/default/src/main/java/MyClass.java +++ b/src/it/default/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/default/src/test/java/MyTest.java b/src/it/default/src/test/java/MyTest.java index 46ba41d4..33d41784 100644 --- a/src/it/default/src/test/java/MyTest.java +++ b/src/it/default/src/test/java/MyTest.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/it/default/verify.bsh b/src/it/default/verify.bsh index 12bb5436..402fb942 100644 --- a/src/it/default/verify.bsh +++ b/src/it/default/verify.bsh @@ -23,14 +23,14 @@ import java.util.regex.*; try { - File mainClass = new File( basedir, "target/classes/MyClass.class" ); + File mainClass = new File( basedir, "target/classes/foo/MyClass.class" ); if ( !mainClass.isFile() ) { System.out.println( "Main class not existent: " + mainClass ); return false; } - File testClass = new File( basedir, "target/test-classes/MyTest.class" ); + File testClass = new File( basedir, "target/test-classes/foo/MyTest.class" ); if ( !testClass.isFile() ) { System.out.println( "Test class not existent: " + testClass ); diff --git a/src/it/mcompiler-106/src/main/java/MyClass.java b/src/it/mcompiler-106/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/mcompiler-106/src/main/java/MyClass.java +++ b/src/it/mcompiler-106/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/mcompiler-135/src/main/java/MyClass.java b/src/it/mcompiler-135/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/mcompiler-135/src/main/java/MyClass.java +++ b/src/it/mcompiler-135/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/mcompiler-182/src/main/java/BeanA.java b/src/it/mcompiler-182/src/main/java/BeanA.java index 4d314950..aa6a35ee 100644 --- a/src/it/mcompiler-182/src/main/java/BeanA.java +++ b/src/it/mcompiler-182/src/main/java/BeanA.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/mcompiler-182/src/main/java/BeanA2.java b/src/it/mcompiler-182/src/main/java/BeanA2.java index e5725626..42731363 100644 --- a/src/it/mcompiler-182/src/main/java/BeanA2.java +++ b/src/it/mcompiler-182/src/main/java/BeanA2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/mcompiler-182/verify.groovy b/src/it/mcompiler-182/verify.groovy index 316aeafb..fdff21e0 100644 --- a/src/it/mcompiler-182/verify.groovy +++ b/src/it/mcompiler-182/verify.groovy @@ -23,4 +23,4 @@ content = logFile.text assert content.contains( 'COMPILATION ERROR :' ) -assert !new File( basedir, 'target/classes/BeanA.class' ).exists(); +assert !new File( basedir, 'target/classes/foo/BeanA.class' ).exists(); diff --git a/src/it/mcompiler-21_class-remove/src/main/java/BeanA.java b/src/it/mcompiler-21_class-remove/src/main/java/BeanA.java index 4d314950..aa6a35ee 100644 --- a/src/it/mcompiler-21_class-remove/src/main/java/BeanA.java +++ b/src/it/mcompiler-21_class-remove/src/main/java/BeanA.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/mcompiler-21_class-remove/src/main/java/BeanA2.java b/src/it/mcompiler-21_class-remove/src/main/java/BeanA2.java index e5725626..42731363 100644 --- a/src/it/mcompiler-21_class-remove/src/main/java/BeanA2.java +++ b/src/it/mcompiler-21_class-remove/src/main/java/BeanA2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java b/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java index 4d314950..aa6a35ee 100644 --- a/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java +++ b/src/it/mcompiler-21_methodname-change/src/main/java/BeanA.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java b/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java index e5725626..42731363 100644 --- a/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java +++ b/src/it/mcompiler-21_methodname-change/src/main/java/BeanA2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; /** * dumb test bean diff --git a/src/it/non-english-warnings/src/main/java/MyClass.java b/src/it/non-english-warnings/src/main/java/MyClass.java index 22efe455..62c02eea 100644 --- a/src/it/non-english-warnings/src/main/java/MyClass.java +++ b/src/it/non-english-warnings/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/it/non-english-warnings/src/test/java/MyTest.java b/src/it/non-english-warnings/src/test/java/MyTest.java index 1de5f624..a51de2bb 100644 --- a/src/it/non-english-warnings/src/test/java/MyTest.java +++ b/src/it/non-english-warnings/src/test/java/MyTest.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyTest { diff --git a/src/it/non-english-warnings/verify.bsh b/src/it/non-english-warnings/verify.bsh index 8b1bc6eb..919db9da 100644 --- a/src/it/non-english-warnings/verify.bsh +++ b/src/it/non-english-warnings/verify.bsh @@ -21,13 +21,13 @@ import java.io.*; import java.util.*; import java.util.regex.*; -File mainClass = new File( basedir, "target/classes/MyClass.class" ); +File mainClass = new File( basedir, "target/classes/foo/MyClass.class" ); if ( !mainClass.isFile() ) { throw new FileNotFoundException( "Main class not existent: " + mainClass ); } -File testClass = new File( basedir, "target/test-classes/MyTest.class" ); +File testClass = new File( basedir, "target/test-classes/foo/MyTest.class" ); if ( !testClass.isFile() ) { throw new FileNotFoundException( "Test class not existent: " + testClass ); diff --git a/src/it/test1/src/main/java/MyClass.java b/src/it/test1/src/main/java/MyClass.java index 4945381a..90a93702 100644 --- a/src/it/test1/src/main/java/MyClass.java +++ b/src/it/test1/src/main/java/MyClass.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class MyClass { diff --git a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java index 6c12627d..ae3e6708 100644 --- a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java +++ b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java @@ -67,7 +67,7 @@ public void testCompilerBasic() compileMojo.execute(); - File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile0.class" ); + File testClass = new File( compileMojo.getOutputDirectory(), "foo/TestCompile0.class" ); assertTrue( testClass.exists() ); @@ -80,7 +80,7 @@ public void testCompilerBasic() assertNotNull( "MCOMPILER-94: artifact file should only be null if there is nothing to compile", projectArtifact.getFile() ); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile0Test.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestCompile0Test.class" ); verify( log ).warn( startsWith( "No explicit value set for target or release!" ) ); @@ -150,13 +150,13 @@ public void testCompilerIncludesExcludes() compileMojo.execute(); - File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile2.class" ); + File testClass = new File( compileMojo.getOutputDirectory(), "foo/TestCompile2.class" ); assertFalse( testClass.exists() ); - testClass = new File( compileMojo.getOutputDirectory(), "TestCompile3.class" ); + testClass = new File( compileMojo.getOutputDirectory(), "foo/TestCompile3.class" ); assertFalse( testClass.exists() ); - testClass = new File( compileMojo.getOutputDirectory(), "TestCompile4.class" ); + testClass = new File( compileMojo.getOutputDirectory(), "foo/TestCompile4.class" ); assertTrue( testClass.exists() ); TestCompilerMojo testCompileMojo = getTestCompilerMojo( compileMojo, @@ -167,13 +167,13 @@ public void testCompilerIncludesExcludes() testCompileMojo.execute(); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile2TestCase.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestCompile2TestCase.class" ); assertFalse( testClass.exists() ); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile3TestCase.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestCompile3TestCase.class" ); assertFalse( testClass.exists() ); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile4TestCase.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestCompile4TestCase.class" ); assertTrue( testClass.exists() ); } @@ -192,7 +192,7 @@ public void testCompilerFork() compileMojo.execute(); - File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile1.class" ); + File testClass = new File( compileMojo.getOutputDirectory(), "foo/TestCompile1.class" ); assertTrue( testClass.exists() ); TestCompilerMojo testCompileMojo = @@ -203,7 +203,7 @@ public void testCompilerFork() testCompileMojo.execute(); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile1TestCase.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestCompile1TestCase.class" ); assertTrue( testClass.exists() ); } @@ -345,13 +345,13 @@ public void testCompileSkipMain() CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-skip-main/plugin-config.xml" ); setVariableValueToObject( compileMojo, "skipMain", true ); compileMojo.execute(); - File testClass = new File( compileMojo.getOutputDirectory(), "TestSkipMainCompile0.class" ); + File testClass = new File( compileMojo.getOutputDirectory(), "foo/TestSkipMainCompile0.class" ); assertFalse( testClass.exists() ); TestCompilerMojo testCompileMojo = getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-skip-main/plugin-config.xml" ); testCompileMojo.execute(); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestSkipMainCompile0Test.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestSkipMainCompile0Test.class" ); assertTrue( testClass.exists() ); } @@ -365,14 +365,14 @@ public void testCompileSkipTest() { CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-skip-test/plugin-config.xml" ); compileMojo.execute(); - File testClass = new File( compileMojo.getOutputDirectory(), "TestSkipTestCompile0.class" ); + File testClass = new File( compileMojo.getOutputDirectory(), "foo/TestSkipTestCompile0.class" ); assertTrue( testClass.exists() ); TestCompilerMojo testCompileMojo = getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-skip-test/plugin-config.xml" ); setVariableValueToObject( testCompileMojo, "skip", true ); testCompileMojo.execute(); - testClass = new File( testCompileMojo.getOutputDirectory(), "TestSkipTestCompile0Test.class" ); + testClass = new File( testCompileMojo.getOutputDirectory(), "foo/TestSkipTestCompile0Test.class" ); assertFalse( testClass.exists() ); } diff --git a/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java b/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java index 44c03597..959bdc77 100644 --- a/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java +++ b/src/test/resources/unit/compiler-args-test/src/main/java/TestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile0 { diff --git a/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java b/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java index 5df6d4f5..e4a02f7d 100644 --- a/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java +++ b/src/test/resources/unit/compiler-args-test/src/test/java/TestCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-basic-sourcetarget/src/main/java/TestCompile0.java b/src/test/resources/unit/compiler-basic-sourcetarget/src/main/java/TestCompile0.java index 44c03597..959bdc77 100644 --- a/src/test/resources/unit/compiler-basic-sourcetarget/src/main/java/TestCompile0.java +++ b/src/test/resources/unit/compiler-basic-sourcetarget/src/main/java/TestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile0 { diff --git a/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java b/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java index 44c03597..959bdc77 100644 --- a/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java +++ b/src/test/resources/unit/compiler-basic-test/src/main/java/TestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile0 { diff --git a/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java b/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java index 5df6d4f5..e4a02f7d 100644 --- a/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java +++ b/src/test/resources/unit/compiler-basic-test/src/test/java/TestCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java b/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java index 44c03597..959bdc77 100644 --- a/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java +++ b/src/test/resources/unit/compiler-fail-test/src/main/java/TestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile0 { diff --git a/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java b/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java index 5df6d4f5..e4a02f7d 100644 --- a/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java +++ b/src/test/resources/unit/compiler-fail-test/src/test/java/TestCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java b/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java index 44c03597..959bdc77 100644 --- a/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java +++ b/src/test/resources/unit/compiler-failonerror-test/src/main/java/TestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile0 { diff --git a/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java b/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java index 5df6d4f5..e4a02f7d 100644 --- a/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java +++ b/src/test/resources/unit/compiler-failonerror-test/src/test/java/TestCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java b/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java index 4e4ded81..c694c3fc 100644 --- a/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java +++ b/src/test/resources/unit/compiler-fork-test/src/main/java/TestCompile1.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile1 { diff --git a/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java b/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java index ede2355c..cf276f99 100644 --- a/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java +++ b/src/test/resources/unit/compiler-fork-test/src/test/java/TestCompile1TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java index 18053c37..ff8fa234 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile2 { diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java index 5091952c..e618ca9a 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile3.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile3 { diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java index d0660046..779c8d0a 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/main/java/TestCompile4.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile4 { diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java index 14392e33..b0520395 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile2TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java index fc81992f..9f77f435 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile3TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java index e42e21b4..2210fc13 100644 --- a/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java +++ b/src/test/resources/unit/compiler-includes-excludes-test/src/test/java/TestCompile4TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java index 18053c37..ff8fa234 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile2 { diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java index 5091952c..e618ca9a 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile3.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile3 { diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java index d0660046..779c8d0a 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/main/java/TestCompile4.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile4 { diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java index 14392e33..b0520395 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile2TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java index fc81992f..9f77f435 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile3TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java index e42e21b4..2210fc13 100644 --- a/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test/src/test/java/TestCompile4TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java index 18053c37..e187e0c4 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile2.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile2 { @@ -25,5 +26,4 @@ public TestCompile2() System.out.println( "Woo Hoo!" ); } - } \ No newline at end of file diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java index 5091952c..e618ca9a 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile3.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile3 { diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java index d0660046..779c8d0a 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/main/java/TestCompile4.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestCompile4 { diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java index 14392e33..b0520395 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile2TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java index fc81992f..9f77f435 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile3TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java index e42e21b4..2210fc13 100644 --- a/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java +++ b/src/test/resources/unit/compiler-one-output-file-test2/src/test/java/TestCompile4TestCase.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-skip-main/src/main/java/TestSkipMainCompile0.java b/src/test/resources/unit/compiler-skip-main/src/main/java/TestSkipMainCompile0.java index f1788b4b..a7805d70 100644 --- a/src/test/resources/unit/compiler-skip-main/src/main/java/TestSkipMainCompile0.java +++ b/src/test/resources/unit/compiler-skip-main/src/main/java/TestSkipMainCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestSkipMainCompile0 { diff --git a/src/test/resources/unit/compiler-skip-main/src/test/java/TestSkipMainCompile0Test.java b/src/test/resources/unit/compiler-skip-main/src/test/java/TestSkipMainCompile0Test.java index 30589982..d3d66b49 100644 --- a/src/test/resources/unit/compiler-skip-main/src/test/java/TestSkipMainCompile0Test.java +++ b/src/test/resources/unit/compiler-skip-main/src/test/java/TestSkipMainCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase; diff --git a/src/test/resources/unit/compiler-skip-test/src/main/java/TestSkipTestCompile0.java b/src/test/resources/unit/compiler-skip-test/src/main/java/TestSkipTestCompile0.java index 95bcc5ac..08911a95 100644 --- a/src/test/resources/unit/compiler-skip-test/src/main/java/TestSkipTestCompile0.java +++ b/src/test/resources/unit/compiler-skip-test/src/main/java/TestSkipTestCompile0.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; public class TestSkipTestCompile0 { diff --git a/src/test/resources/unit/compiler-skip-test/src/test/java/TestSkipTestCompile0Test.java b/src/test/resources/unit/compiler-skip-test/src/test/java/TestSkipTestCompile0Test.java index aa5e09d6..0c64e554 100644 --- a/src/test/resources/unit/compiler-skip-test/src/test/java/TestSkipTestCompile0Test.java +++ b/src/test/resources/unit/compiler-skip-test/src/test/java/TestSkipTestCompile0Test.java @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ +package foo; import junit.framework.TestCase;