Skip to content

Commit f1424bb

Browse files
committed
add tests for zelix field flow
1 parent 94c2053 commit f1424bb

File tree

6 files changed

+2471
-4
lines changed

6 files changed

+2471
-4
lines changed

deobfuscator-impl/src/test/java/uwu/narumi/deobfuscator/TestDeobfuscation.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ protected void registerAll() {
150150
.inputClass(InputType.CUSTOM_CLASS, "zkm/EnhancedStringEncManyStrings.class")
151151
.register();
152152

153+
test("Zelix - Field flow")
154+
.transformers(ComposedZelixTransformer::new)
155+
.inputClassesDir(InputType.CUSTOM_CLASS, "zkm/field-flow")
156+
.register();
157+
153158
// Example HP888 classes
154159
test("HP888")
155160
.transformers(() -> new ComposedHP888Transformer(".mc"))
542 Bytes
Binary file not shown.
51.6 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
public class JSONException extends RuntimeException {
2+
private static final long serialVersionUID = 0L;
3+
4+
public JSONException(String var1) {
5+
super(var1);
6+
}
7+
8+
public JSONException(String var1, Throwable var2) {
9+
super(var1, var2);
10+
}
11+
12+
public JSONException(Throwable var1) {
13+
super(var1.getMessage(), var1);
14+
}
15+
}

0 commit comments

Comments
 (0)