提交测试用例

This commit is contained in:
zhouxiunai
2019-01-08 14:57:23 +08:00
parent f4613f219e
commit a4844a783d
5 changed files with 171 additions and 48 deletions
@@ -0,0 +1,23 @@
package com.gzzn.omms.msgexchangeapi.dao;
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 CoutmsgDaoTest {
@Autowired
private CmoutmsgDao cmoutmsgDao;
@Test
public void testFindByCminmsgsIdGreaterThanAndCminmsgsDateProcessedIsNull()
{
Integer maxId = cmoutmsgDao.findMaxId();
System.out.println("maxId:"+maxId);
}
}