mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 09:08:04 +01:00
test: Add tests for unknown opcodes
This commit is contained in:
parent
0e5f4ba2d5
commit
bca948658e
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ class ExamplePatch : Patch(
|
|||
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC,
|
||||
methodParameters = listOf("[L"),
|
||||
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.RETURN_VOID
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue