Skip to content

Commit 97d57f5

Browse files
committed
cleanup tests
1 parent eadd0eb commit 97d57f5

2 files changed

Lines changed: 10 additions & 443 deletions

File tree

src/test/java/jadx/plugins/stringdecoder/JadxStringDecoderPluginTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,12 @@ public void allLowerNotFlaggedTest() throws Exception {
314314

315315
@Test
316316
public void allLowerSkipDisabledTest() throws Exception {
317-
// With both skipSnakeCase and skipDictionaryWords disabled, "closed" passes all filters;
318-
// it decodes to "rZ,y" (100% printable) and gets a b64: comment
317+
// With skipSnakeCase, skipDictionaryWords, and requireValidLength disabled,
318+
// "closed" (6 chars) passes all filters and decodes to "rZ,y" (100% printable)
319319
String code = decompileSmali("b64/alllower_b64.smali",
320-
Map.of(opt("skipSnakeCase"), "false", opt("skipDictionaryWords"), "false"));
320+
Map.of(opt("skipSnakeCase"), "false",
321+
opt("skipDictionaryWords"), "false",
322+
opt("requireValidLength"), "false"));
321323
System.out.println(code);
322324
assertThat(code).contains("b64: rZ,y");
323325
}

0 commit comments

Comments
 (0)