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

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

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 8 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/vm/intrinsifier_arm64.cc ('k') | runtime/vm/json_test.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"
7 #if !defined(TARGET_ARCH_ARM64)
8
5 #include "platform/assert.h" 9 #include "platform/assert.h"
6 #include "vm/globals.h" 10 #include "vm/globals.h"
7 #include "vm/isolate.h" 11 #include "vm/isolate.h"
8 #include "vm/unit_test.h" 12 #include "vm/unit_test.h"
9 13
10 namespace dart { 14 namespace dart {
11 15
12 UNIT_TEST_CASE(IsolateCurrent) { 16 UNIT_TEST_CASE(IsolateCurrent) {
13 Isolate* isolate = Isolate::Init(NULL); 17 Isolate* isolate = Isolate::Init(NULL);
14 EXPECT_EQ(isolate, Isolate::Current()); 18 EXPECT_EQ(isolate, Isolate::Current());
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 EXPECT(!Dart_IsError(result)); 77 EXPECT(!Dart_IsError(result));
74 // Run until all ports to isolate are closed. 78 // Run until all ports to isolate are closed.
75 result = Dart_RunLoop(); 79 result = Dart_RunLoop();
76 EXPECT_ERROR(result, "Null callback specified for isolate creation"); 80 EXPECT_ERROR(result, "Null callback specified for isolate creation");
77 EXPECT(Dart_ErrorHasException(result)); 81 EXPECT(Dart_ErrorHasException(result));
78 Dart_Handle exception_result = Dart_ErrorGetException(result); 82 Dart_Handle exception_result = Dart_ErrorGetException(result);
79 EXPECT_VALID(exception_result); 83 EXPECT_VALID(exception_result);
80 } 84 }
81 85
82 } // namespace dart 86 } // namespace dart
87
88 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_arm64.cc ('k') | runtime/vm/json_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698