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

Unified Diff: tests/compiler/dart2js/analyze_unused_dart2js_test.dart

Issue 165143004: Move TypeMask.simplify to a test helper. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 6 years, 10 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/compiler/dart2js/analyze_unused_dart2js_test.dart
diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
index e05a62c9c854d5f101eba90e4afd6a85f9fc18ea..26309d0cdc2cab85a7ad8c2dc81a7bcf173a0c86 100644
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
@@ -12,15 +12,8 @@ import 'analyze_helper.dart';
const String SIMPLIFY_NEVER_CALLED = "The method 'simplify' is never called";
-// The simplify method isn't used in dart2js anymore but is used by many tests.
-const Map<String, List<String>> WHITE_LIST = const {
- "type_mask.dart": const [SIMPLIFY_NEVER_CALLED],
- "concrete_types_inferrer.dart": const [SIMPLIFY_NEVER_CALLED],
-};
-
void main() {
var uri = currentDirectory.resolve(
'sdk/lib/_internal/compiler/implementation/use_unused_api.dart');
- asyncTest(
- () => analyze([uri], WHITE_LIST, analyzeAll: false));
+ asyncTest(() => analyze([uri], {}, analyzeAll: false));
}

Powered by Google App Engine
This is Rietveld 408576698