mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-10 20:30:11 +08:00
move matchers to standalone package
This commit is contained in:
parent
809b1aa57f
commit
f63b694b0c
@ -135,7 +135,7 @@ public class SourceClassHandler extends BaseClassHandler {
|
|||||||
break;
|
break;
|
||||||
case Opcodes.INVOKEVIRTUAL:
|
case Opcodes.INVOKEVIRTUAL:
|
||||||
case Opcodes.INVOKEINTERFACE:
|
case Opcodes.INVOKEINTERFACE:
|
||||||
// virtual and interface invoke implicitly eat 1 more stack and return 1 more value, deuce
|
// virtual and interface invoke implicitly eat 1 more stack and return 1 value, deuce
|
||||||
stackLevel += ClassUtil.getParameterTypes(((MethodInsnNode)instructions[i]).desc).size();
|
stackLevel += ClassUtil.getParameterTypes(((MethodInsnNode)instructions[i]).desc).size();
|
||||||
break;
|
break;
|
||||||
case -1:
|
case -1:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.alibaba.testable.core.tool;
|
package com.alibaba.testable.core.matcher;
|
||||||
|
|
||||||
import com.alibaba.testable.core.function.MatchFunction;
|
import com.alibaba.testable.core.function.MatchFunction;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.alibaba.testable.core.tool;
|
package com.alibaba.testable.core.matcher;
|
||||||
|
|
||||||
import com.alibaba.testable.core.error.VerifyFailedError;
|
import com.alibaba.testable.core.error.VerifyFailedError;
|
||||||
import com.alibaba.testable.core.model.Verification;
|
import com.alibaba.testable.core.model.Verification;
|
@ -1,5 +1,6 @@
|
|||||||
package com.alibaba.testable.core.tool;
|
package com.alibaba.testable.core.tool;
|
||||||
|
|
||||||
|
import com.alibaba.testable.core.matcher.InvokeVerifier;
|
||||||
import com.alibaba.testable.core.util.InvokeRecordUtil;
|
import com.alibaba.testable.core.util.InvokeRecordUtil;
|
||||||
import com.alibaba.testable.core.util.TestableUtil;
|
import com.alibaba.testable.core.util.TestableUtil;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user