summaryrefslogtreecommitdiff
path: root/testdata
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8: Support the "topic-changed" stream eventDavid Pursehouse2013-09-111-0/+13
| | | | Change-Id: I70b9cbea1da20a1434eea39e3d8e85e94357b792
* Fix #7: Support the "reviewer-added" stream eventDavid Pursehouse2013-09-111-0/+18
| | | | Change-Id: I72ece72c08ddc6da31c14db35dd84f35d61d39ed
* Fix #6: Support the "merge-failed" stream eventDavid Pursehouse2013-09-111-0/+19
| | | | Change-Id: I3308b44dc1bbfcaa70e38cb4857c2241c551cfa4
* Fix #5: Move json parsing and error handling into the event factoryDavid Pursehouse2013-09-111-0/+4
| | | | | | | | | | Pass the raw string into the event factory and parse it to a json object there. If the string is not valid json, generate an error event. Add a unit test for handling of invalid json on the event stream. Change-Id: I209a89fd28c3a594b71443fc106e25d58c5cc1ea
* Fix #3: Don't treat unhandled event types as errorsDavid Pursehouse2013-09-111-0/+3
| | | | | | | | If an unknown event is received on the event stream, for example if a new event has been added in a later version of Gerrit, do not raise an error. Instead, generate an "UnhandledEvent" event. Change-Id: Ia1902bf4a54883011b7ad3e004f58a2ba8739b21
* Simplify the unit test structureDavid Pursehouse2012-09-208-0/+115
The structure of the unit tests, copied from another module, is overly complicated for pygerrit. Change-Id: I05d1077a624e68e72a97a4a5e3c8892768d3ad17