forked from QuiltMC/quilt-mappings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a test to make sure broken unpick definitions error
- Loading branch information
Showing
5 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
buildSrc/src/test/resources/testProject/broken-unpick-definitions/no_header.unpick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
flag f_flags com/example/FEnum FLAG_LEFT | ||
flag f_flags com/example/FEnum FLAG_RIGHT | ||
|
||
target_method com/example/FEnum <init> (Ljava/lang/String;II)V | ||
param 0 f_flags |
10 changes: 10 additions & 0 deletions
10
buildSrc/src/test/resources/testProject/broken-unpick-definitions/working.unpick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
v2 | ||
|
||
flag e_flags com/example/EClass FLAG_A | ||
flag e_flags com/example/EClass FLAG_B | ||
flag e_flags com/example/EClass FLAG_C | ||
flag e_flags com/example/EClass FLAG_D | ||
|
||
# Test comment | ||
target_method com/example/EClass m1 (I)V | ||
param 0 e_flags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters