| 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 | |
| 8 #include "platform/assert.h" | 5 #include "platform/assert.h" |
| 9 #include "vm/class_finalizer.h" | 6 #include "vm/class_finalizer.h" |
| 10 #include "vm/compiler.h" | 7 #include "vm/compiler.h" |
| 11 #include "vm/dart_api_impl.h" | 8 #include "vm/dart_api_impl.h" |
| 12 #include "vm/object.h" | 9 #include "vm/object.h" |
| 13 #include "vm/symbols.h" | 10 #include "vm/symbols.h" |
| 14 #include "vm/unit_test.h" | 11 #include "vm/unit_test.h" |
| 15 | 12 |
| 16 namespace dart { | 13 namespace dart { |
| 17 | 14 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 val = Instance::Cast(obj).Evaluate(expr_text, | 93 val = Instance::Cast(obj).Evaluate(expr_text, |
| 97 Array::empty_array(), | 94 Array::empty_array(), |
| 98 Array::empty_array()); | 95 Array::empty_array()); |
| 99 EXPECT(!val.IsNull()); | 96 EXPECT(!val.IsNull()); |
| 100 EXPECT(!val.IsError()); | 97 EXPECT(!val.IsError()); |
| 101 EXPECT(val.IsString()); | 98 EXPECT(val.IsString()); |
| 102 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); | 99 EXPECT_STREQ("Herr Nilsson 100.", val.ToCString()); |
| 103 } | 100 } |
| 104 | 101 |
| 105 } // namespace dart | 102 } // namespace dart |
| OLD | NEW |