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

Unified Diff: vm/dart_entry_test.cc

Issue 10808064: Rename some of the enum definitions inside classes to avoid conflict with the ObjectKind enum. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/find_code_object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/dart_entry_test.cc
===================================================================
--- vm/dart_entry_test.cc (revision 9791)
+++ vm/dart_entry_test.cc (working copy)
@@ -23,7 +23,9 @@
"}\n";
String& url = String::Handle(String::New("dart-test:DartEntry"));
String& source = String::Handle(String::New(kScriptChars));
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript));
+ Script& script = Script::Handle(Script::New(url,
+ source,
+ RawScript::kScriptTag));
Library& lib = Library::Handle(Library::CoreLibrary());
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script));
EXPECT(ClassFinalizer::FinalizePendingClasses());
@@ -53,7 +55,9 @@
"}\n";
String& url = String::Handle(String::New("dart-test:DartEntry"));
String& source = String::Handle(String::New(kScriptChars));
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript));
+ Script& script = Script::Handle(Script::New(url,
+ source,
+ RawScript::kScriptTag));
Library& lib = Library::Handle(Library::CoreLibrary());
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script));
EXPECT(ClassFinalizer::FinalizePendingClasses());
@@ -79,7 +83,9 @@
"}\n";
String& url = String::Handle(String::New("dart-test:DartEntry"));
String& source = String::Handle(String::New(kScriptChars));
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript));
+ Script& script = Script::Handle(Script::New(url,
+ source,
+ RawScript::kScriptTag));
Library& lib = Library::Handle(Library::CoreLibrary());
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script));
EXPECT(ClassFinalizer::FinalizePendingClasses());
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/find_code_object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698