mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-23 03:01:03 +00:00
feat: add fuzzy resolver
fixed docs for MethodSignature & added tests for fuzzy resolver
This commit is contained in:
@@ -38,7 +38,7 @@ internal class PatcherTest {
|
||||
comment = "Main method of TestClass. Version 1.0.0"
|
||||
),
|
||||
patcher = PatcherMetadata(
|
||||
method = PatcherMethod.Fuzzy(2)
|
||||
method = ResolverMethod.Fuzzy(2)
|
||||
)
|
||||
),
|
||||
"V",
|
||||
@@ -46,7 +46,7 @@ internal class PatcherTest {
|
||||
listOf("[L"),
|
||||
listOf(
|
||||
Opcode.CONST_STRING,
|
||||
Opcode.INVOKE_VIRTUAL,
|
||||
Opcode.INVOKE_STATIC, // This is intentionally wrong to test the Fuzzy resolver.
|
||||
Opcode.RETURN_VOID
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user