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

Unified Diff: tests/lib/mirrors/generic_interface_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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
Index: tests/lib/mirrors/generic_interface_test.dart
diff --git a/tests/lib/mirrors/generic_interface_test.dart b/tests/lib/mirrors/generic_interface_test.dart
index 03e3f114a7046c3c100720e7a1cf582dadcac3fd..72de23627791c99a4ebf5f671f32811297cb39c1 100644
--- a/tests/lib/mirrors/generic_interface_test.dart
+++ b/tests/lib/mirrors/generic_interface_test.dart
@@ -17,7 +17,7 @@ class Fixed implements Interface<int> {}
class Generic<R> implements Interface<R> {}
class Bienbounded implements Bounded<int> {}
-class Malbounded implements Bounded<String> {} /// 01: static type warning
+class Malbounded implements Bounded<String> {} //# 01: static type warning
class FBounded implements Interface<FBounded> {}
class Mixin {}
@@ -37,7 +37,7 @@ main() {
ClassMirror interfaceOfBool = reflect(new Generic<bool>()).type.superinterfaces.single;
ClassMirror boundedOfInt = reflectClass(Bienbounded).superinterfaces.single;
- ClassMirror boundedOfString = reflectClass(Malbounded).superinterfaces.single; /// 01: continued
+ ClassMirror boundedOfString = reflectClass(Malbounded).superinterfaces.single; //# 01: continued
ClassMirror interfaceOfFBounded = reflectClass(FBounded).superinterfaces.single;
ClassMirror interfaceOfInt2 = reflectClass(FixedMixinApplication).superinterfaces.single;
@@ -55,7 +55,7 @@ main() {
Expect.isFalse(interfaceOfR.isOriginalDeclaration);
Expect.isFalse(interfaceOfBool.isOriginalDeclaration);
Expect.isFalse(boundedOfInt.isOriginalDeclaration);
- Expect.isFalse(boundedOfString.isOriginalDeclaration); /// 01: continued
+ Expect.isFalse(boundedOfString.isOriginalDeclaration); //# 01: continued
Expect.isFalse(interfaceOfFBounded.isOriginalDeclaration);
Expect.isFalse(interfaceOfInt2.isOriginalDeclaration);
Expect.isFalse(interfaceOfX.isOriginalDeclaration);
@@ -84,7 +84,7 @@ main() {
typeParameters(interfaceOfR, [#T]);
typeParameters(interfaceOfBool, [#T]);
typeParameters(boundedOfInt, [#S]);
- typeParameters(boundedOfString, [#S]); /// 01: continued
+ typeParameters(boundedOfString, [#S]); //# 01: continued
typeParameters(interfaceOfFBounded, [#T]);
typeParameters(interfaceOfInt2, [#T]);
typeParameters(interfaceOfX, [#T]);
@@ -99,7 +99,7 @@ main() {
typeArguments(interfaceOfR, [rFromGeneric]);
typeArguments(interfaceOfBool, [reflectClass(bool)]);
typeArguments(boundedOfInt, [reflectClass(int)]);
- typeArguments(boundedOfString, [reflectClass(String)]); /// 01: continued
+ typeArguments(boundedOfString, [reflectClass(String)]); //# 01: continued
typeArguments(interfaceOfFBounded, [reflectClass(FBounded)]);
typeArguments(interfaceOfInt2, [reflectClass(int)]);
typeArguments(interfaceOfX, [xFromGenericMixinApplication]);

Powered by Google App Engine
This is Rietveld 408576698