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

Unified Diff: tests/language_strong/deferred_constraints_constants_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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/language_strong/deferred_constraints_constants_test.dart
diff --git a/tests/language_strong/deferred_constraints_constants_test.dart b/tests/language_strong/deferred_constraints_constants_test.dart
index b7e2244b8dea693a66eb246a5a3271280fbe3456..a45ed15034d253abc1ed4f41e909ea6600d0de66 100644
--- a/tests/language_strong/deferred_constraints_constants_test.dart
+++ b/tests/language_strong/deferred_constraints_constants_test.dart
@@ -9,35 +9,35 @@ import 'dart:mirrors';
import "deferred_constraints_constants_lib.dart" deferred as lib;
const myConst1 =
- lib.constantInstance; /// reference1: compile-time error
- /* // /// reference1: continued
+ lib.constantInstance; //# reference1: compile-time error
+ /* // //# reference1: continued
499;
- */ // /// reference1: continued
+ */ // //# reference1: continued
const myConst2 =
- lib.Const.instance; /// reference2: compile-time error
- /* // /// reference2: continued
+ lib.Const.instance; //# reference2: compile-time error
+ /* // //# reference2: continued
499;
- */ // /// reference2: continued
+ */ // //# reference2: continued
void f1({a:
- const lib.Const() /// default_argument1: compile-time error
- /* // /// default_argument1: continued
+ const lib.Const() //# default_argument1: compile-time error
+ /* // //# default_argument1: continued
499
- */ // /// default_argument1: continued
+ */ // //# default_argument1: continued
}) {}
void f2({a:
- lib.constantInstance /// default_argument2: compile-time error
- /* // /// default_argument2: continued
+ lib.constantInstance //# default_argument2: compile-time error
+ /* // //# default_argument2: continued
499
- */ // /// default_argument2: continued
+ */ // //# default_argument2: continued
}) {}
-@lib.Const() /// metadata1: compile-time error
+@lib.Const() //# metadata1: compile-time error
class H1 {}
-@lib.Const.instance /// metadata2: compile-time error
+@lib.Const.instance //# metadata2: compile-time error
class H2 {}
-@lib.Const.namedConstructor() /// metadata3: compile-time error
+@lib.Const.namedConstructor() //# metadata3: compile-time error
class H3 {}
void main() {
@@ -47,11 +47,11 @@ void main() {
asyncStart();
lib.loadLibrary().then((_) {
var instance = lib.constantInstance;
- var c1 = const lib.Const(); /// constructor1: compile-time error
- var c2 = const lib.Const.namedConstructor(); /// constructor2: compile-time error
+ var c1 = const lib.Const(); //# constructor1: compile-time error
+ var c2 = const lib.Const.namedConstructor(); //# constructor2: compile-time error
f1();
f2();
- var constInstance = lib.constantInstance; /// reference_after_load: ok
+ var constInstance = lib.constantInstance; //# reference_after_load: ok
var h1 = new H1();
var h2 = new H2();
var h3 = new H3();

Powered by Google App Engine
This is Rietveld 408576698