Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SampleDataUtil.java: Adding Fake data #248

Merged
merged 2 commits into from
Nov 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 90 additions & 2 deletions src/main/java/seedu/address/model/util/SampleDataUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@
public class SampleDataUtil {
public static Volunteer[] getSampleVolunteers() {
return new Volunteer[]{
new Volunteer(new Name("Zack ZeroRecords"), new VolunteerId("S0000000A"), new Gender("m"),
new Birthday("02-10-1993"), new Phone("97438807"),
new Email("zackzero@example.com"),
new Address("Blk 32 Sembawang Avenue 3, #09-40"),
getTagSet("driver")),
new Volunteer(new Name("Natalie NoRecords"), new VolunteerId("S0000001A"), new Gender("f"),
new Birthday("12-03-1993"), new Phone("91438807"),
new Email("natalienoerec@example.com"),
new Address("Blk 32 Woodlands Avenue 6, #01-32"),
getTagSet("speaker")),
new Volunteer(new Name("Samuel Same"), new VolunteerId("S0000002A"), new Gender("m"),
new Birthday("02-05-1982"), new Phone("91438807"),
new Email("samuelsame@example.com"),
new Address("Blk 323 Khatib Avenue 8, #01-32"),
getTagSet("student")),
new Volunteer(new Name("Samuel Same"), new VolunteerId("S0000003A"), new Gender("m"),
new Birthday("02-05-1980"), new Phone("92438807"),
new Email("secondsamuel@example.com"),
new Address("Blk 234 Yio Chu Kang Avenue 8, #04-32"),
getTagSet("student")),
new Volunteer(new Name("Alex Yeoh"), new VolunteerId("S9647345A"), new Gender("m"),
new Birthday("02-10-1996"), new Phone("87438807"),
new Email("alexyeoh@example.com"),
Expand Down Expand Up @@ -60,6 +80,56 @@ public static Volunteer[] getSampleVolunteers() {
new Birthday("01-01-1984"), new Phone("92624417"),
new Email("royb@example.com"),
new Address("Blk 45 Aljunied Street 85, #11-31"),
getTagSet("adult")),
new Volunteer(new Name("Zack Goh"), new VolunteerId("S1000000A"), new Gender("m"),
new Birthday("12-12-2001"), new Phone("91438807"),
new Email("zackgoh@example.com"),
new Address("Blk 321 Bishan Street 2, #09-40"),
getTagSet("driver")),
new Volunteer(new Name("Natalia Tan"), new VolunteerId("S2000001A"), new Gender("f"),
new Birthday("03-04-2001"), new Phone("91538807"),
new Email("natialiatan@example.com"),
new Address("Blk 418 Orchard Link 12, #31-1318"),
getTagSet("speaker")),
new Volunteer(new Name("Samuel Soh"), new VolunteerId("S3000002A"), new Gender("m"),
new Birthday("02-05-1995"), new Phone("91428807"),
new Email("samuelsoh@example.com"),
new Address("Blk 12 Upper Thomson Avenue 41, #04-3211"),
getTagSet("student")),
new Volunteer(new Name("Samuel Seah"), new VolunteerId("S4000003A"), new Gender("m"),
new Birthday("02-05-1960"), new Phone("92429807"),
new Email("seahsamuel@example.com"),
new Address("Blk 123 Admiralty Avenue 10, #06-3111"),
getTagSet("student")),
new Volunteer(new Name("Alexander Yeoh"), new VolunteerId("S9747345A"), new Gender("m"),
new Birthday("02-10-1997"), new Phone("87438807"),
new Email("alexanderyeoh@example.com"),
new Address("Blk 33 Geylang Street 29, #08-40"),
getTagSet("student")),
new Volunteer(new Name("Bella Yee"), new VolunteerId("S9918076J"), new Gender("f"),
new Birthday("15-03-1999"), new Phone("99272111"),
new Email("bellayee@example.com"),
new Address("Blk 30 Lorong 3 Serangoon Gardens, #09-18"),
getTagSet("student", "driver")),
new Volunteer(new Name("Charlene Neo"), new VolunteerId("S9873073E"), new Gender("f"),
new Birthday("17-09-1998"), new Phone("93210282"),
new Email("charleneneo@example.com"),
new Address("Blk 11 Ang Mo Kio Street 74, #11-04"),
getTagSet("adult")),
new Volunteer(new Name("David Lim"), new VolunteerId("G0212305C"), new Gender("m"),
new Birthday("28-04-2002"), new Phone("91041282"),
new Email("limdavid@example.com"),
new Address("Blk 436 Serangoon Gardens Street 21, #16-43"),
getTagSet("student")),
new Volunteer(new Name("Ahmad Ibrahim"), new VolunteerId("T0069463I"), new Gender("m"),
new Birthday("10-12-2000"), new Phone("92123021"),
new Email("ahmadi@example.com"),
new Address("Blk 47 Tampines Street 20, #17-35"),
getTagSet("student")),
new Volunteer(new Name("Ronald Vivek"), new VolunteerId("S8457737E"), new Gender("m"),
new Birthday("01-01-1984"), new Phone("92847417"),
new Email("ronav@example.com"),
new Address("Blk 45 Aljunied Street 85, #12-31"),
getTagSet("adult"))
};
}
Expand Down Expand Up @@ -168,8 +238,26 @@ public static Event[] getSampleEvents() {

public static Record[] getSampleRecord() {
return new Record[]{
new Record(new EventId(1), new VolunteerId("S1234567A"), new Hour("1"), new Remark("Emcee")),
new Record(new EventId(2), new VolunteerId("S1234567A"), new Hour("1"), new Remark("Delivery Man"))
new Record(new EventId(1), new VolunteerId("S0000000A"), new Hour("0"), new Remark("Costume Maker")),
new Record(new EventId(1), new VolunteerId("S0000002A"), new Hour("3"), new Remark("Food")),
new Record(new EventId(1), new VolunteerId("S0000003A"), new Hour("2"), new Remark("Dancer")),
new Record(new EventId(1), new VolunteerId("S9647345A"), new Hour("3"), new Remark("Emcee")),
new Record(new EventId(1), new VolunteerId("S8457737E"), new Hour("2"), new Remark("Coordinator")),
new Record(new EventId(2), new VolunteerId("S9918076J"), new Hour("1"), new Remark("Emcee")),
new Record(new EventId(2), new VolunteerId("S4000003A"), new Hour("1"), new Remark("Costume Maker")),
new Record(new EventId(2), new VolunteerId("S9518076J"), new Hour("1"), new Remark("Delivery Man")),
new Record(new EventId(3), new VolunteerId("S9518076J"), new Hour("1"), new Remark("Delivery Man")),
new Record(new EventId(3), new VolunteerId("S0000002A"), new Hour("2"), new Remark("Coffee Boy")),
new Record(new EventId(4), new VolunteerId("S9647345A"), new Hour("0"), new Remark("Costume Maker")),
new Record(new EventId(5), new VolunteerId("S9518076J"), new Hour("3"), new Remark("Food")),
new Record(new EventId(6), new VolunteerId("F9273073E"), new Hour("2"), new Remark("Dancer")),
new Record(new EventId(7), new VolunteerId("G0213905C"), new Hour("3"), new Remark("Emcee")),
new Record(new EventId(8), new VolunteerId("T0069459I"), new Hour("2"), new Remark("Coordinator")),
new Record(new EventId(9), new VolunteerId("S9918076J"), new Hour("1"), new Remark("Emcee")),
new Record(new EventId(10), new VolunteerId("S8457737E"), new Hour("1"), new Remark("Costume Maker")),
new Record(new EventId(11), new VolunteerId("G0212305C"), new Hour("1"), new Remark("Delivery Man")),
new Record(new EventId(12), new VolunteerId("S9747345A"), new Hour("1"), new Remark("Delivery Man")),
new Record(new EventId(13), new VolunteerId("S3000002A"), new Hour("2"), new Remark("Coffee Boy")),
};
}

Expand Down