From d280302e643b5751845b54fe71cc1ce1592a71d8 Mon Sep 17 00:00:00 2001 From: Kapralov Sergey Date: Tue, 17 Sep 2024 20:38:30 +0300 Subject: [PATCH] 153: tests --- .../equivalence-itests/test-module2/pom.xml | 5 +++ .../itests/lombok/LombokValue.java | 38 +++++++++++++++++++ .../itests/lombok/package-info.java | 26 +++++++++++++ oo-equivalence/pom.xml | 5 +++ 4 files changed, 74 insertions(+) create mode 100644 oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/LombokValue.java create mode 100644 oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/package-info.java diff --git a/oo-equivalence/equivalence-itests/test-module2/pom.xml b/oo-equivalence/equivalence-itests/test-module2/pom.xml index 68030551..d6de84da 100644 --- a/oo-equivalence/equivalence-itests/test-module2/pom.xml +++ b/oo-equivalence/equivalence-itests/test-module2/pom.xml @@ -18,5 +18,10 @@ test-module1 ${project.version} + + org.projectlombok + lombok + provided + \ No newline at end of file diff --git a/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/LombokValue.java b/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/LombokValue.java new file mode 100644 index 00000000..bc8341f5 --- /dev/null +++ b/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/LombokValue.java @@ -0,0 +1,38 @@ +/*- + * =========================================================================== + * equivalence-itests.test-module2 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * Copyright (C) 2019 - 2024 Kapralov Sergey + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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 com.pragmaticobjects.oo.equivalence.itests.lombok; + +import com.pragmaticobjects.oo.equivalence.base.EObjectHint; +import lombok.Value; + +/** + * Test lombok value + */ +@Value +@EObjectHint(enabled = false) +public class LombokValue { + public int i; +} diff --git a/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/package-info.java b/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/package-info.java new file mode 100644 index 00000000..ec72a415 --- /dev/null +++ b/oo-equivalence/equivalence-itests/test-module2/src/main/java/com/pragmaticobjects/oo/equivalence/itests/lombok/package-info.java @@ -0,0 +1,26 @@ +/*- + * =========================================================================== + * equivalence-itests.test-module2 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * Copyright (C) 2019 - 2024 Kapralov Sergey + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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 com.pragmaticobjects.oo.equivalence.itests.lombok; diff --git a/oo-equivalence/pom.xml b/oo-equivalence/pom.xml index 847cd690..a94aba87 100644 --- a/oo-equivalence/pom.xml +++ b/oo-equivalence/pom.xml @@ -59,6 +59,11 @@ equivalence-assertions ${project.version} + + org.projectlombok + lombok + 1.18.30 + io.vavr vavr