OLD | NEW |
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 #include "bin/builtin.h" | 5 #include "bin/builtin.h" |
6 #include "include/dart_api.h" | 6 #include "include/dart_api.h" |
7 #include "include/dart_debugger_api.h" | |
8 #include "include/dart_mirrors_api.h" | 7 #include "include/dart_mirrors_api.h" |
9 #include "include/dart_native_api.h" | 8 #include "include/dart_native_api.h" |
| 9 #include "include/dart_tools_api.h" |
10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
11 #include "platform/json.h" | 11 #include "platform/json.h" |
12 #include "platform/utils.h" | 12 #include "platform/utils.h" |
13 #include "vm/class_finalizer.h" | 13 #include "vm/class_finalizer.h" |
14 #include "vm/dart_api_impl.h" | 14 #include "vm/dart_api_impl.h" |
15 #include "vm/dart_api_state.h" | 15 #include "vm/dart_api_state.h" |
16 #include "vm/lockers.h" | 16 #include "vm/lockers.h" |
17 #include "vm/unit_test.h" | 17 #include "vm/unit_test.h" |
18 #include "vm/verifier.h" | 18 #include "vm/verifier.h" |
19 | 19 |
(...skipping 9199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9219 Dart_TimelineAsyncEnd("testAsyncEvent", async_id); | 9219 Dart_TimelineAsyncEnd("testAsyncEvent", async_id); |
9220 | 9220 |
9221 // Check that it is in the output. | 9221 // Check that it is in the output. |
9222 TimelineEventRecorder* recorder = isolate->timeline_event_recorder(); | 9222 TimelineEventRecorder* recorder = isolate->timeline_event_recorder(); |
9223 JSONStream js; | 9223 JSONStream js; |
9224 recorder->PrintJSON(&js); | 9224 recorder->PrintJSON(&js); |
9225 EXPECT_SUBSTRING("testAsyncEvent", js.ToCString()); | 9225 EXPECT_SUBSTRING("testAsyncEvent", js.ToCString()); |
9226 } | 9226 } |
9227 | 9227 |
9228 } // namespace dart | 9228 } // namespace dart |
OLD | NEW |