initialize
This commit is contained in:
30
src/test/java/com/mesasoft/cn/dao/DownloadedDAOTest.java
Normal file
30
src/test/java/com/mesasoft/cn/dao/DownloadedDAOTest.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.mesasoft.cn.dao;
|
||||
|
||||
import com.mesasoft.cn.SketchApplicationTest;
|
||||
import com.zhazhapan.modules.constant.ValueConsts;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author pantao
|
||||
* @since 2018/1/19
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
public class DownloadedDAOTest {
|
||||
|
||||
static {
|
||||
SketchApplicationTest.setSettings();
|
||||
}
|
||||
|
||||
@Autowired
|
||||
DownloadedDAO downloadDAO;
|
||||
|
||||
@Test
|
||||
public void testGetDownloadBy() {
|
||||
System.out.println(downloadDAO.listDownloadedBy(1, 1, "", ValueConsts.ZERO_INT, 0));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user