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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 11411271: Remove support for interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart_api_impl_test.cc
===================================================================
--- runtime/vm/dart_api_impl_test.cc (revision 15552)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -2382,7 +2382,7 @@
{ \
Dart_Handle tmp = (handle); \
EXPECT_VALID(tmp); \
- EXPECT(Dart_IsInterface(tmp)); \
+ EXPECT(Dart_IsClass(tmp)); \
Dart_Handle intf_name = Dart_ClassName(tmp); \
EXPECT_VALID(intf_name); \
const char* intf_name_cstr = ""; \
@@ -2402,10 +2402,10 @@
"class MyClass2 implements MyInterface0, MyInterface1 {\n"
"}\n"
"\n"
- "interface MyInterface0 {\n"
+ "abstract class MyInterface0 {\n"
"}\n"
"\n"
- "interface MyInterface1 extends MyInterface0 {\n"
+ "abstract class MyInterface1 implements MyInterface0 {\n"
"}\n";
Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL);

Powered by Google App Engine
This is Rietveld 408576698