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

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

Issue 2731163002: Split js interop registration into library/class/member elements (Closed)
Patch Set: Updated cf. comments 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/types/types.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 e9d116c69fda5270554a2ee2f6c3ab07cb994a7c..e723e3fbf4c21f7237a4f800a284cd4bae2b2b05 100644
--- a/tests/compiler/dart2js/serialization/native_data_test.dart
+++ b/tests/compiler/dart2js/serialization/native_data_test.dart
@@ -50,8 +50,20 @@ Future checkNativeData(Uri uri, {bool verbose: false}) async {
NativeDataImpl nativeData1 = backend1.nativeData;
NativeDataImpl nativeData2 = backend2.nativeData;
- checkMaps(nativeData1.jsInteropNames, nativeData2.jsInteropNames,
- "NativeData.jsInteropNames", areElementsEquivalent, equality,
+ checkMaps(
+ nativeData1.jsInteropLibraryNames,
+ nativeData2.jsInteropLibraryNames,
+ "NativeData.jsInteropLibraryNames",
+ areElementsEquivalent,
+ equality,
+ verbose: verbose);
+
+ checkMaps(nativeData1.jsInteropClassNames, nativeData2.jsInteropClassNames,
+ "NativeData.jsInteropClassNames", areElementsEquivalent, equality,
+ verbose: verbose);
+
+ checkMaps(nativeData1.jsInteropMemberNames, nativeData2.jsInteropMemberNames,
+ "NativeData.jsInteropMemberNames", areElementsEquivalent, equality,
verbose: verbose);
checkMaps(nativeData1.nativeMemberName, nativeData2.nativeMemberName,
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698