Commit graph

3 commits

Author SHA1 Message Date
Paul Baranowski
2e74ba7c06 Fixed the calendar load test script. Changed the code to use the DateTime
object and also fixed a bug when creating the ShowInstance object --
it was using the wrong ID in the constructor.

Added some documentation to the Shows::getShows() method.
2011-04-01 18:25:00 -04:00
Paul Baranowski
cdfe0ce197 Tweaks to the calendar load test. 2011-03-30 17:32:23 -04:00
Paul Baranowski
e5cbfa6ecd Added Ofir's Calendar load test.
In order to make it work, I made the following changes:

Merged Playlist::Insert() into the create() function, now there
is only one way to create a playlist.

Renamed Show::addShow() to Show::create() to make the API like
the other classes.  It returns the created show ID now.

Renamed Show::populateShowUntilLastGeneratedDate() to Show::populateShowUntil(),
allowed it to accept a second parameter for an end date.

Renamed Show::populateShowsUntil() to Show::populateAllShowsInRange().

Added documentation to a number of functions.
2011-03-30 17:27:14 -04:00