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

Side by Side Diff: tools/testing/dart/browser_controller.dart

Issue 748773004: tools/testing: move code into individual libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « tools/testing/dart/android.dart ('k') | tools/testing/dart/browser_test.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library browser; 4 library browser;
5 5
6 import "dart:async"; 6 import "dart:async";
7 import "dart:convert" show LineSplitter, UTF8, JSON; 7 import "dart:convert" show LineSplitter, UTF8, JSON;
8 import "dart:core"; 8 import "dart:core";
9 import "dart:io"; 9 import "dart:io";
10 10
11 import 'android.dart'; 11 import 'android.dart';
12 import 'http_server.dart'; 12 import 'http_server.dart';
13 import 'path.dart';
13 import 'utils.dart'; 14 import 'utils.dart';
14 15
15 class BrowserOutput { 16 class BrowserOutput {
16 final StringBuffer stdout = new StringBuffer(); 17 final StringBuffer stdout = new StringBuffer();
17 final StringBuffer stderr = new StringBuffer(); 18 final StringBuffer stderr = new StringBuffer();
18 final StringBuffer eventLog = new StringBuffer(); 19 final StringBuffer eventLog = new StringBuffer();
19 } 20 }
20 21
21 /** Class describing the interface for communicating with browsers. */ 22 /** Class describing the interface for communicating with browsers. */
22 abstract class Browser { 23 abstract class Browser {
(...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 </div> 1785 </div>
1785 <div id="embedded_iframe_div" class="test box"> 1786 <div id="embedded_iframe_div" class="test box">
1786 <iframe style="width:100%;height:100%;" id="embedded_iframe"></iframe> 1787 <iframe style="width:100%;height:100%;" id="embedded_iframe"></iframe>
1787 </div> 1788 </div>
1788 </body> 1789 </body>
1789 </html> 1790 </html>
1790 """; 1791 """;
1791 return driverContent; 1792 return driverContent;
1792 } 1793 }
1793 } 1794 }
OLDNEW
« no previous file with comments | « tools/testing/dart/android.dart ('k') | tools/testing/dart/browser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698