Commit 8b4036a1 authored by Eric Bruneton's avatar Eric Bruneton

Merge branch '316373-non-regression-test' into 'master'

Add a non-regression test for issue #316373.

See merge request !131
parents d9657f24 c6386b4b
Pipeline #843 canceled with stage
......@@ -55,6 +55,15 @@ public class SignatureRemapperTest {
remapper.mapSignature("LOuter<Ljava/lang/Object;>.Inner;", false));
}
@Test
public void testRemappingChildOnlyNestedClassExtends_IdentifiersWith$() {
Remapper remapper =
new SimpleRemapper(Collections.singletonMap("Outer$Inner$1", "Outer$RenamedInner$1"));
assertEquals(
"LOuter<Ljava/lang/Object;>.RenamedInner$1;",
remapper.mapSignature("LOuter<Ljava/lang/Object;>.Inner$1;", false));
}
@Test
public void testRemappingBothParentAndChildNestedClassExtends() {
Map<String, String> mapping = new HashMap<String, String>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment