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

Side by Side Diff: pkg/analysis_server/tool/spec/codegen_inttest_methods.dart

Issue 1397353002: Fix manual editing of integration_test_methods.dart. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | no next file » | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 /** 5 /**
6 * Code generation for the file "integration_test_methods.dart". 6 * Code generation for the file "integration_test_methods.dart".
7 */ 7 */
8 library codegenInttestMethods; 8 library codegenInttestMethods;
9 9
10 import 'dart:convert'; 10 import 'dart:convert';
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 visitApi() { 100 visitApi() {
101 outputHeader(); 101 outputHeader();
102 writeln(); 102 writeln();
103 writeln('/**'); 103 writeln('/**');
104 writeln(' * Convenience methods for running integration tests'); 104 writeln(' * Convenience methods for running integration tests');
105 writeln(' */'); 105 writeln(' */');
106 writeln('library test.integration.methods;'); 106 writeln('library test.integration.methods;');
107 writeln(); 107 writeln();
108 writeln("import 'dart:async';"); 108 writeln("import 'dart:async';");
109 writeln(); 109 writeln();
110 writeln("import 'package:analysis_server/src/protocol.dart';"); 110 writeln("import 'package:analysis_server/plugin/protocol/protocol.dart';");
111 writeln("import 'package:analysis_server/src/protocol/protocol_internal.dart ';");
111 writeln("import 'package:unittest/unittest.dart';"); 112 writeln("import 'package:unittest/unittest.dart';");
112 writeln(); 113 writeln();
113 writeln("import 'integration_tests.dart';"); 114 writeln("import 'integration_tests.dart';");
114 writeln("import 'protocol_matchers.dart';"); 115 writeln("import 'protocol_matchers.dart';");
115 writeln(); 116 writeln();
116 writeln(); 117 writeln();
117 writeln('/**'); 118 writeln('/**');
118 writeln(' * Convenience methods for running integration tests'); 119 writeln(' * Convenience methods for running integration tests');
119 writeln(' */'); 120 writeln(' */');
120 writeln('abstract class IntegrationTestMixin {'); 121 writeln('abstract class IntegrationTestMixin {');
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } else { 265 } else {
265 writeln('expect(result, isNull);'); 266 writeln('expect(result, isNull);');
266 writeln('return null;'); 267 writeln('return null;');
267 } 268 }
268 }); 269 });
269 writeln('});'); 270 writeln('});');
270 }); 271 });
271 writeln('}'); 272 writeln('}');
272 } 273 }
273 } 274 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/integration/integration_test_methods.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698