Skip to content

Commit

Permalink
simple moving external class test, same package, no nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
ramidzkh committed Nov 22, 2023
1 parent 7309a92 commit ee07ad6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public RemappingTests() throws IOException {
@ValueSource(strings = {
"fields",
"verbatim",
"move_external_class_simple",
})
public void remap(String testCase) throws IOException {
Path original = originals.resolve(testCase);
Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions src/test/resources/mappings/move_external_class_simple.tiny
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tiny 2 0 a b
c it/Exist it/Exist2
c sources/Thing sources/Thing2
7 changes: 7 additions & 0 deletions src/test/resources/original/move_external_class_simple/A.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import it.Exist;
import sources.Thing;

// insert junk into this file; it should be converted almost 1 <=> 1
public class A<WE_DO_A_LITTLE_TROLLING extends Object> implements Thing {
Exist lol;
}
7 changes: 7 additions & 0 deletions src/test/resources/remapped/move_external_class_simple/A.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import it.Exist2;
import sources.Thing2;

// insert junk into this file; it should be converted almost 1 <=> 1
public class A<WE_DO_A_LITTLE_TROLLING extends Object> implements Thing2 {
Exist2 lol;
}
Binary file not shown.

0 comments on commit ee07ad6

Please sign in to comment.