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

Side by Side Diff: pkg/polymer/test/build/common.dart

Issue 513023002: Step one towards stable error messages with details: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
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 4
5 library polymer.test.build.common; 5 library polymer.test.build.common;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:barback/barback.dart'; 9 import 'package:barback/barback.dart';
10 import 'package:code_transformers/messages/build_logger.dart'
11 show LOG_EXTENSION;
10 import 'package:polymer/src/build/common.dart'; 12 import 'package:polymer/src/build/common.dart';
11 import 'package:stack_trace/stack_trace.dart'; 13 import 'package:stack_trace/stack_trace.dart';
12 import 'package:unittest/unittest.dart'; 14 import 'package:unittest/unittest.dart';
13 15
14 String idToString(AssetId id) => '${id.package}|${id.path}'; 16 String idToString(AssetId id) => '${id.package}|${id.path}';
15 AssetId idFromString(String s) { 17 AssetId idFromString(String s) {
16 int index = s.indexOf('|'); 18 int index = s.indexOf('|');
17 return new AssetId(s.substring(0, index), s.substring(index + 1)); 19 return new AssetId(s.substring(0, index), s.substring(index + 1));
18 } 20 }
19 21
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 243
242 'observe|lib/observe.dart': 244 'observe|lib/observe.dart':
243 'library observe;\n' 245 'library observe;\n'
244 'export "src/metadata.dart";', 246 'export "src/metadata.dart";',
245 247
246 'observe|lib/src/metadata.dart': 248 'observe|lib/src/metadata.dart':
247 'library observe.src.metadata;\n' 249 'library observe.src.metadata;\n'
248 'class ObservableProperty { const ObservableProperty(); }\n' 250 'class ObservableProperty { const ObservableProperty(); }\n'
249 'const observable = const ObservableProperty();\n', 251 'const observable = const ObservableProperty();\n',
250 }; 252 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698