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. | 5 // TODO(zra): Remove when tests are ready to enable. |
6 #include "platform/globals.h" | 6 #include "platform/globals.h" |
7 #if !defined(TARGET_ARCH_ARM64) | |
8 | 7 |
9 #include "platform/assert.h" | 8 #include "platform/assert.h" |
10 #include "vm/class_finalizer.h" | 9 #include "vm/class_finalizer.h" |
11 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
12 #include "vm/dart_api_impl.h" | 11 #include "vm/dart_api_impl.h" |
13 #include "vm/object.h" | 12 #include "vm/object.h" |
14 #include "vm/symbols.h" | 13 #include "vm/symbols.h" |
15 #include "vm/unit_test.h" | 14 #include "vm/unit_test.h" |
16 | 15 |
17 namespace dart { | 16 namespace dart { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 val = Instance::Cast(obj).Evaluate(expr_text, | 96 val = Instance::Cast(obj).Evaluate(expr_text, |
98 Array::empty_array(), | 97 Array::empty_array(), |
99 Array::empty_array()); | 98 Array::empty_array()); |
100 EXPECT(!val.IsNull()); | 99 EXPECT(!val.IsNull()); |
101 EXPECT(!val.IsError()); | 100 EXPECT(!val.IsError()); |
102 EXPECT(val.IsString()); | 101 EXPECT(val.IsString()); |
103 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); | 102 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); |
104 } | 103 } |
105 | 104 |
106 } // namespace dart | 105 } // namespace dart |
107 | |
108 #endif // !defined(TARGET_ARCH_ARM64) | |
OLD | NEW |