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

Unified Diff: test/codegen_expected/lib/html/rtc_test.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove unnecessary null check Created 4 years, 4 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/codegen_expected/lib/html/indexeddb_5_test.js ('k') | test/codegen_expected/lib/html/xhr_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/lib/html/rtc_test.js
diff --git a/test/codegen_expected/lib/html/rtc_test.js b/test/codegen_expected/lib/html/rtc_test.js
index f6904681700e899d70d1f4647412ed73f316730d..d4de2c2dbeb10c7e72f1af2b000644b1a5780f9b 100644
--- a/test/codegen_expected/lib/html/rtc_test.js
+++ b/test/codegen_expected/lib/html/rtc_test.js
@@ -15,6 +15,7 @@ dart_library.library('lib/html/rtc_test', null, /* Imports */[
const rtc_test = Object.create(null);
let MapOfString$String = () => (MapOfString$String = dart.constFn(core.Map$(core.String, core.String)))();
let JSArrayOfMapOfString$String = () => (JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(MapOfString$String())))();
+ let ListOfMapOfString$String = () => (ListOfMapOfString$String = dart.constFn(core.List$(MapOfString$String())))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
rtc_test.main = function() {
@@ -27,15 +28,15 @@ dart_library.library('lib/html/rtc_test', null, /* Imports */[
unittest$.group('functionality', dart.fn(() => {
if (dart.test(html.RtcPeerConnection[dartx.supported])) {
unittest$.test('peer connection', dart.fn(() => {
- let pc = html.RtcPeerConnection.new(dart.map({iceServers: JSArrayOfMapOfString$String().of([dart.map({url: 'stun:216.93.246.18:3478'})])}));
+ let pc = html.RtcPeerConnection.new(dart.map({iceServers: JSArrayOfMapOfString$String().of([dart.map({url: 'stun:216.93.246.18:3478'}, core.String, core.String)])}, core.String, ListOfMapOfString$String()));
src__matcher__expect.expect(html.RtcPeerConnection.is(pc), src__matcher__core_matchers.isTrue);
}, VoidTodynamic()));
unittest$.test('ice candidate', dart.fn(() => {
- let candidate = html.RtcIceCandidate.new(dart.map({sdpMLineIndex: 1, candidate: 'hello'}));
+ let candidate = html.RtcIceCandidate.new(dart.map({sdpMLineIndex: 1, candidate: 'hello'}, core.String, core.Object));
src__matcher__expect.expect(html.RtcIceCandidate.is(candidate), src__matcher__core_matchers.isTrue);
}, VoidTodynamic()));
unittest$.test('session description', dart.fn(() => {
- let description = html.RtcSessionDescription.new(dart.map({sdp: 'foo', type: 'offer'}));
+ let description = html.RtcSessionDescription.new(dart.map({sdp: 'foo', type: 'offer'}, core.String, core.String));
src__matcher__expect.expect(html.RtcSessionDescription.is(description), src__matcher__core_matchers.isTrue);
}, VoidTodynamic()));
}
« no previous file with comments | « test/codegen_expected/lib/html/indexeddb_5_test.js ('k') | test/codegen_expected/lib/html/xhr_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698