OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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" | 5 #include "platform/globals.h" |
6 | 6 |
7 #include "include/dart_debugger_api.h" | 7 #include "include/dart_tools_api.h" |
8 #include "vm/dart_api_impl.h" | 8 #include "vm/dart_api_impl.h" |
9 #include "vm/dart_entry.h" | 9 #include "vm/dart_entry.h" |
10 #include "vm/debugger.h" | 10 #include "vm/debugger.h" |
11 #include "vm/globals.h" | 11 #include "vm/globals.h" |
12 #include "vm/isolate.h" | 12 #include "vm/isolate.h" |
13 #include "vm/log.h" | 13 #include "vm/log.h" |
14 #include "vm/message_handler.h" | 14 #include "vm/message_handler.h" |
15 #include "vm/unit_test.h" | 15 #include "vm/unit_test.h" |
16 | 16 |
17 namespace dart { | 17 namespace dart { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 LogBlock ba(isolate, log); | 83 LogBlock ba(isolate, log); |
84 log->Print("BANANA"); | 84 log->Print("BANANA"); |
85 EXPECT_EQ(reinterpret_cast<const char*>(NULL), test_output_); | 85 EXPECT_EQ(reinterpret_cast<const char*>(NULL), test_output_); |
86 } | 86 } |
87 EXPECT_STREQ("BANANA", test_output_); | 87 EXPECT_STREQ("BANANA", test_output_); |
88 } | 88 } |
89 EXPECT_STREQ("APPLE", test_output_); | 89 EXPECT_STREQ("APPLE", test_output_); |
90 } | 90 } |
91 | 91 |
92 } // namespace dart | 92 } // namespace dart |
OLD | NEW |