-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat][test-tool][v0.1.0] add plugin test tool #53
base: main
Are you sure you want to change the base?
Conversation
import com.ali.antchain.service.EthereumBBCService; | ||
import com.alipay.antchain.bridge.commons.bbc.AbstractBBCContext; | ||
|
||
public class ETHQuerySDPMessageSeqTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个类直接用通用的测试类即可,不涉及eth特有的操作
import com.alipay.antchain.bridge.commons.bbc.AbstractBBCContext; | ||
import org.web3j.tx.gas.DefaultGasProvider; | ||
|
||
public class ETHSetAmContractAndLocalDomainTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setAmContract setLocaldmain建议分开,这是两个接口,之前的单测是为了方便写在一起了,这里作为一个通用测试工具的话,需要对每个接口进行单元测试。还有这两接口的测试你看下涉及的内容,只是调用bbc接口就可以了,说明也不涉及eth特有的部分
|
||
import java.math.BigInteger; | ||
|
||
public class ETHSetProtocolTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用通用测试类,不涉及eth特有的操作
No description provided.