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

Side by Side Diff: lib/src/runner/browser/browser_manager.dart

Issue 1080103002: Add support for running tests on Dartium. (Closed) Base URL: git@github.com:dart-lang/test@wip.dartium
Patch Set: Code review changes Created 5 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 unified diff | Download patch
« no previous file with comments | « lib/src/backend/test_platform.dart ('k') | lib/src/runner/browser/dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.runner.browser.browser_manager; 5 library test.runner.browser.browser_manager;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:http_parser/http_parser.dart'; 10 import 'package:http_parser/http_parser.dart';
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 var asyncError = RemoteException.deserialize(response["error"]); 57 var asyncError = RemoteException.deserialize(response["error"]);
58 return new Future.error( 58 return new Future.error(
59 new LoadException(path, asyncError.error), 59 new LoadException(path, asyncError.error),
60 asyncError.stackTrace); 60 asyncError.stackTrace);
61 } 61 }
62 62
63 return new Suite(response["tests"].map((test) { 63 return new Suite(response["tests"].map((test) {
64 var metadata = new Metadata.deserialize(test['metadata']); 64 var metadata = new Metadata.deserialize(test['metadata']);
65 var testChannel = suiteChannel.virtualChannel(test['channel']); 65 var testChannel = suiteChannel.virtualChannel(test['channel']);
66 return new IframeTest(test['name'], metadata, testChannel); 66 return new IframeTest(test['name'], metadata, testChannel);
67 }), path: path, platform: "Chrome"); 67 }), path: path);
68 }); 68 });
69 } 69 }
70 } 70 }
OLDNEW
« no previous file with comments | « lib/src/backend/test_platform.dart ('k') | lib/src/runner/browser/dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698