31 lines
761 B
Java
31 lines
761 B
Java
package com.mesasoft.cn.dao;
|
|
|
|
import com.mesasoft.cn.WebSketchApplicationTest;
|
|
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 {
|
|
WebSketchApplicationTest.setSettings();
|
|
}
|
|
|
|
@Autowired
|
|
DownloadedDAO downloadDAO;
|
|
|
|
@Test
|
|
public void testGetDownloadBy() {
|
|
System.out.println(downloadDAO.listDownloadedBy(1, 1, "", ValueConsts.ZERO_INT, 0));
|
|
}
|
|
}
|