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 // TODO(zra): Remove when tests are ready to enable. |
| 6 #include "platform/globals.h" |
| 7 #if !defined(TARGET_ARCH_ARM64) |
| 8 |
5 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
6 #include "platform/assert.h" | 10 #include "platform/assert.h" |
7 #include "vm/dart_api_impl.h" | 11 #include "vm/dart_api_impl.h" |
8 #include "vm/unit_test.h" | 12 #include "vm/unit_test.h" |
9 | 13 |
10 namespace dart { | 14 namespace dart { |
11 | 15 |
12 | 16 |
13 #define FUNCTION_NAME(name) UnhandledExcp_##name | 17 #define FUNCTION_NAME(name) UnhandledExcp_##name |
14 #define REGISTER_FUNCTION(name, count) \ | 18 #define REGISTER_FUNCTION(name, count) \ |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 " UnhandledExceptions.equals(2, Second.method1(1));\n" | 130 " UnhandledExceptions.equals(2, Second.method1(1));\n" |
127 " UnhandledExceptions.equals(3, Second.method3(1));\n" | 131 " UnhandledExceptions.equals(3, Second.method3(1));\n" |
128 "}"; | 132 "}"; |
129 Dart_Handle lib = TestCase::LoadTestScript( | 133 Dart_Handle lib = TestCase::LoadTestScript( |
130 kScriptChars, | 134 kScriptChars, |
131 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup)); | 135 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup)); |
132 EXPECT_VALID(Dart_Invoke(lib, NewString("testMain"), 0, NULL)); | 136 EXPECT_VALID(Dart_Invoke(lib, NewString("testMain"), 0, NULL)); |
133 } | 137 } |
134 | 138 |
135 } // namespace dart | 139 } // namespace dart |
| 140 |
| 141 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |