mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 05:44:24 +02:00
test: Add tests for unknown opcodes
This commit is contained in:
parent
0e5f4ba2d5
commit
bca948658e
@ -56,7 +56,8 @@ class ExamplePatch : Patch(
|
|||||||
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC,
|
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC,
|
||||||
methodParameters = listOf("[L"),
|
methodParameters = listOf("[L"),
|
||||||
opcodes = listOf(
|
opcodes = listOf(
|
||||||
Opcode.CONST_STRING,
|
Opcode.SGET_OBJECT,
|
||||||
|
null, // Testing unknown opcodes.
|
||||||
Opcode.INVOKE_STATIC, // This is intentionally wrong to test the Fuzzy resolver.
|
Opcode.INVOKE_STATIC, // This is intentionally wrong to test the Fuzzy resolver.
|
||||||
Opcode.RETURN_VOID
|
Opcode.RETURN_VOID
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user