Commit graph

12 commits

Author SHA1 Message Date
P.Y. Laligand ce79a77331 Remove Fuchsia-specific build files.
Also fix Fuchsia tools to account for new project location (//third_party/dart).

Change-Id: If89a934729c4fa44229eaca83219dbdf8bb700a8
Bug:
Reviewed-on: https://dart-review.googlesource.com/14800
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2017-10-19 17:52:37 +00:00
Erik Corry 029b1cb948 Spelling fixes e to i.
R=kevmoo@google.com
BUG=

Review-Url: https://codereview.chromium.org/2957593002 .
2017-06-24 13:41:39 +02:00
P.Y. Laligand 21e9c40b8f Disable analysis on a few packages. (#29571) 2017-05-05 22:06:00 -07:00
Jacob Richman de54e18369 Run dartfmt on remaining unformated pkg packages
BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2743423009 .
2017-03-21 18:21:32 -07:00
Adam Barth 34f1501149 Updated build files for Fuchsia.
BUG=
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/2408713004 .
2016-10-11 12:17:15 -07:00
Jim Beveridge 39168c33cd Add tutorial in the README 2016-01-11 16:18:06 -08:00
scheglov@google.com 5feac9cc7b typed_mock/README.md
R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//448783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38939 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 18:37:49 +00:00
scheglov@google.com f133e5eded Add 'resetInteractions' into typed_mock.
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
2014-06-10 18:23:25 +00:00
scheglov@google.com e30e380c3c Make matcher classes constant.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//318683003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37001 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-04 17:25:09 +00:00
scheglov@google.com 6fe362f666 Tweaks for typed_mock.
1. Force dynamic type for 'any*' matchers, now we propagate types of top-level variables and fields, so using these matchers causes hints.

2. Remove equals() matcher, in conflicts with the one from unittest.

R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//311893002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36954 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 22:21:20 +00:00
scheglov@google.com 825c22cb02 Add the required LICENSE file.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//285073002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36171 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 15:50:01 +00:00
scheglov@google.com 8efee14586 Add a top-level typed_mock package.
R=brianwilkerson@google.com, danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//281943002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36170 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 15:36:18 +00:00