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

Side by Side Diff: tests/dartino_compiler/incremental/program_result.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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
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 library fletchc.test.program_result; 5 library dartino_compiler.test.program_result;
6 6
7 import 'dart:convert' show 7 import 'dart:convert' show
8 JSON; 8 JSON;
9 9
10 import 'source_update.dart'; 10 import 'source_update.dart';
11 11
12 class ProgramResult { 12 class ProgramResult {
13 final /* Map<String, String> or String */ code; 13 final /* Map<String, String> or String */ code;
14 14
15 final List<String> messages; 15 final List<String> messages;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 return result; 242 return result;
243 } 243 }
244 244
245 List<ProgramExpectation> extractJsonExpectations(String source) { 245 List<ProgramExpectation> extractJsonExpectations(String source) {
246 return new List<ProgramExpectation>.from(source.split("\n") 246 return new List<ProgramExpectation>.from(source.split("\n")
247 .where((l) => l.startsWith("<<<< ") || l.startsWith("==== ")) 247 .where((l) => l.startsWith("<<<< ") || l.startsWith("==== "))
248 .map((l) => l.substring("<<<< ".length)) 248 .map((l) => l.substring("<<<< ".length))
249 .map((l) => new ProgramExpectation.fromJson(l))); 249 .map((l) => new ProgramExpectation.fromJson(l)));
250 } 250 }
OLDNEW
« no previous file with comments | « tests/dartino_compiler/incremental/production_mode.dart ('k') | tests/dartino_compiler/incremental/source_update.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698