public void ElectiveCourseDegreeProgramIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(ElectiveCourse).GetProperty("degreeProgramID"));
 }
 public void PlanCoursePlanIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(PlanCourse).GetProperty("planID"));
 }
示例#3
0
 public void UsernameLength()
 {
     UnitTestHelpers.testStringLength(typeof(User).GetProperty("username"), 100);
     UnitTestHelpers.testStringLengthMin(typeof(User).GetProperty("username"), 3);
 }
示例#4
0
 public void RealNameLength()
 {
     UnitTestHelpers.testStringLength(typeof(User).GetProperty("realName"), 100);
 }
 public void PlanDegreeProgramIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Plan).GetProperty("degreeProgramID"));
 }
 public void PrerequisiteForCourseIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(PrerequisiteCourse).GetProperty("prerequisiteForCourseID"));
 }
示例#7
0
 public void CoursePrefixMaximumLength()
 {
     UnitTestHelpers.testStringLength(typeof(Course).GetProperty("coursePrefix"), 5);
 }
 public void ElectiveListShortNameMaxLength()
 {
     UnitTestHelpers.testStringLength(typeof(ElectiveList).GetProperty("shortName"), 20);
 }
 public void ElectiveCourseCreditsRange()
 {
     UnitTestHelpers.testRange(typeof(ElectiveCourse).GetProperty("credits"), 1, 18);
 }
示例#10
0
 public void CoursePrefixIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Course).GetProperty("coursePrefix"));
 }
 public void ElectiveCourseCreditsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(ElectiveCourse).GetProperty("credits"));
 }
 public void ElectiveCourseSemesterRange()
 {
     UnitTestHelpers.testRange(typeof(ElectiveCourse).GetProperty("semester"), 1, 8);
 }
 public void ElectiveCourseSemesterIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(ElectiveCourse).GetProperty("semester"));
 }
 public void PlanCourseOrderIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(PlanCourse).GetProperty("order"));
 }
示例#15
0
 public void CourseNumberIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Course).GetProperty("courseNumber"));
 }
 public void ElectiveListShortNameIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(ElectiveList).GetProperty("shortName"));
 }
示例#17
0
 public void CourseNumberRange()
 {
     UnitTestHelpers.testRange(typeof(Course).GetProperty("courseNumber"), 0, 999);
 }
示例#18
0
 public void PlanNameIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Plan).GetProperty("planName"));
 }
示例#19
0
 public void CourseTitleIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Course).GetProperty("courseTitle"));
 }
示例#20
0
 public void PlanSemesterIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Plan).GetProperty("semesterID"));
 }
示例#21
0
 public void CourseDescriptionIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Course).GetProperty("courseDescription"));
 }
 public void SemesterYearIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Semester).GetProperty("semesterYear"));
 }
示例#23
0
 public void CourseMaxCreditHoursIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(Course).GetProperty("maxHours"));
 }
示例#24
0
 public void RealNameIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(User).GetProperty("realName"));
 }
示例#25
0
 public void CourseMaxCreditHoursRange()
 {
     UnitTestHelpers.testRange(typeof(Course).GetProperty("maxHours"), 0, 18);
 }
 public void DegreeProgramNameIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(DegreeProgram).GetProperty("degreeProgramName"));
 }
 public void ElectiveCourseElectiveListIDIsRequired()
 {
     UnitTestHelpers.testIsRequired(typeof(ElectiveCourse).GetProperty("electiveListID"));
 }