Skip to content

Commit

Permalink
Update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
gongg21 committed Oct 16, 2023
1 parent b190048 commit e12dcbd
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import seedu.address.model.person.Course;
import seedu.address.model.person.Email;
import seedu.address.model.person.Name;
import seedu.address.model.person.Remark;
import seedu.address.model.person.Student;
import seedu.address.model.tag.StudentRank;
import seedu.address.model.tag.Tag;
Expand Down Expand Up @@ -35,6 +36,7 @@ public EditStudentDescriptorBuilder(Student student) {
descriptor.setName(student.getName());
descriptor.setCourse(student.getCourse());
descriptor.setEmail(student.getEmail());
descriptor.setRemark(student.getRemark());
descriptor.setTags(student.getTags());
}

Expand Down Expand Up @@ -62,6 +64,14 @@ public EditStudentDescriptorBuilder withEmail(String email) {
return this;
}

/**
* Sets the {@code Remark} of the {@code EditPersonDescriptor} that we are building.
*/
public EditStudentDescriptorBuilder withRemark(String remark) {
descriptor.setRemark(new Remark(remark));
return this;
}


/**
* Parses the {@code tags} into a {@code Set<Tag>} and set it to the {@code EditPersonDescriptor}
Expand Down

0 comments on commit e12dcbd

Please sign in to comment.