Created
December 12, 2010 19:31
-
-
Save wmbest2/738258 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ArrayList<Listing> createListings() { | |
ArrayList<Listing> result = new ArrayList<Listing>(); | |
Listing listing = new Listing(); | |
listing.setChannelNumber("1"); | |
listing.setFullTitle("TMZ"); | |
listing.setCategory("news"); | |
listing.setStartTime(11111); | |
listing.setEndTime(10101); | |
listing.setDuration("1800"); | |
listing.setLongDescription("This is a long description for the first test Listing"); | |
listing.setTvRating("TVPG"); | |
result.add(listing); | |
listing.setChannelNumber("2"); | |
listing.setFullTitle("Simpsons"); | |
listing.setCategory("comedy"); | |
listing.setStartTime(22222); | |
listing.setEndTime(20202); | |
listing.setDuration("3600"); | |
listing.setLongDescription("This is a long description for the second test Listing"); | |
listing.setTvRating("Y"); | |
result.add(listing); | |
listing.setChannelNumber("3"); | |
listing.setFullTitle("Family Guy"); | |
listing.setCategory("cartoon"); | |
listing.setStartTime(33333); | |
listing.setEndTime(30303); | |
listing.setDuration("5400"); | |
listing.setLongDescription("This is a long description for the 3rd test Listing"); | |
listing.setTvRating("TV Mature"); | |
result.add(listing); | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment