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

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 2695253002: Add an integration test for edit.format. (Closed)
Patch Set: rename setup to formatTestSetup Created 3 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: pkg/analysis_server/test/integration/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
index 59cbe570f4d8b38a483205bef226d3f910e4d7f2..c45e07fb905a9c580f512fc9a3be40c585edd188 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -277,6 +277,11 @@ abstract class AbstractAnalysisServerIntegrationTest
file.writeAsStringSync(contents);
return file.resolveSymbolicLinksSync();
}
+
+ /**
+ * Read a source file with the given absolute [pathname].
+ */
+ String readFile(String pathname) => new File(pathname).readAsStringSync();
}
/**
« no previous file with comments | « pkg/analysis_server/test/integration/edit/test_all.dart ('k') | pkg/analysis_server/test/integration/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698