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

Side by Side Diff: tests/compiler/dart2js/sourcemaps/data/operators_test_file.dart

Issue 1934883002: Refactor unittests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // Test file for testing source mappings of operations. 5 // Test file for testing source mappings of operations.
6 6
7 var counter = 0; 7 var counter = 0;
8 8
9 void record(result) { 9 void record(result) {
10 counter++; 10 counter++;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 const Complex(this.re, this.im); 52 const Complex(this.re, this.im);
53 53
54 operator +(Complex other) => new Complex(re + other.re, im + other.im); 54 operator +(Complex other) => new Complex(re + other.re, im + other.im);
55 55
56 // TODO(johnniwinther): Support implicit null check in '=='. 56 // TODO(johnniwinther): Support implicit null check in '=='.
57 //operator ==(Complex other) => re == other.re && im == other.im; 57 //operator ==(Complex other) => re == other.re && im == other.im;
58 58
59 int get hashCode => 13 * re.hashCode + 17 * im.hashCode; 59 int get hashCode => 13 * re.hashCode + 17 * im.hashCode;
60 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698