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

Side by Side Diff: runtime/observatory/tests/service/call_site_data_test.dart

Issue 1078893004: Ensure call_site_data_test runs with unoptimized code so invocation counts are accurate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | runtime/observatory/tests/service/service.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) 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 // VMOptions=--compile-all --error_on_bad_type --error_on_bad_override --checked 4 // VMOptions=--optimization_filter=doesNotExist
5 // ^Force code to be unoptimized so the invocation counts are accurate.
5 6
6 library call_site_data_test; 7 library call_site_data_test;
7 8
8 import 'package:observatory/service_io.dart'; 9 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
10 import 'test_helper.dart'; 11 import 'test_helper.dart';
11 12
12 class A { foo() => 'A'; } 13 class A { foo() => 'A'; }
13 class B { foo() => 'B'; } 14 class B { foo() => 'B'; }
14 class C { foo() => 'C'; } 15 class C { foo() => 'C'; }
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 var tests = [ 180 var tests = [
180 testMonomorphic, 181 testMonomorphic,
181 testPolymorphic, 182 testPolymorphic,
182 testMegamorphic, 183 testMegamorphic,
183 testStaticCall, 184 testStaticCall,
184 testConstructorCall, 185 testConstructorCall,
185 testTopLevelCall, 186 testTopLevelCall,
186 testSuperCall ]; 187 testSuperCall ];
187 188
188 main(args) => runIsolateTests(args, tests, testeeBefore: script); 189 main(args) => runIsolateTests(args, tests, testeeBefore: script);
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/tests/service/service.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698