Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Unified Diff: pkg/unittest/lib/mock.dart

Issue 134963002: pkg/unittest: add @proxy to Mock (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/pkg.status ('k') | pkg/unittest/test/mock_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/mock.dart
diff --git a/pkg/unittest/lib/mock.dart b/pkg/unittest/lib/mock.dart
index ad4886cf1d1862cc48dbb8989ed1d520880eafc7..a4216cf03d7b96a1b9c4b40887d0b1090753261f 100644
--- a/pkg/unittest/lib/mock.dart
+++ b/pkg/unittest/lib/mock.dart
@@ -1244,6 +1244,7 @@ Matcher neverThrew(value) =>
LogEntryList sharedLog = null;
/** The base class for all mocked objects. */
+@proxy
class Mock {
/** The mock name. Needed if the log is shared; optional otherwise. */
final String name;
« no previous file with comments | « pkg/pkg.status ('k') | pkg/unittest/test/mock_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698