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

Unified Diff: test/json_test.dart

Issue 1852983002: Fix issues with protobuf equality comparisons (Closed) Base URL: git@github.com:dart-lang/dart-protobuf.git@master
Patch Set: tweak _deepEquals, improve tests Created 4 years, 8 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 | « test/event_test.dart ('k') | test/map_mixin_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/json_test.dart
diff --git a/test/json_test.dart b/test/json_test.dart
index 8c4c29215afdd208b6dfed27055fe3bb91f88ade..7accfc05f3d100249866ce04335601e4e4c1d171 100644
--- a/test/json_test.dart
+++ b/test/json_test.dart
@@ -6,11 +6,11 @@ library json_test;
import 'dart:convert';
import 'package:test/test.dart';
-import 'mock_util.dart' show MockMessage;
+import 'mock_util.dart' show MockMessage, mockInfo;
class T extends MockMessage {
- get className => "T";
- T create() => new T();
+ get info_ => _info;
+ static final _info = mockInfo("T", () => new T());
}
main() {
« no previous file with comments | « test/event_test.dart ('k') | test/map_mixin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698