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   
7   import org.kuali.student.common.dictionary.service.impl.DictionaryCreator;
8   import org.kuali.student.lum.lrc.dto.CredentialInfo;
9   import org.kuali.student.lum.lrc.dto.CreditInfo;
10  import org.kuali.student.lum.lrc.dto.GradeInfo;
11  import org.kuali.student.lum.lrc.dto.ResultComponentInfo;
12  import org.kuali.student.lum.lrc.dto.ScaleInfo;
13  
14  public class TestDictionaryCreator
15  {
16  
17   @Test
18   public void testRunDictinoaryCreator ()
19     throws IOException,
20            IntrospectionException,
21            SecurityException,
22            NoSuchFieldException
23   {
24    new DictionaryCreator ().execute (ResultComponentInfo.class,
25                                      "target/ks-ResultComponentInfo-dictinoary-context-generated.xml");
26    new DictionaryCreator ().execute (GradeInfo.class,
27                                      "target/ks-GradeInfo-dictinoary-context-generated.xml");
28    new DictionaryCreator ().execute (ScaleInfo.class,
29                                      "target/ks-ScaleInfo-dictinoary-context-generated.xml");
30    new DictionaryCreator ().execute (CreditInfo.class,
31                                      "target/ks-CreditInfo-dictinoary-context-generated.xml");
32    new DictionaryCreator ().execute (CredentialInfo.class,
33                                      "target/ks-CredentialInfo-dictinoary-context-generated.xml");
34   }
35  }