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

Side by Side Diff: tests/language/ct_const_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
« no previous file with comments | « tests/language/ct_const4_test.dart ('k') | tests/language/dangling_else_test.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // All things regarding compile time constant expressions. 4 // All things regarding compile time constant expressions.
5 5
6 import "package:expect/expect.dart";
7
6 abstract class Roman { 8 abstract class Roman {
7 static const I = 1; 9 static const I = 1;
8 static const II = 2; 10 static const II = 2;
9 static const III = 3; 11 static const III = 3;
10 static const IV = 4; 12 static const IV = 4;
11 static const V = 5; 13 static const V = 5;
12 14
13 static const VivaItalia = const {"green": 1, "red": 3, "white": 2}; 15 static const VivaItalia = const {"green": 1, "red": 3, "white": 2};
14 } 16 }
15 17
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 Expect.equals(true, caughtException); 116 Expect.equals(true, caughtException);
115 Expect.equals(1, c11dItaly["green"]); 117 Expect.equals(1, c11dItaly["green"]);
116 118
117 Expect.equals(true, null == naught); 119 Expect.equals(true, null == naught);
118 } 120 }
119 } 121 }
120 122
121 main() { 123 main() {
122 CTConstTest.testMain(); 124 CTConstTest.testMain();
123 } 125 }
OLDNEW
« no previous file with comments | « tests/language/ct_const4_test.dart ('k') | tests/language/dangling_else_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698