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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 17286009: Fix build break (add correct return type in test). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
===================================================================
--- runtime/vm/dart_api_impl_test.cc (revision 24155)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -2810,9 +2810,9 @@
"MyClass0 getMyClass0() { return new MyClass0(); }\n"
"MyClass1 getMyClass1() { return new MyClass1(); }\n"
"MyClass2 getMyClass2() { return new MyClass2(); }\n"
- "MyClass0 getMyClass0Type() { return new MyClass0().runtimeType; }\n"
- "MyClass1 getMyClass1Type() { return new MyClass1().runtimeType; }\n"
- "MyClass2 getMyClass2Type() { return new MyClass2().runtimeType; }\n";
+ "Type getMyClass0Type() { return new MyClass0().runtimeType; }\n"
+ "Type getMyClass1Type() { return new MyClass1().runtimeType; }\n"
+ "Type getMyClass2Type() { return new MyClass2().runtimeType; }\n";
Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL);
bool instanceof = false;
@@ -2893,25 +2893,25 @@
"MyClass0 getMyClass0() {\n"
" return new MyClass0<int, double>();\n"
"}\n"
- "MyClass0 getMyClass0Type() {\n"
+ "Type getMyClass0Type() {\n"
" return new MyClass0<int, double>().runtimeType;\n"
"}\n"
"MyClass1 getMyClass1() {\n"
" return new MyClass1<List<int>, List>();\n"
"}\n"
- "MyClass1 getMyClass1Type() {\n"
+ "Type getMyClass1Type() {\n"
" return new MyClass1<List<int>, List>().runtimeType;\n"
"}\n"
"MyClass0 getMyClass0_1() {\n"
" return new MyClass0<double, int>();\n"
"}\n"
- "MyClass0 getMyClass0_1Type() {\n"
+ "Type getMyClass0_1Type() {\n"
" return new MyClass0<double, int>().runtimeType;\n"
"}\n"
"MyClass1 getMyClass1_1() {\n"
" return new MyClass1<List<int>, List<double>>();\n"
"}\n"
- "MyClass1 getMyClass1_1Type() {\n"
+ "Type getMyClass1_1Type() {\n"
" return new MyClass1<List<int>, List<double>>().runtimeType;\n"
"}\n";
Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698