Package edu.pdx.cs.joy.grader
Class ProjectSubmissionsProcessorTest
java.lang.Object
edu.pdx.cs.joy.grader.ProjectSubmissionsProcessorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidGiven: A submission from a student whose name is in the grade book, but whose id is not When: The submission is recorded Then: The submission is noted under the expected id and a new Student is not created.voidvoidvoidvoidvoid
-
Constructor Details
-
ProjectSubmissionsProcessorTest
public ProjectSubmissionsProcessorTest()
-
-
Method Details
-
matchStudentBasedOnFirstAndLastName
@Test public void matchStudentBasedOnFirstAndLastName() throws StudentEmailAttachmentProcessor.SubmissionExceptionGiven: A submission from a student whose name is in the grade book, but whose id is not When: The submission is recorded Then: The submission is noted under the expected id and a new Student is not created. This tests issue #52 (https://github.com/JoyOfCodingPDX/JoyOfCoding/issues/52) -
matchStudentBasedOnNickAndLastName
@Test public void matchStudentBasedOnNickAndLastName() throws StudentEmailAttachmentProcessor.SubmissionException -
matchStudentBasedOnEmail
@Test public void matchStudentBasedOnEmail() throws StudentEmailAttachmentProcessor.SubmissionException -
submissionDoesNotMatchAnyStudentInGradeBook
-
submissionTimeNotedInGradeBook
@Test public void submissionTimeNotedInGradeBook() throws StudentEmailAttachmentProcessor.SubmissionException -
estimatedHoursNotedInGradeBook
@Test public void estimatedHoursNotedInGradeBook() throws StudentEmailAttachmentProcessor.SubmissionException -
submissionsPastDueDateAreLate
@Test public void submissionsPastDueDateAreLate() throws StudentEmailAttachmentProcessor.SubmissionException -
submissionsBeforeDueDateAreNoteLate
@Test public void submissionsBeforeDueDateAreNoteLate() throws StudentEmailAttachmentProcessor.SubmissionException
-