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

Side by Side Diff: tests/compiler/dart2js/no_such_method_enabled_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async';
6 import 'package:async_helper/async_helper.dart'; 5 import 'package:async_helper/async_helper.dart';
7 import 'package:compiler/src/common_elements.dart'; 6 import 'package:compiler/src/common_elements.dart';
8 import 'package:compiler/src/compiler.dart'; 7 import 'package:compiler/src/compiler.dart';
9 import 'package:compiler/src/elements/entities.dart'; 8 import 'package:compiler/src/elements/entities.dart';
10 import 'package:compiler/src/js_backend/no_such_method_registry.dart'; 9 import 'package:compiler/src/js_backend/no_such_method_registry.dart';
11 import 'package:compiler/src/world.dart'; 10 import 'package:compiler/src/world.dart';
12 import 'package:expect/expect.dart'; 11 import 'package:expect/expect.dart';
13 import 'kernel/compiler_helper.dart'; 12 import 'kernel/compiler_helper.dart';
14 import 'compiler_helper.dart'; 13 import 'compiler_helper.dart';
15 14
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 registry.complexReturningImpls.contains(noSuchMethod), 345 registry.complexReturningImpls.contains(noSuchMethod),
347 "Unexpected isComplexReturn result on $noSuchMethod."); 346 "Unexpected isComplexReturn result on $noSuchMethod.");
348 } 347 }
349 } 348 }
350 349
351 Expect.equals( 350 Expect.equals(
352 test.isNoSuchMethodUsed, 351 test.isNoSuchMethodUsed,
353 closedWorld.backendUsage.isNoSuchMethodUsed, 352 closedWorld.backendUsage.isNoSuchMethodUsed,
354 "Unexpected isNoSuchMethodUsed result."); 353 "Unexpected isNoSuchMethodUsed result.");
355 } 354 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698