diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-21 23:52:28 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-21 23:52:28 +0200 |
commit | 59e585a0c68959eb72be34524bdad19df5dc8a4d (patch) | |
tree | 72860f9fce0a62bb1d0e8dbe3a021f4bd8f20ab4 /test/delombok/src | |
parent | 1a9f8f168aa17f77c6e27d0a740b5f7614fb5c90 (diff) | |
download | lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.gz lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.bz2 lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.zip |
refactored the tests to prepare running ecj as well as delombok.
Diffstat (limited to 'test/delombok/src')
3 files changed, 0 insertions, 125 deletions
diff --git a/test/delombok/src/lombok/delombok/TestLombokFiles.java b/test/delombok/src/lombok/delombok/TestLombokFiles.java deleted file mode 100644 index 713f81f5..00000000 --- a/test/delombok/src/lombok/delombok/TestLombokFiles.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -package lombok.delombok; - -import java.io.File; - -import lombok.DirectoryRunner; -import lombok.RunTestsViaDelombok; - -import org.junit.runner.RunWith; - -@RunWith(DirectoryRunner.class) -public class TestLombokFiles { - - public static File getBeforeDirectory() { - RunTestsViaDelombok.printErrors(true); - return new File("test/delombok/resource/before"); - } - - public static File getAfterDirectory() { - return new File("test/delombok/resource/after"); - } -} diff --git a/test/delombok/src/lombok/delombok/TestLombokFilesIdempotent.java b/test/delombok/src/lombok/delombok/TestLombokFilesIdempotent.java deleted file mode 100644 index da6377f3..00000000 --- a/test/delombok/src/lombok/delombok/TestLombokFilesIdempotent.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -package lombok.delombok; - -import java.io.File; - -import lombok.DirectoryRunner; -import lombok.RunTestsViaDelombok; - -import org.junit.runner.RunWith; - -@RunWith(DirectoryRunner.class) -public class TestLombokFilesIdempotent { - - public static File getBeforeDirectory() { - RunTestsViaDelombok.printErrors(true); - return getAfterDirectory(); - } - - public static File getAfterDirectory() { - return new File("test/delombok/resource/after"); - } -} diff --git a/test/delombok/src/lombok/delombok/TestSourceFiles.java b/test/delombok/src/lombok/delombok/TestSourceFiles.java deleted file mode 100644 index 77693200..00000000 --- a/test/delombok/src/lombok/delombok/TestSourceFiles.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -package lombok.delombok; - -import java.io.File; - -import lombok.DirectoryRunner; -import lombok.RunTestsViaDelombok; - -import org.junit.runner.RunWith; - -@RunWith(DirectoryRunner.class) -public class TestSourceFiles { - public static File getBeforeDirectory() { - RunTestsViaDelombok.printErrors(true); - return new File("test/pretty/resource/before"); - } - - public static File getAfterDirectory() { - return new File("test/pretty/resource/after"); - } -} |