View Javadoc

1   package org.kuali.student.lum.course.service.impl;
2   
3   import org.junit.Test;
4   import java.beans.IntrospectionException;
5   import java.io.IOException;
6   import org.kuali.student.core.dictionary.service.impl.DictionaryCreator;
7   import org.kuali.student.lum.lrc.dto.CredentialInfo;
8   import org.kuali.student.lum.lrc.dto.CreditInfo;
9   import org.kuali.student.lum.lrc.dto.GradeInfo;
10  import org.kuali.student.lum.lrc.dto.ResultComponentInfo;
11  import org.kuali.student.lum.lrc.dto.ScaleInfo;
12  
13  public class TestDictionaryCreator
14  {
15  
16   @Test
17   public void testRunDictinoaryCreator ()
18     throws IOException,
19            IntrospectionException,
20            SecurityException,
21            NoSuchFieldException
22   {
23    new DictionaryCreator ().execute (ResultComponentInfo.class,
24                                      "target/ks-ResultComponentInfo-dictinoary-context-generated.xml");
25    new DictionaryCreator ().execute (GradeInfo.class,
26                                      "target/ks-GradeInfo-dictinoary-context-generated.xml");
27    new DictionaryCreator ().execute (ScaleInfo.class,
28                                      "target/ks-ScaleInfo-dictinoary-context-generated.xml");
29    new DictionaryCreator ().execute (CreditInfo.class,
30                                      "target/ks-CreditInfo-dictinoary-context-generated.xml");
31    new DictionaryCreator ().execute (CredentialInfo.class,
32                                      "target/ks-CredentialInfo-dictinoary-context-generated.xml");
33   }
34  }