From d2d97539d26f6023ffc4565286f08427c4e8b41c Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Mon, 8 Nov 2021 14:39:53 +0100 Subject: Add support for eclipse feature tests --- .../resource/rename/withGetterDifferentFile/after/A.java | 14 ++++++++++++++ .../resource/rename/withGetterDifferentFile/after/B.java | 7 +++++++ .../resource/rename/withGetterDifferentFile/before/A.java | 14 ++++++++++++++ .../resource/rename/withGetterDifferentFile/before/B.java | 7 +++++++ 4 files changed, 42 insertions(+) create mode 100644 test/eclipse/resource/rename/withGetterDifferentFile/after/A.java create mode 100644 test/eclipse/resource/rename/withGetterDifferentFile/after/B.java create mode 100644 test/eclipse/resource/rename/withGetterDifferentFile/before/A.java create mode 100644 test/eclipse/resource/rename/withGetterDifferentFile/before/B.java (limited to 'test/eclipse/resource/rename/withGetterDifferentFile') diff --git a/test/eclipse/resource/rename/withGetterDifferentFile/after/A.java b/test/eclipse/resource/rename/withGetterDifferentFile/after/A.java new file mode 100644 index 00000000..5a564be2 --- /dev/null +++ b/test/eclipse/resource/rename/withGetterDifferentFile/after/A.java @@ -0,0 +1,14 @@ +package pkg; + +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.Setter; +import lombok.ToString; + +@EqualsAndHashCode +@Getter +@Setter +@ToString +public class A { + private String newString; +} \ No newline at end of file diff --git a/test/eclipse/resource/rename/withGetterDifferentFile/after/B.java b/test/eclipse/resource/rename/withGetterDifferentFile/after/B.java new file mode 100644 index 00000000..f7cd35c4 --- /dev/null +++ b/test/eclipse/resource/rename/withGetterDifferentFile/after/B.java @@ -0,0 +1,7 @@ +package pkg; + +public class B { + public String test() { + return new A().getNewString(); + } +} \ No newline at end of file diff --git a/test/eclipse/resource/rename/withGetterDifferentFile/before/A.java b/test/eclipse/resource/rename/withGetterDifferentFile/before/A.java new file mode 100644 index 00000000..b0d4c41e --- /dev/null +++ b/test/eclipse/resource/rename/withGetterDifferentFile/before/A.java @@ -0,0 +1,14 @@ +package pkg; + +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.Setter; +import lombok.ToString; + +@EqualsAndHashCode +@Getter +@Setter +@ToString +public class A { + private String string; +} \ No newline at end of file diff --git a/test/eclipse/resource/rename/withGetterDifferentFile/before/B.java b/test/eclipse/resource/rename/withGetterDifferentFile/before/B.java new file mode 100644 index 00000000..24a74d6f --- /dev/null +++ b/test/eclipse/resource/rename/withGetterDifferentFile/before/B.java @@ -0,0 +1,7 @@ +package pkg; + +public class B { + public String test() { + return new A().getString(); + } +} \ No newline at end of file -- cgit