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

Side by Side Diff: pkg/observe/test/transformer_test.dart

Issue 203163002: Fix a typo in transformer_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | pkg/pkg.status » ('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 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'package:barback/barback.dart'; 6 import 'package:barback/barback.dart';
7 import 'package:observe/transformer.dart'; 7 import 'package:observe/transformer.dart';
8 import 'package:unittest/compact_vm_config.dart'; 8 import 'package:unittest/compact_vm_config.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void addOutput(Asset output) { 157 void addOutput(Asset output) {
158 outs.add(output); 158 outs.add(output);
159 } 159 }
160 160
161 void consumePrimary() { 161 void consumePrimary() {
162 shouldConsumePrimary = true; 162 shouldConsumePrimary = true;
163 } 163 }
164 164
165 readInput(id) => throw new UnimplementedError(); 165 readInput(id) => throw new UnimplementedError();
166 readInputAsString(id, {encoding}) => throw new UnimplementedError(); 166 readInputAsString(id, {encoding}) => throw new UnimplementedError();
167 hsaInput(id) => throw new UnimplementedError(); 167 hasInput(id) => throw new UnimplementedError();
168 168
169 static void _mockLogFn(AssetId asset, LogLevel level, String message, 169 static void _mockLogFn(AssetId asset, LogLevel level, String message,
170 span) { 170 span) {
171 // Do nothing. 171 // Do nothing.
172 } 172 }
173 } 173 }
174 174
175 String _sampleObservable(String annotation) => ''' 175 String _sampleObservable(String annotation) => '''
176 library A_foo; 176 library A_foo;
177 import 'package:observe/observe.dart'; 177 import 'package:observe/observe.dart';
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 " Foo\n" 213 " Foo\n"
214 " get foo => __\$foo; Foo __\$foo/*D*/= 1; " 214 " get foo => __\$foo; Foo __\$foo/*D*/= 1; "
215 "${_makeSetter('Foo', 'foo')} " 215 "${_makeSetter('Foo', 'foo')} "
216 "@reflectable @$meta @otherMetadata Foo get bar => __\$bar; " 216 "@reflectable @$meta @otherMetadata Foo get bar => __\$bar; "
217 "Foo __\$bar =/*A*/2/*B*/; ${_makeSetter('Foo', 'bar')}\n" 217 "Foo __\$bar =/*A*/2/*B*/; ${_makeSetter('Foo', 'bar')}\n"
218 " @reflectable @$meta @otherMetadata Foo get quux => __\$quux; " 218 " @reflectable @$meta @otherMetadata Foo get quux => __\$quux; "
219 "Foo __\$quux/*C*/; ${_makeSetter('Foo', 'quux')}\n\n" 219 "Foo __\$quux/*C*/; ${_makeSetter('Foo', 'quux')}\n\n"
220 " @reflectable @$meta dynamic get baz => __\$baz; dynamic __\$baz; " 220 " @reflectable @$meta dynamic get baz => __\$baz; dynamic __\$baz; "
221 "${_makeSetter('dynamic', 'baz')}\n" 221 "${_makeSetter('dynamic', 'baz')}\n"
222 "}\n"; 222 "}\n";
OLDNEW
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698