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

Side by Side Diff: runtime/vm/debugger_test.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Fixed Rn/Rd modes for R31 Created 6 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) 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 4
5 #include "platform/globals.h"
6 #if !defined(TARGET_ARCH_ARM64)
7
5 #include "vm/debugger.h" 8 #include "vm/debugger.h"
6 #include "vm/unit_test.h" 9 #include "vm/unit_test.h"
7 10
8 namespace dart { 11 namespace dart {
9 12
10 TEST_CASE(Debugger_PrintBreakpointsToJSONArray) { 13 TEST_CASE(Debugger_PrintBreakpointsToJSONArray) {
11 const char* kScriptChars = 14 const char* kScriptChars =
12 "main() {\n" 15 "main() {\n"
13 " var x = new StringBuffer();\n" 16 " var x = new StringBuffer();\n"
14 " x.add('won');\n" 17 " x.add('won');\n"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Set a breakpoint and run. 100 // Set a breakpoint and run.
98 debugger->SetBreakpointAtLine(url, 2); 101 debugger->SetBreakpointAtLine(url, 2);
99 Dart_Handle result = Dart_Invoke(lib, NewString("main"), 0, NULL); 102 Dart_Handle result = Dart_Invoke(lib, NewString("main"), 0, NULL);
100 EXPECT_VALID(result); 103 EXPECT_VALID(result);
101 EXPECT(Dart_IsString(result)); 104 EXPECT(Dart_IsString(result));
102 105
103 // We ran the code in InspectPausedEvent. 106 // We ran the code in InspectPausedEvent.
104 EXPECT(saw_paused_event); 107 EXPECT(saw_paused_event);
105 } 108 }
106 109
110 } // namespace dart
107 111
108 112 #endif // !defined(TARGET_ARCH_ARM64)
109 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698