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

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

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. Created 8 years, 1 month 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
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_debugger_api.h" 5 #include "include/dart_debugger_api.h"
6 #include "platform/assert.h" 6 #include "platform/assert.h"
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/class_finalizer.h" 8 #include "vm/class_finalizer.h"
9 #include "vm/dart_api_impl.h" 9 #include "vm/dart_api_impl.h"
10 #include "vm/dart_api_message.h" 10 #include "vm/dart_api_message.h"
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 } 860 }
861 } 861 }
862 862
863 TEST_CASE(GenerateSource) { 863 TEST_CASE(GenerateSource) {
864 Library& lib = Library::Handle(); 864 Library& lib = Library::Handle();
865 // Check core lib. 865 // Check core lib.
866 lib = Library::CoreLibrary(); 866 lib = Library::CoreLibrary();
867 EXPECT(!lib.IsNull()); 867 EXPECT(!lib.IsNull());
868 IterateScripts(lib); 868 IterateScripts(lib);
869 869
870 // Check core impl lib.
871 lib = Library::CoreImplLibrary();
872 EXPECT(!lib.IsNull());
873 IterateScripts(lib);
874
875 // Check isolate lib. 870 // Check isolate lib.
876 lib = Library::IsolateLibrary(); 871 lib = Library::IsolateLibrary();
877 EXPECT(!lib.IsNull()); 872 EXPECT(!lib.IsNull());
878 IterateScripts(lib); 873 IterateScripts(lib);
879 874
880 // Check math lib. 875 // Check math lib.
Ivan Posva 2012/11/13 18:26:28 ?
Anders Johnsen 2012/11/13 18:40:26 Bad merge.
881 lib = Library::MathLibrary(); 876 lib = Library::MathLibrary();
882 EXPECT(!lib.IsNull()); 877 EXPECT(!lib.IsNull());
883 IterateScripts(lib); 878 IterateScripts(lib);
884 879
885 // Check mirrors lib. 880 // Check mirrors lib.
886 lib = Library::MirrorsLibrary(); 881 lib = Library::MirrorsLibrary();
887 EXPECT(!lib.IsNull()); 882 EXPECT(!lib.IsNull());
888 IterateScripts(lib); 883 IterateScripts(lib);
889 } 884 }
890 885
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2098 EXPECT(Dart_ErrorHasException(result)); 2093 EXPECT(Dart_ErrorHasException(result));
2099 EXPECT_SUBSTRING("Exception: nulltruefalse1234563.14[]100123456789\n", 2094 EXPECT_SUBSTRING("Exception: nulltruefalse1234563.14[]100123456789\n",
2100 Dart_GetError(result)); 2095 Dart_GetError(result));
2101 2096
2102 Dart_ExitScope(); 2097 Dart_ExitScope();
2103 } 2098 }
2104 2099
2105 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64). 2100 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64).
2106 2101
2107 } // namespace dart 2102 } // namespace dart
OLDNEW
« runtime/vm/parser.cc ('K') | « runtime/vm/parser.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698