提交测试用例
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user