use of teammates.ui.template.StudentInfoTable in project teammates by TEAMMATES.
the class InstructorCourseStudentDetailsEditPageDataTest method allTests.
@Test
public void allTests() {
InstructorCourseStudentDetailsEditPageData data = createData();
______TS("With no student profile (Details edit shows only the info table)");
assertNull(data.getStudentProfile());
StudentInfoTable studentInfoTable = data.getStudentInfoTable();
assertNotNull(studentInfoTable);
assertEquals(inputStudent.name, studentInfoTable.getName());
assertEquals(inputStudent.email, studentInfoTable.getEmail());
assertEquals(inputStudent.section, studentInfoTable.getSection());
assertEquals(inputStudent.team, studentInfoTable.getTeam());
assertEquals(inputStudent.comments, studentInfoTable.getComments());
assertEquals(inputStudent.course, studentInfoTable.getCourse());
assertEquals(hasSection, studentInfoTable.getHasSection());
}
Aggregations