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

Unified Diff: tests/compiler/dart2js/serialization/native_data_test.dart

Issue 2738513007: Split NativeDataImpl (Closed)
Patch Set: Created 3 years, 9 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/compiler/lib/src/native/resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/native_data_test.dart
diff --git a/tests/compiler/dart2js/serialization/native_data_test.dart b/tests/compiler/dart2js/serialization/native_data_test.dart
index e723e3fbf4c21f7237a4f800a284cd4bae2b2b05..e949e8a98dd70f127df85dff015b55725e8b2b7a 100644
--- a/tests/compiler/dart2js/serialization/native_data_test.dart
+++ b/tests/compiler/dart2js/serialization/native_data_test.dart
@@ -47,6 +47,8 @@ Future checkNativeData(Uri uri, {bool verbose: false}) async {
JavaScriptBackend backend1 = compiler1.backend;
JavaScriptBackend backend2 = compiler2.backend;
+ NativeClassDataImpl nativeClassData1 = backend1.nativeClassData;
+ NativeClassDataImpl nativeClassData2 = backend2.nativeClassData;
NativeDataImpl nativeData1 = backend1.nativeData;
NativeDataImpl nativeData2 = backend2.nativeData;
@@ -70,8 +72,12 @@ Future checkNativeData(Uri uri, {bool verbose: false}) async {
"NativeData.nativeMemberName", areElementsEquivalent, equality,
verbose: verbose);
- checkMaps(nativeData1.nativeClassTagInfo, nativeData2.nativeClassTagInfo,
- "NativeData.nativeClassTagInfo", areElementsEquivalent, equality,
+ checkMaps(
+ nativeClassData1.nativeClassTagInfo,
+ nativeClassData2.nativeClassTagInfo,
+ "NativeData.nativeClassTagInfo",
+ areElementsEquivalent,
+ equality,
verbose: verbose);
checkMaps(
« no previous file with comments | « pkg/compiler/lib/src/native/resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698