Clover Coverage Report - KS LUM Impl 1.2-M4-SNAPSHOT
Coverage timestamp: Wed Jul 20 2011 13:49:35 EDT
11   30   1   11
0   27   0.09   1
1     1  
1    
 
  TestSearchConfigs       Line # 7 11 0% 1 0 100% 1.0
 
  (1)
 
1    package org.kuali.student.lum.course.service.impl;
2   
3    import java.util.LinkedHashMap;
4    import java.util.Map;
5    import org.junit.Test;
6   
 
7    public class TestSearchConfigs
8    {
9   
 
10  1 toggle @Test
11    public void testLuSearchConfig ()
12    {
13  1 Map<String, String> configs = new LinkedHashMap ();
14  1 configs.put ("lu", "ks-lum/ks-lum-impl");
15  1 configs.put ("lo", "ks-lum/ks-lum-impl");
16  1 configs.put ("lrc", "ks-lum/ks-lum-impl");
17  1 for (String key : configs.keySet ())
18    {
19  3 String searchConfigFileName = key + "-search-config.xml";
20  3 String projectLocation = configs.get (key);
21  3 String outFile = "target/" + key + "-search-config.txt";
22  3 System.out.println ("processing " + key + ": see " + outFile + " for configuration summary");
23  3 SearchConfigTesterHelper helper =
24    new SearchConfigTesterHelper (outFile,
25    projectLocation,
26    searchConfigFileName);
27  3 helper.doTest ();
28    }
29    }
30    }