summaryrefslogtreecommitdiff
path: root/src/test/java/com/mesasoft/cn/dao/DownloadedDAOTest.java
blob: df8ec442de2acfe33f42194d75257e65c2a5ba78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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));
    }
}