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

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

Issue 9209001: Move utils.h and utils.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addresed new comments from ager@ Created 8 years, 11 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/bigint_store.h ('k') | runtime/vm/debuginfo.h » ('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 #include "include/dart_api.h" 5 #include "include/dart_api.h"
6 #include "platform/assert.h" 6 #include "platform/assert.h"
7 #include "platform/utils.h"
7 #include "vm/dart_api_impl.h" 8 #include "vm/dart_api_impl.h"
8 #include "vm/dart_api_state.h" 9 #include "vm/dart_api_state.h"
9 #include "vm/thread.h" 10 #include "vm/thread.h"
10 #include "vm/unit_test.h" 11 #include "vm/unit_test.h"
11 #include "vm/utils.h"
12 #include "vm/verifier.h" 12 #include "vm/verifier.h"
13 13
14 namespace dart { 14 namespace dart {
15 15
16 #if defined(TARGET_ARCH_IA32) // only ia32 can run execution tests. 16 #if defined(TARGET_ARCH_IA32) // only ia32 can run execution tests.
17 17
18 TEST_CASE(ErrorHandles) { 18 TEST_CASE(ErrorHandles) {
19 const char* kScriptChars = 19 const char* kScriptChars =
20 "class TestClass {\n" 20 "class TestClass {\n"
21 " static void testMain() {\n" 21 " static void testMain() {\n"
(...skipping 2979 matching lines...) Expand 10 before | Expand all | Expand 10 after
3001 // We should have received the expected number of interrupts. 3001 // We should have received the expected number of interrupts.
3002 EXPECT_EQ(kInterruptCount, interrupt_count); 3002 EXPECT_EQ(kInterruptCount, interrupt_count);
3003 3003
3004 // Give the spawned thread enough time to properly exit. 3004 // Give the spawned thread enough time to properly exit.
3005 Isolate::SetInterruptCallback(saved); 3005 Isolate::SetInterruptCallback(saved);
3006 } 3006 }
3007 3007
3008 #endif // TARGET_ARCH_IA32. 3008 #endif // TARGET_ARCH_IA32.
3009 3009
3010 } // namespace dart 3010 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bigint_store.h ('k') | runtime/vm/debuginfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698