D | MethodSanitizerTest.java | 32 private MethodVisitor sanitizer; field in MethodSanitizerTest 38 sanitizer = new MethodSanitizer(actual, 0, "test", "()V", null, null); in setup() 45 sanitizer.visitCode(); in testLocalVariablePositive() 46 sanitizer.visitLabel(l1); in testLocalVariablePositive() 47 sanitizer.visitInsn(Opcodes.RETURN); in testLocalVariablePositive() 48 sanitizer.visitLabel(l2); in testLocalVariablePositive() 49 sanitizer.visitLocalVariable("x", "I", null, l1, l2, 0); in testLocalVariablePositive() 50 sanitizer.visitMaxs(0, 0); in testLocalVariablePositive() 51 sanitizer.visitEnd(); in testLocalVariablePositive() 69 sanitizer.visitCode(); in testLocalVariableNegative1() [all …]
|