mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
f133e5eded
1. I decided not to change the verifyZeroInteractions(TypedMock) API. There is an advantage in having it typed, such as (potentially) improved code completion. The drawback is that tests have to use MyClassMock type annotatino instead of MyClass. But TypedMock does not have any API, so it should not be a big problem. 2. It is impossible to distinguish 'get:foo' access from taking a reference to a method or property invocation. I guess it is intentional. We could probably distinguish them using mirrors, but typed_mock should work without mirrors. So, resetInteractions() should be used. R=brianwilkerson@google.com, paulberry@google.com BUG= Review URL: https://codereview.chromium.org//324083005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37191 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
.. | ||
lib | ||
test | ||
LICENSE | ||
pubspec.yaml |