1
|
package eu.dnetlib.dli.openaire.transform;
|
2
|
|
3
|
import org.junit.Ignore;
|
4
|
import org.junit.Test;
|
5
|
import org.junit.runner.RunWith;
|
6
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
7
|
|
8
|
@RunWith(SpringJUnit4ClassRunner.class)
|
9
|
|
10
|
@Ignore
|
11
|
public class StatsTest {
|
12
|
|
13
|
@Test
|
14
|
@Ignore
|
15
|
public void testStat() {
|
16
|
// Map<String, StatsInfo> stats = manager.getStats();
|
17
|
// for (String s : stats.keySet()) {
|
18
|
// StatsInfo st = stats.get(s);
|
19
|
//
|
20
|
// System.out.println("Datasource: " + s);
|
21
|
// System.out.println("\tNumber of Publication: " + st.getNumberOfPublication());
|
22
|
// System.out.println("\tNumber of Datasets: " + st.getNumberOfDatasets());
|
23
|
// System.out.println("\tNumber of Relations: " + st.getNumberOfRelations());
|
24
|
//
|
25
|
// }
|
26
|
|
27
|
}
|
28
|
}
|