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

Unified Diff: tests/html/serialized_script_value_test.dart

Issue 12036060: Fixing tests after event constructor change. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « tests/html/history_test.dart ('k') | tests/html/storage_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/serialized_script_value_test.dart
diff --git a/tests/html/serialized_script_value_test.dart b/tests/html/serialized_script_value_test.dart
index 1c94277e5ac182fd822d9ceab23a6a458bb00ac2..afbf04cb9ed6f3b9aba2baf0c462862b717c7744 100644
--- a/tests/html/serialized_script_value_test.dart
+++ b/tests/html/serialized_script_value_test.dart
@@ -5,8 +5,10 @@ import 'dart:html';
import 'utils.dart';
serializationTest(name, value) => test(name, () {
- // To check how value is serialized and deserialized, we create a MessageEvent.
- final event = new MessageEvent('', data:value);
+ // To check how value is serialized and deserialized, we create a
+ // MessageEvent.
+ final event =
+ new MessageEvent('', data: value, origin: '', lastEventId: '');
verifyGraph(value, event.data);
});
« no previous file with comments | « tests/html/history_test.dart ('k') | tests/html/storage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698