提交 69283583 authored 作者: xc's avatar xc

xc

上级 032f0c5b
import com.zjty.switches.service.CanalClientExample;
import com.zjty.switches.service.SwitchService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class TestData {
@Autowired
private SwitchService switchService;
@Test
public void testInsert(){
switchService.testData();
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论