| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.lum.statement.service.impl; |
| 17 |
|
|
| 18 |
|
import static org.junit.Assert.assertEquals; |
| 19 |
|
|
| 20 |
|
import org.junit.BeforeClass; |
| 21 |
|
import org.junit.Test; |
| 22 |
|
import org.junit.runner.RunWith; |
| 23 |
|
import org.kuali.student.common.exceptions.DoesNotExistException; |
| 24 |
|
import org.kuali.student.common.exceptions.InvalidParameterException; |
| 25 |
|
import org.kuali.student.common.exceptions.MissingParameterException; |
| 26 |
|
import org.kuali.student.common.exceptions.OperationFailedException; |
| 27 |
|
import org.kuali.student.core.statement.service.StatementService; |
| 28 |
|
import org.springframework.beans.factory.annotation.Autowired; |
| 29 |
|
import org.springframework.test.context.ContextConfiguration; |
| 30 |
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| 31 |
|
|
| 32 |
|
@RunWith(SpringJUnit4ClassRunner.class) |
| 33 |
|
@ContextConfiguration(locations={"classpath:statement-additional-context.xml"}) |
|
|
|
| 0% |
Uncovered Elements: 133 (133) |
Complexity: 45 |
Complexity Density: 0.51 |
|
| 34 |
|
public class TestStatementServiceImplForCourse { |
| 35 |
|
|
| 36 |
|
@Autowired |
| 37 |
|
public StatementService statementService; |
| 38 |
|
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 39 |
0
|
@BeforeClass... |
| 40 |
|
public static void beforeClass() { |
| 41 |
|
} |
| 42 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 43 |
0
|
@Test... |
| 44 |
|
public void testGetNaturalLanguageForReqComponent_DefaultEnglish() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 45 |
|
|
| 46 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-1", "KUALI.RULE", null); |
| 47 |
0
|
assertEquals("Must not have successfully completed MATH152", nl); |
| 48 |
|
} |
| 49 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 50 |
0
|
@Test... |
| 51 |
|
public void testGetNaturalLanguageForReqComponent_none1() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 52 |
|
|
| 53 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-1", "KUALI.RULE", "en"); |
| 54 |
0
|
assertEquals("Must not have successfully completed MATH152", nl); |
| 55 |
|
} |
| 56 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 57 |
0
|
@Test... |
| 58 |
|
public void testGetNaturalLanguageForReqComponent_noneN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 59 |
|
|
| 60 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-2", "KUALI.RULE", "en"); |
| 61 |
0
|
assertEquals("Must not have successfully completed any courses from (MATH152, MATH180)", nl); |
| 62 |
|
} |
| 63 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 64 |
0
|
@Test... |
| 65 |
|
public void testGetNaturalLanguageForReqComponent_all1() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 66 |
|
|
| 67 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-3", "KUALI.RULE", "en"); |
| 68 |
0
|
assertEquals("Must have successfully completed MATH152", nl); |
| 69 |
|
} |
| 70 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 71 |
0
|
@Test... |
| 72 |
|
public void testGetNaturalLanguageForReqComponent_allN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 73 |
|
|
| 74 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-4", "KUALI.RULE", "en"); |
| 75 |
0
|
assertEquals("Must have successfully completed all courses from (MATH152, MATH180)", nl); |
| 76 |
|
} |
| 77 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 78 |
0
|
@Test... |
| 79 |
|
public void testGetNaturalLanguageForReqComponent_1of1() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 80 |
|
|
| 81 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-5", "KUALI.RULE", "en"); |
| 82 |
0
|
assertEquals("Must have successfully completed MATH152", nl); |
| 83 |
|
} |
| 84 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 85 |
0
|
@Test... |
| 86 |
|
public void testGetNaturalLanguageForReqComponent_1ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 87 |
|
|
| 88 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-6", "KUALI.RULE", "en"); |
| 89 |
0
|
assertEquals("Must have successfully completed a minimum of 1 course from (MATH152, MATH180)", nl); |
| 90 |
|
} |
| 91 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 92 |
0
|
@Test... |
| 93 |
|
public void testGetNaturalLanguageForReqComponent_2ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 94 |
|
|
| 95 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-7", "KUALI.RULE", "en"); |
| 96 |
0
|
assertEquals("Must have successfully completed a minimum of 2 courses from (MATH152, MATH180)", nl); |
| 97 |
|
} |
| 98 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 99 |
0
|
@Test... |
| 100 |
|
public void testGetNaturalLanguageForReqComponent_enroll_1ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 101 |
|
|
| 102 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-8", "KUALI.RULE", "en"); |
| 103 |
0
|
assertEquals("Must be concurrently enrolled in a minimum of 1 course from (MATH152, MATH180)", nl); |
| 104 |
|
} |
| 105 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 106 |
0
|
@Test... |
| 107 |
|
public void testGetNaturalLanguageForReqComponent_enroll_2ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 108 |
|
|
| 109 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-9", "KUALI.RULE", "en"); |
| 110 |
0
|
assertEquals("Must be concurrently enrolled in a minimum of 2 courses from (MATH152, MATH180)", nl); |
| 111 |
|
} |
| 112 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 113 |
0
|
@Test... |
| 114 |
|
public void testGetNaturalLanguageForReqComponent_credits_1ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 115 |
|
|
| 116 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-10", "KUALI.RULE", "en"); |
| 117 |
0
|
assertEquals("Must have successfully completed a minimum of 1 credit from (MATH152, MATH180)", nl); |
| 118 |
|
} |
| 119 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 120 |
0
|
@Test... |
| 121 |
|
public void testGetNaturalLanguageForReqComponent_credits_2ofN() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 122 |
|
|
| 123 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-11", "KUALI.RULE", "en"); |
| 124 |
0
|
assertEquals("Must have successfully completed a minimum of 2 credits from (MATH152, MATH180)", nl); |
| 125 |
|
} |
| 126 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 127 |
0
|
@Test... |
| 128 |
|
public void testGetNaturalLanguageForReqComponent_credits_none() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 129 |
|
|
| 130 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-12", "KUALI.RULE", "en"); |
| 131 |
0
|
assertEquals("Must not have successfully completed any credits from (MATH152, MATH180)", nl); |
| 132 |
|
} |
| 133 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 134 |
0
|
@Test... |
| 135 |
|
public void testGetNaturalLanguageForReqComponent_credits_max1() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 136 |
|
|
| 137 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-13", "KUALI.RULE", "en"); |
| 138 |
0
|
assertEquals("Must successfully complete no more than 1 credit from (MATH152, MATH180)", nl); |
| 139 |
|
} |
| 140 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 141 |
0
|
@Test... |
| 142 |
|
public void testGetNaturalLanguageForReqComponent_credits_max2() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 143 |
|
|
| 144 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-14", "KUALI.RULE", "en"); |
| 145 |
0
|
assertEquals("Must successfully complete no more than 2 credits from (MATH152, MATH180)", nl); |
| 146 |
|
} |
| 147 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 148 |
0
|
@Test... |
| 149 |
|
public void testGetNaturalLanguageForReqComponent_gradecheck() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 150 |
|
|
| 151 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-15", "KUALI.RULE", "en"); |
| 152 |
0
|
assertEquals("Must have earned a minimum GPA of 3.5 in (MATH152, MATH180)", nl); |
| 153 |
|
} |
| 154 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 155 |
0
|
@Test... |
| 156 |
|
public void testGetNaturalLanguageForReqComponent_grade_min_GradeType_Letter() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 157 |
|
|
| 158 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-16a", "KUALI.RULE", "en"); |
| 159 |
0
|
assertEquals("Must have earned a minimum grade of letter B in (MATH152, MATH180)", nl); |
| 160 |
|
} |
| 161 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 162 |
0
|
@Test... |
| 163 |
|
public void testGetNaturalLanguageForReqComponent_grade_min_GradeType_Percentage() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 164 |
|
|
| 165 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-16b", "KUALI.RULE", "en"); |
| 166 |
0
|
assertEquals("Must have earned a minimum grade of percentage 70-79% in (MATH152, MATH180)", nl); |
| 167 |
|
} |
| 168 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 169 |
0
|
@Test... |
| 170 |
|
public void testGetNaturalLanguageForReqComponent_grade_min_GradeType_PassFail() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 171 |
|
|
| 172 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-16c", "KUALI.RULE", "en"); |
| 173 |
0
|
assertEquals("Must have earned a minimum grade of Pass in (MATH152, MATH180)", nl); |
| 174 |
|
} |
| 175 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 176 |
0
|
@Test... |
| 177 |
|
public void testGetNaturalLanguageForReqComponent_grade_min_GradeType_CompletedNotation() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 178 |
|
|
| 179 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-16d", "KUALI.RULE", "en"); |
| 180 |
0
|
assertEquals("Must have earned a minimum grade of In-Progress in (MATH152, MATH180)", nl); |
| 181 |
|
} |
| 182 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 183 |
0
|
@Test... |
| 184 |
|
public void testGetNaturalLanguageForReqComponent_grade_min_GradeType_Satisfactory() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 185 |
|
|
| 186 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-16e", "KUALI.RULE", "en"); |
| 187 |
0
|
assertEquals("Must have earned a minimum grade of Satisfactory in (MATH152, MATH180)", nl); |
| 188 |
|
} |
| 189 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 190 |
0
|
@Test... |
| 191 |
|
public void testGetNaturalLanguageForReqComponent_grade_max_GradeType_Letter() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 192 |
|
|
| 193 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-17a", "KUALI.RULE", "en"); |
| 194 |
0
|
assertEquals("Must not have earned a maximum grade of letter C or higher in (MATH152, MATH180)", nl); |
| 195 |
|
} |
| 196 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 197 |
0
|
@Test... |
| 198 |
|
public void testGetNaturalLanguageForReqComponent_grade_max_GradeType_CompletedNotation() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 199 |
|
|
| 200 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-17b", "KUALI.RULE", "en"); |
| 201 |
0
|
assertEquals("Must not have earned a maximum grade of Not-Satisfactory or higher in (MATH152, MATH180)", nl); |
| 202 |
|
} |
| 203 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 204 |
0
|
@Test... |
| 205 |
|
public void testGetNaturalLanguageForReqComponent_perm_org() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 206 |
|
|
| 207 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-18", "KUALI.RULE", "en"); |
| 208 |
0
|
assertEquals("Permission of English Dept required", nl); |
| 209 |
|
} |
| 210 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 211 |
0
|
@Test... |
| 212 |
|
public void testGetNaturalLanguageForReqComponent_perm_instructor() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 213 |
|
|
| 214 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-19", "KUALI.RULE", "en"); |
| 215 |
0
|
assertEquals("Permission of instructor required", nl); |
| 216 |
|
} |
| 217 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 218 |
0
|
@Test... |
| 219 |
|
public void testGetNaturalLanguageForReqComponent_allN_CluSetOfClusets() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 220 |
|
|
| 221 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-20", "KUALI.RULE", "en"); |
| 222 |
0
|
assertEquals("Must have successfully completed all courses from (MATH152, MATH221, MATH180, MATH200, MATH215)", nl); |
| 223 |
|
} |
| 224 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 225 |
0
|
@Test... |
| 226 |
|
public void testGetNaturalLanguageForReqComponent_MinTestScoreOnTest() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 227 |
|
|
| 228 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-21", "KUALI.RULE", "en"); |
| 229 |
0
|
assertEquals("Must have achieved a minimum score of 600 on SAT Critical Reading Exam", nl); |
| 230 |
|
} |
| 231 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 232 |
0
|
@Test... |
| 233 |
|
public void testGetNaturalLanguageForReqComponent_MaxTestScoreOnTest() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 234 |
|
|
| 235 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-22", "KUALI.RULE", "en"); |
| 236 |
0
|
assertEquals("Must have achieved a score no higher than 900 on SAT Critical Reading Exam", nl); |
| 237 |
|
} |
| 238 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 239 |
0
|
@Test... |
| 240 |
|
public void testGetNaturalLanguageForReqComponent_MinCoursesMinGradeTest_GradeType_Letter() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 241 |
|
|
| 242 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-23a", "KUALI.RULE", "en"); |
| 243 |
0
|
assertEquals("Must successfully complete a minimum of 1 course with a minimum grade of letter B from (MATH152, MATH180)", nl); |
| 244 |
|
} |
| 245 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 246 |
0
|
@Test... |
| 247 |
|
public void testGetNaturalLanguageForReqComponent_MinCoursesMinGradeTest_GradeType_CompletedNotation() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 248 |
|
|
| 249 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-23b", "KUALI.RULE", "en"); |
| 250 |
0
|
assertEquals("Must successfully complete a minimum of 1 course with a minimum grade of Completed from (MATH152, MATH180)", nl); |
| 251 |
|
} |
| 252 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 253 |
0
|
@Test... |
| 254 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_org_duration_ProgramAsClu() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 255 |
|
|
| 256 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-24a", "KUALI.RULE", "en"); |
| 257 |
0
|
assertEquals("Students admitted to Sociology may take no more than 2 courses in the English Dept in 1 year", nl); |
| 258 |
|
} |
| 259 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 260 |
0
|
@Test... |
| 261 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_org_duration_ProgramAsCluSet() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 262 |
|
|
| 263 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-24b", "KUALI.RULE", "en"); |
| 264 |
0
|
assertEquals("Students admitted to Sociology may take no more than 2 courses in the English Dept in 1 year", nl); |
| 265 |
|
} |
| 266 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 267 |
0
|
@Test... |
| 268 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_org_duration_ProgramAsClu() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 269 |
|
|
| 270 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-25a", "KUALI.RULE", "en"); |
| 271 |
0
|
assertEquals("Students not admitted to Sociology may take no more than 3 courses in the Computer Science Dept in 1 year", nl); |
| 272 |
|
} |
| 273 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 274 |
0
|
@Test... |
| 275 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_org_duration_ProgramAsCluSet() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 276 |
|
|
| 277 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-25b", "KUALI.RULE", "en"); |
| 278 |
0
|
assertEquals("Students not admitted to Sociology may take no more than 3 courses in the Computer Science Dept in 1 year", nl); |
| 279 |
|
} |
| 280 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 281 |
0
|
@Test... |
| 282 |
|
public void testGetNaturalLanguageForReqComponent_kuali_reqComponent_type_course_org_program_admitted() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 283 |
|
|
| 284 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-26", "KUALI.RULE", "en"); |
| 285 |
0
|
assertEquals("Must be admitted to any program offered at the course campus location", nl); |
| 286 |
|
} |
| 287 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 288 |
0
|
@Test... |
| 289 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_ProgramAsClu() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 290 |
|
|
| 291 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-27a", "KUALI.RULE", "en"); |
| 292 |
0
|
assertEquals("Must not have been admitted to the Sociology program", nl); |
| 293 |
|
} |
| 294 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 295 |
0
|
@Test... |
| 296 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_notadmitted_ProgramAsCluSet() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 297 |
|
|
| 298 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-27b", "KUALI.RULE", "en"); |
| 299 |
0
|
assertEquals("Must not have been admitted to the Sociology program", nl); |
| 300 |
|
} |
| 301 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 302 |
0
|
@Test... |
| 303 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_credits_repeat_max() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 304 |
|
|
| 305 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-28", "KUALI.RULE", "en"); |
| 306 |
0
|
assertEquals("May be repeated for a maximum of 6 credits", nl); |
| 307 |
|
} |
| 308 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 309 |
0
|
@Test... |
| 310 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_org_credits_completed_min() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 311 |
|
|
| 312 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-29", "KUALI.RULE", "en"); |
| 313 |
0
|
assertEquals("Must have successfully completed a minimum of 30 credits from courses in the Computer Science Dept", nl); |
| 314 |
|
} |
| 315 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 316 |
0
|
@Test... |
| 317 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_ProgramAsClu() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 318 |
|
|
| 319 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-30a", "KUALI.RULE", "en"); |
| 320 |
0
|
assertEquals("Must have been admitted to the Sociology program", nl); |
| 321 |
|
} |
| 322 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 323 |
0
|
@Test... |
| 324 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_ProgramAsCluSet() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 325 |
|
|
| 326 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-30b", "KUALI.RULE", "en"); |
| 327 |
0
|
assertEquals("Must have been admitted to the Sociology program", nl); |
| 328 |
|
} |
| 329 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 330 |
0
|
@Test... |
| 331 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_completed() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 332 |
|
|
| 333 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-31", "KUALI.RULE", "en"); |
| 334 |
0
|
assertEquals("Must have successfully completed MATH152", nl); |
| 335 |
|
} |
| 336 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 337 |
0
|
@Test... |
| 338 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_enrolled() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 339 |
|
|
| 340 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-32", "KUALI.RULE", "en"); |
| 341 |
0
|
assertEquals("Must be concurrently enrolled in MATH152", nl); |
| 342 |
|
} |
| 343 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
4
-
|
|
| 344 |
0
|
@Test... |
| 345 |
|
public void testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_notcompleted() throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException { |
| 346 |
|
|
| 347 |
0
|
String nl = statementService.getNaturalLanguageForReqComponent("REQCOMP-33", "KUALI.RULE", "en"); |
| 348 |
0
|
assertEquals("Must not have successfully completed MATH152", nl); |
| 349 |
|
} |
| 350 |
|
} |