OLD | NEW |
1 // Copyright (c) 2011, 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 #include "include/dart_debugger_api.h" | 5 #include "include/dart_debugger_api.h" |
6 | 6 #include "platform/assert.h" |
7 #include "vm/assert.h" | |
8 #include "vm/unit_test.h" | 7 #include "vm/unit_test.h" |
9 | 8 |
10 namespace dart { | 9 namespace dart { |
11 | 10 |
12 #if defined(TARGET_ARCH_IA32) // Only ia32 can run execution tests. | 11 #if defined(TARGET_ARCH_IA32) // Only ia32 can run execution tests. |
13 | 12 |
14 | 13 |
15 static bool breakpoint_hit = false; | 14 static bool breakpoint_hit = false; |
16 | 15 |
17 static const bool verbose = false; | 16 static const bool verbose = false; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 Dart_NewString("main"), | 77 Dart_NewString("main"), |
79 0, | 78 0, |
80 NULL); | 79 NULL); |
81 EXPECT(!Dart_IsError(retval)); | 80 EXPECT(!Dart_IsError(retval)); |
82 EXPECT(breakpoint_hit == true); | 81 EXPECT(breakpoint_hit == true); |
83 } | 82 } |
84 | 83 |
85 #endif // TARGET_ARCH_IA32. | 84 #endif // TARGET_ARCH_IA32. |
86 | 85 |
87 } // namespace dart | 86 } // namespace dart |
OLD | NEW |