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

Unified Diff: pkg/analyzer/test/generated/test_support.dart

Issue 679173002: Remove EngineTestCase.createSource(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/test_support.dart
diff --git a/pkg/analyzer/test/generated/test_support.dart b/pkg/analyzer/test/generated/test_support.dart
index de6757b7f7f969bcc3a99612ae789abcc30bcc50..da4a6baee14cc463c58a869060d8332859bd398d 100644
--- a/pkg/analyzer/test/generated/test_support.dart
+++ b/pkg/analyzer/test/generated/test_support.dart
@@ -419,20 +419,6 @@ class EngineTestCase extends JUnitTestCase {
}
/**
- * Convert the given array of lines into a single source string.
- *
- * @param lines the lines to be merged into a single source string
- * @return the source string composed of the given lines
- */
- static String createSource(List<String> lines) {
- StringBuffer buffer = new StringBuffer();
- for (String line in lines) {
- buffer.writeln(line);
- }
- return buffer.toString();
- }
-
- /**
* @return the [AstNode] with requested type at offset of the "prefix".
*/
static AstNode findNode(AstNode root, String code, String prefix,
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698