Chromium Code Reviews
DescriptionSome more changes that came out of writing an article on mocks.
- wrap the matchers in anyOf/allOf
- add timestamps to log entries
- add ability to share logs
- changed 'called' to 'happened'; it scans better and makes more sense in throw cases
- added ability to pass an action matcher to getLogs
- moved getLogs back into Mock
Committed: https://code.google.com/p/dart/source/detail?r=9275
Patch Set 1 #Patch Set 2 : #
Total comments: 11
Patch Set 3 : #
Total comments: 11
Patch Set 4 : #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||