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

Unified Diff: pkg/front_end/testcases/shaker/source_class.dart

Issue 3011663002: Restructure outline shaker tests. (Closed)
Patch Set: Created 3 years, 4 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: pkg/front_end/testcases/shaker/source_class.dart
diff --git a/pkg/front_end/testcases/shaker/roots5.dart b/pkg/front_end/testcases/shaker/source_class.dart
similarity index 55%
rename from pkg/front_end/testcases/shaker/roots5.dart
rename to pkg/front_end/testcases/shaker/source_class.dart
index ee3381c68326178b725bd64c39817514780646e2..1ea42b83d36b48d630fe189e8273e315061b3e07 100644
--- a/pkg/front_end/testcases/shaker/roots5.dart
+++ b/pkg/front_end/testcases/shaker/source_class.dart
@@ -2,10 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-import 'lib/lib.dart';
+import 'lib/sources.dart';
-/// Tree-shaker preserves APIs used anywhere in the library, there is no special
-/// root, and `main` is no special.
-class X {
- var s = toplevel();
+class C {
+ A1 f1;
+ var f2 = A2;
+
+ A3 m1(A4 a, [A5 b]) => null;
+ A3 m2(A4 a, {A6 b}) => null;
+
+ A7 get getter => null;
+ void set setter(A8 v) {}
}
« no previous file with comments | « pkg/front_end/testcases/shaker/roots7.dart.shaker ('k') | pkg/front_end/testcases/shaker/source_class.dart.shaker » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698