1 |
53003
|
panagiotis
|
package unitest;
|
2 |
|
|
|
3 |
|
|
import eu.dnetlib.repo.manager.service.controllers.SushiliteApi;
|
4 |
|
|
import org.junit.Test;
|
5 |
|
|
import org.junit.runner.RunWith;
|
6 |
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
7 |
|
|
import org.springframework.test.context.ContextConfiguration;
|
8 |
|
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
9 |
|
|
import org.springframework.test.context.web.WebAppConfiguration;
|
10 |
|
|
|
11 |
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
12 |
|
|
@ContextConfiguration(locations = "classpath:applicationContext.xml")
|
13 |
|
|
//@WebAppConfiguration
|
14 |
|
|
public class SushiTest {
|
15 |
|
|
|
16 |
|
|
@Autowired
|
17 |
|
|
SushiliteApi sushiliteApi;
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
@Test
|
21 |
|
|
public void getReportResults(){
|
22 |
|
|
System.out.println("test");
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
}
|