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

Side by Side Diff: tests/language/vm/optimized_guarded_field_isolates_test.dart

Issue 1759973002: Add --no-background-compilation to tests that expect to run code in optimized form (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more Created 4 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
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 // VMOptions=--optimization_counter_threshold=100 4 // VMOptions=--optimization_counter_threshold=100 --no-background_compilation
5 5
6 // Test field type tracking and field list-length tracking in the presence of 6 // Test field type tracking and field list-length tracking in the presence of
7 // multiple isolates. 7 // multiple isolates.
8 8
9 import "dart:isolate"; 9 import "dart:isolate";
10 import "dart:async"; 10 import "dart:async";
11 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
12 import 'package:async_helper/async_helper.dart'; 12 import 'package:async_helper/async_helper.dart';
13 13
14 class A { 14 class A {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 Expect.throws(() => test_c(value), (e) => e is RangeError); 66 Expect.throws(() => test_c(value), (e) => e is RangeError);
67 receive_port.close(); 67 receive_port.close();
68 asyncEnd(); 68 asyncEnd();
69 }); 69 });
70 } 70 }
71 71
72 main() { 72 main() {
73 test_field_type(); 73 test_field_type();
74 test_list_length(); 74 test_list_length();
75 } 75 }
OLDNEW
« no previous file with comments | « tests/language/vm/optimized_check_class_test.dart ('k') | tests/language/vm/optimized_guarded_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698