mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![scheglov@google.com](/assets/img/avatar_default.png)
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
10 lines
259 B
YAML
10 lines
259 B
YAML
name: typed_mock
|
|
version: 0.0.4
|
|
author: Dart Team <misc@dartlang.org>
|
|
description: A library for mocking classes using Mockito-like syntax
|
|
homepage: http://www.dartlang.org
|
|
environment:
|
|
sdk: '>=1.0.0 <2.0.0'
|
|
dev_dependencies:
|
|
unittest: '>=0.10.0 <0.12.0'
|