| 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 |  |  | 
               
        |  |  | 
           
           |  | 100% | Uncovered Elements: 0 (12) | Complexity: 1 | Complexity Density: 0.09 |  | 
  
  
    | 7 |  | public class TestSearchConfigs | 
            
  
    | 8 |  | { | 
            
  
    | 9 |  |  | 
               
        |  |  | 
           
           |  | 100% | Uncovered Elements: 0 (11) | Complexity: 1 | Complexity Density: 0.09 | 1
    PASS |  | 
  
  
    | 10 | 1 |  @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 |  | } |