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 "platform/assert.h" | 9 #include "platform/assert.h" |
6 #include "vm/class_finalizer.h" | 10 #include "vm/class_finalizer.h" |
7 #include "vm/compiler.h" | 11 #include "vm/compiler.h" |
8 #include "vm/dart_api_impl.h" | 12 #include "vm/dart_api_impl.h" |
9 #include "vm/object.h" | 13 #include "vm/object.h" |
10 #include "vm/symbols.h" | 14 #include "vm/symbols.h" |
11 #include "vm/unit_test.h" | 15 #include "vm/unit_test.h" |
12 | 16 |
13 namespace dart { | 17 namespace dart { |
14 | 18 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 expr_text = String::New("apa + ' ${calc(10)}' + dot"); | 95 expr_text = String::New("apa + ' ${calc(10)}' + dot"); |
92 Object& val = Object::Handle(); | 96 Object& val = Object::Handle(); |
93 val = Instance::Cast(obj).Evaluate(expr_text); | 97 val = Instance::Cast(obj).Evaluate(expr_text); |
94 EXPECT(!val.IsNull()); | 98 EXPECT(!val.IsNull()); |
95 EXPECT(!val.IsError()); | 99 EXPECT(!val.IsError()); |
96 EXPECT(val.IsString()); | 100 EXPECT(val.IsString()); |
97 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); | 101 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); |
98 } | 102 } |
99 | 103 |
100 } // namespace dart | 104 } // namespace dart |
| 105 |
| 106 #endif // !defined(TARGET_ARCH_ARM64) |
OLD | NEW |