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

Side by Side Diff: pkg/mdv_observe/test/path_observer_test.dart

Issue 17151018: fix analyzer error in path observer test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | tests/html/html.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 'package:mdv_observe/mdv_observe.dart'; 5 import 'package:mdv_observe/mdv_observe.dart';
6 import 'package:unittest/unittest.dart'; 6 import 'package:unittest/unittest.dart';
7 7
8 // This file contains code ported from: 8 // This file contains code ported from:
9 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js 9 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js
10 10
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 getValueWorkaround(key) { 240 getValueWorkaround(key) {
241 if (key == fieldName) return value; 241 if (key == fieldName) return value;
242 return null; 242 return null;
243 } 243 }
244 void setValueWorkaround(key, newValue) { 244 void setValueWorkaround(key, newValue) {
245 if (key == fieldName) value = newValue; 245 if (key == fieldName) value = newValue;
246 } 246 }
247 247
248 toString() => '#<$runtimeType $fieldName: $_value>'; 248 toString() => '#<$runtimeType $fieldName: $_value>';
249 } 249 }
250
251 _record(key, oldValue, newValue, [kind = ChangeRecord.FIELD]) =>
252 new ChangeRecord(key, oldValue, newValue, kind: kind);
OLDNEW
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698