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

Unified Diff: utils/template/uitest.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: utils/template/uitest.dart
diff --git a/utils/template/uitest.dart b/utils/template/uitest.dart
index ead7770b9f247299dd0340f7ce8ce7ee9e53b3b3..7aed1ffc1638199987c05f4a1b05ab144597b1ee 100644
--- a/utils/template/uitest.dart
+++ b/utils/template/uitest.dart
@@ -385,12 +385,12 @@ void runTemplate([bool debug = false, bool parseOnly = false]) {
try {
List<Template> templates = templateParseAndValidate(htmlTemplate);
for (var tmpl in templates) {
- dumpTree.add(tmpl.toDebugString());
+ dumpTree.write(tmpl.toDebugString());
}
// Generate the Dart class(es) for all template(s).
// Pass in filename of 'foo' for testing in UITest.
- code.add(Codegen.generate(templates, 'foo'));
+ code.write(Codegen.generate(templates, 'foo'));
} catch (htmlException) {
// TODO(terry): TBD
print("ERROR unhandled EXCEPTION");

Powered by Google App Engine
This is Rietveld 408576698