1 |
|
package org.kuali.student.core.dictionary.service; |
2 |
|
|
3 |
|
import java.util.LinkedHashMap; |
4 |
|
import java.util.Map; |
5 |
|
import org.junit.Test; |
6 |
|
|
|
|
| 0% |
Uncovered Elements: 14 (14) |
Complexity: 1 |
Complexity Density: 0.08 |
|
7 |
|
public class TestSearchConfigs |
8 |
|
{ |
9 |
|
|
|
|
| 0% |
Uncovered Elements: 13 (13) |
Complexity: 1 |
Complexity Density: 0.08 |
4
-
|
|
10 |
0
|
@Test... |
11 |
|
public void testSearchConfig () |
12 |
|
{ |
13 |
0
|
Map<String, String> configs = new LinkedHashMap (); |
14 |
0
|
configs.put ("em", "ks-core/ks-core-impl"); |
15 |
0
|
configs.put ("proposal", "ks-core/ks-core-impl"); |
16 |
0
|
configs.put ("atp", "ks-core/ks-core-impl"); |
17 |
0
|
configs.put ("comment", "ks-core/ks-core-impl"); |
18 |
0
|
configs.put ("organization", "ks-core/ks-core-impl"); |
19 |
0
|
for (String key : configs.keySet ()) |
20 |
|
{ |
21 |
0
|
System.out.println ("processing " + key); |
22 |
0
|
String searchConfigFileName = key + "-search-config.xml"; |
23 |
0
|
String projectLocation = configs.get (key); |
24 |
0
|
String outFile = "target/" + key + "-search-config.txt"; |
25 |
0
|
SearchConfigTesterHelper helper = |
26 |
|
new SearchConfigTesterHelper (outFile, |
27 |
|
projectLocation, |
28 |
|
searchConfigFileName); |
29 |
0
|
helper.doTest (); |
30 |
|
} |
31 |
|
} |
32 |
|
} |