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

Side by Side Diff: tests/language/optimized_setter_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Test various setter situations, testing special cases in optimizing compiler. 4 // Test various setter situations, testing special cases in optimizing compiler.
5 5
6 import "package:expect/expect.dart";
7
6 class A { 8 class A {
7 int field = 0; 9 int field = 0;
8 } 10 }
9 11
10 class B extends A { 12 class B extends A {
11 } 13 }
12 14
13 15
14 void sameImplicitSetter() { 16 void sameImplicitSetter() {
15 oneTarget(var a, var v) { 17 oneTarget(var a, var v) {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 144
143 void main() { 145 void main() {
144 for (int i = 0; i< 2000; i++) {} 146 for (int i = 0; i< 2000; i++) {}
145 sameImplicitSetter(); 147 sameImplicitSetter();
146 setterNoFeedback(); 148 setterNoFeedback();
147 sameNotImplicitSetter(); 149 sameNotImplicitSetter();
148 150
149 multiImplicitSetter(); 151 multiImplicitSetter();
150 multiNotImplicitSetter(); 152 multiNotImplicitSetter();
151 } 153 }
OLDNEW
« no previous file with comments | « tests/language/optimized_lists_test.dart ('k') | tests/language/optimized_string_charat_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698