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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_common.dart

Issue 2980863003: The very first bits of resynthesizing elements from kernels. (Closed)
Patch Set: Created 3 years, 5 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/analyzer/test/src/summary/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index ef5245efd7cf576029c1061813aeff5cc5d52462..a88c0e03781717439b286ab41e77e5c4cde825eb 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -1362,21 +1362,6 @@ abstract class ResynthesizeTest extends AbstractResynthesizeTest {
*/
SummaryResynthesizer encodeDecodeLibrarySource(Source librarySource);
- fail_library_hasExtUri() async {
- var library = await checkLibrary('import "dart-ext:doesNotExist.dart";');
- if (isStrongMode) {
- checkElementText(
- library,
- r'''
-''');
- } else {
- checkElementText(
- library,
- r'''
-''');
- }
- }
-
test_class_abstract() async {
var library = await checkLibrary('abstract class C {}');
if (isStrongMode) {
@@ -8510,7 +8495,7 @@ const dynamic x =
var variables = library.definingCompilationUnit.topLevelVariables;
expect(variables, hasLength(1));
var x = variables[0] as ConstTopLevelVariableElementImpl;
- if (createOptions().strongMode) {
+ if (isStrongMode) {
expect(x.type.toString(), 'Type');
} else {
expect(x.type.toString(), 'dynamic');

Powered by Google App Engine
This is Rietveld 408576698