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

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

Issue 2542853003: Create summary files in MockSdk classes (Closed)
Patch Set: Created 4 years 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/pub_summary_test.dart
diff --git a/pkg/analyzer/test/src/summary/pub_summary_test.dart b/pkg/analyzer/test/src/summary/pub_summary_test.dart
index 0724cef1914962d5c615fbb0e4d2e344f1df05a0..2d472799895217395a1a56a8c5393aa6c2999d15 100644
--- a/pkg/analyzer/test/src/summary/pub_summary_test.dart
+++ b/pkg/analyzer/test/src/summary/pub_summary_test.dart
@@ -254,7 +254,8 @@ A b;
// Use DartSdk with a different API signature.
// Different linked bundles should be created.
{
- MockSdk sdk = new MockSdk(resourceProvider: resourceProvider);
+ MockSdk sdk = new MockSdk(
+ buildSummaries: false, resourceProvider: resourceProvider);
sdk.updateUriFile('dart:math', (String content) {
return content + ' class NewMathClass {}';
});
« pkg/analyzer/test/src/context/mock_sdk.dart ('K') | « pkg/analyzer/test/src/context/mock_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698