aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/b
diff options
context:
space:
mode:
authorJonas Herzig <jonas@spark-squared.com>2021-11-12 11:58:05 +0100
committerJonas Herzig <jonas@spark-squared.com>2021-11-12 15:23:25 +0100
commitb30404f156adb6e01bfe4edc50b4de4245ba4509 (patch)
tree7f563929717f12e855034f2eab6c9fb1f95a873e /src/test/java/b
parent5723e6481d2f4e07b6820201e74924643b5687bc (diff)
downloadRemap-b30404f156adb6e01bfe4edc50b4de4245ba4509.tar.gz
Remap-b30404f156adb6e01bfe4edc50b4de4245ba4509.tar.bz2
Remap-b30404f156adb6e01bfe4edc50b4de4245ba4509.zip
Separate B from A test files
So we are closer to a realistic setup and can tell when we accidentally look up a class in the wrong project. Also allows us to have changes in a class but not to the class or its package (i.e. same file).
Diffstat (limited to 'src/test/java/b')
-rw-r--r--src/test/java/b/pkg/B.java104
-rw-r--r--src/test/java/b/pkg/BInterface.java5
-rw-r--r--src/test/java/b/pkg/BParent.java7
3 files changed, 0 insertions, 116 deletions
diff --git a/src/test/java/b/pkg/B.java b/src/test/java/b/pkg/B.java
deleted file mode 100644
index 150ab0b..0000000
--- a/src/test/java/b/pkg/B.java
+++ /dev/null
@@ -1,104 +0,0 @@
-package b.pkg;
-
-public class B extends BParent implements BInterface {
- private B b;
- private int bField;
-
- public B() {
- }
-
- public B(B arg) {
- }
-
- public static B create() { return new B(); }
-
- public void bMethod() {
- bInterfaceMethod();
- }
-
- public B getB() {
- return this;
- }
-
- public B getSyntheticB() {
- return this;
- }
-
- public void setSyntheticB(B arg) {
- }
-
- public boolean isSyntheticBooleanB() {
- return false;
- }
-
- public void setSyntheticBooleanB(boolean arg) {
- }
-
- public B getNonSyntheticB() {
- return this;
- }
-
- public void setNonSyntheticB(B arg) {
- }
-
- public boolean isNonSyntheticBooleanB() {
- return false;
- }
-
- public void setNonSyntheticBooleanB(boolean arg) {
- }
-
- public B getterB() {
- return this;
- }
-
- public void setterB(B arg) {
- }
-
- public boolean getterBooleanB() {
- return false;
- }
-
- public void setterBooleanB(boolean arg) {
- }
-
- public int conflictingField;
- public int getConflictingField() {
- return conflictingField;
- }
-
- public void bOverloaded() {
- }
-
- public void bOverloaded(int arg) {
- }
-
- public void bOverloaded(boolean arg) {
- }
-
- public void commonOverloaded(Object arg) {
- }
-
- public void commonOverloaded(B arg) {
- }
-
- public void unmappedOverloaded(Object arg) {
- }
-
- public void unmappedOverloaded(B arg) {
- }
-
- @Override
- public void bInterfaceMethod() {
- new B() {};
- }
-
- public class Inner {
- private int bField;
- }
-
- public class InnerB {
- }
-
- public class GenericB<T> {}
-}
diff --git a/src/test/java/b/pkg/BInterface.java b/src/test/java/b/pkg/BInterface.java
deleted file mode 100644
index c57c72f..0000000
--- a/src/test/java/b/pkg/BInterface.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package b.pkg;
-
-public interface BInterface {
- void bInterfaceMethod();
-}
diff --git a/src/test/java/b/pkg/BParent.java b/src/test/java/b/pkg/BParent.java
deleted file mode 100644
index d4b20fa..0000000
--- a/src/test/java/b/pkg/BParent.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package b.pkg;
-
-public class BParent {
- public BParent bParentMethod() {
- return this;
- }
-}