diff --git a/sootup.java.bytecode/src/test/java/sootup/java/bytecode/interceptors/typeresolving/TypeAssignerTest.java b/sootup.java.bytecode/src/test/java/sootup/java/bytecode/interceptors/typeresolving/TypeAssignerTest.java index 606633a7811..3461d14c1f0 100644 --- a/sootup.java.bytecode/src/test/java/sootup/java/bytecode/interceptors/typeresolving/TypeAssignerTest.java +++ b/sootup.java.bytecode/src/test/java/sootup/java/bytecode/interceptors/typeresolving/TypeAssignerTest.java @@ -10,6 +10,7 @@ import org.junit.experimental.categories.Category; import sootup.core.model.Body; import sootup.core.util.Utils; +import sootup.java.bytecode.interceptors.LocalNameStandardizer; import sootup.java.bytecode.interceptors.TypeAssigner; @Category(Java8Test.class) @@ -26,6 +27,8 @@ public void setup() { public void testInvokeStmt() { final Body.BodyBuilder builder = createMethodsBuilder("invokeStmt", "void"); new TypeAssigner().interceptBody(builder, view); + new LocalNameStandardizer().interceptBody(builder, view); + List actualStmts = Utils.filterJimple(builder.build().toString()); Assert.assertEquals( @@ -52,6 +55,7 @@ public void testInvokeStmt() { public void testAssignStmt() { final Body.BodyBuilder builder = createMethodsBuilder("assignStmt", "void"); new TypeAssigner().interceptBody(builder, view); + new LocalNameStandardizer().interceptBody(builder, view); List actualStmts = Utils.filterJimple(builder.build().toString());