Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: runtime/vm/object_test.cc

Issue 353403004: Fixes Android build by using C++ math header instead of C one. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/platform/math.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 5 #include "platform/globals.h"
7 6
8 #include "vm/assembler.h" 7 #include "vm/assembler.h"
9 #include "vm/bigint_operations.h" 8 #include "vm/bigint_operations.h"
10 #include "vm/class_finalizer.h" 9 #include "vm/class_finalizer.h"
11 #include "vm/dart_api_impl.h" 10 #include "vm/dart_api_impl.h"
12 #include "vm/dart_entry.h" 11 #include "vm/dart_entry.h"
13 #include "vm/debugger.h" 12 #include "vm/debugger.h"
14 #include "vm/isolate.h" 13 #include "vm/isolate.h"
15 #include "vm/object.h" 14 #include "vm/object.h"
(...skipping 4084 matching lines...) Expand 10 before | Expand all | Expand 10 after
4100 EXPECT_VALID(h_result); 4099 EXPECT_VALID(h_result);
4101 Integer& result = Integer::Handle(); 4100 Integer& result = Integer::Handle();
4102 result ^= Api::UnwrapHandle(h_result); 4101 result ^= Api::UnwrapHandle(h_result);
4103 String& foo = String::Handle(String::New("foo")); 4102 String& foo = String::Handle(String::New("foo"));
4104 Integer& expected = Integer::Handle(); 4103 Integer& expected = Integer::Handle();
4105 expected ^= foo.HashCode(); 4104 expected ^= foo.HashCode();
4106 EXPECT(result.IsIdenticalTo(expected)); 4105 EXPECT(result.IsIdenticalTo(expected));
4107 } 4106 }
4108 4107
4109 } // namespace dart 4108 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/platform/math.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698