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

Unified Diff: tests/language/interface_test.dart

Issue 11434089: Update or delete language tests using obsolete interfaces or default factory (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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: tests/language/interface_test.dart
===================================================================
--- tests/language/interface_test.dart (revision 15648)
+++ tests/language/interface_test.dart (working copy)
@@ -3,25 +3,25 @@
// BSD-style license that can be found in the LICENSE file.
// Dart test program for testing Interfaces.
-interface Ai {
+abstract class Ai {
int foo();
}
-interface Bi extends Ai default InterfaceTest {
- Bi();
+abstract class Bi implements Ai {
+ factory Bi() = InterfaceTest;
}
-interface Simple extends Ai { }
+abstract class Simple implements Ai { }
-interface Aai { }
+abstract class Aai { }
-interface Abi { }
+abstract class Abi { }
-interface Bar { }
+abstract class Bar { }
-interface Foo extends Bar { }
+abstract class Foo implements Bar { }
-interface Baz extends Bar, Foo { }
+abstract class Baz implements Bar, Foo { }
class InterfaceTest implements Ai, Aai, Abi, Baz, Bi {
var f;
« no previous file with comments | « tests/language/interface_static_non_final_fields_negative_test.dart ('k') | tests/language/is_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698