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

Side by Side Diff: tests/standalone/debugger/basic_debugger_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/standalone/crypto/base64_test.dart ('k') | tests/standalone/deoptimization_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 4
5 // This test forks a second vm process that runs this dart script as 5 // This test forks a second vm process that runs this dart script as
6 // a debug target. 6 // a debug target.
7 // Run this test with option --wire to see the json messages sent 7 // Run this test with option --wire to see the json messages sent
8 // between the processes. 8 // between the processes.
9 // Run this test with option --verbose to see the stdout and stderr output 9 // Run this test with option --verbose to see the stdout and stderr output
10 // of the debug target process. 10 // of the debug target process.
11 11
12 import "package:expect/expect.dart";
12 import "debug_lib.dart"; 13 import "debug_lib.dart";
13 14
14 bar(x) { 15 bar(x) {
15 print(x); 16 print(x);
16 } 17 }
17 18
18 foo(i) { 19 foo(i) {
19 bar("baz"); 20 bar("baz");
20 print(i); 21 print(i);
21 } 22 }
(...skipping 10 matching lines...) Expand all
32 var testScript = [ 33 var testScript = [
33 MatchFrame(0, "main"), // Top frame in trace is function "main". 34 MatchFrame(0, "main"), // Top frame in trace is function "main".
34 Step(), 35 Step(),
35 MatchFrame(0, "main"), // Should still be in "main". 36 MatchFrame(0, "main"), // Should still be in "main".
36 SetBreakpoint(15), // Set breakpoint a line 15, in function bar. 37 SetBreakpoint(15), // Set breakpoint a line 15, in function bar.
37 Resume(), 38 Resume(),
38 MatchFrames(["bar", "foo", "main"]), 39 MatchFrames(["bar", "foo", "main"]),
39 MatchFrame(1, "foo"), 40 MatchFrame(1, "foo"),
40 Resume(), 41 Resume(),
41 ]; 42 ];
OLDNEW
« no previous file with comments | « tests/standalone/crypto/base64_test.dart ('k') | tests/standalone/deoptimization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698