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

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

Issue 2980863003: The very first bits of resynthesizing elements from kernels. (Closed)
Patch Set: Fixes for review comments. 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 16ed5bb976c01d56a95f0d18f6fb8f9f3fc832d1..974a0d99244f2e649246f734ac21fd670aff3e4c 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -1362,17 +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) {
@@ -7382,7 +7371,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');
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698