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

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

Issue 637003002: Convert all the generated tests to reflective. (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/scanner_test.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 7bf0040cb8528952cc22e14995911a055f5c4fdf..9a8ac18a1bf48506b17af9246f81453f7af12a06 100644
--- a/pkg/analyzer/test/generated/test_support.dart
+++ b/pkg/analyzer/test/generated/test_support.dart
@@ -432,11 +432,6 @@ class EngineTestCase extends JUnitTestCase {
return writer.toString();
}
- static dartSuite() {
- _ut.group('EngineTestCase', () {
- });
- }
-
/**
* @return the [AstNode] with requested type at offset of the "prefix".
*/
@@ -672,11 +667,8 @@ class GatheringErrorListener implements AnalysisErrorListener {
}
}
//
-
-
-
-
- // Check that there are no more errors in the actual-errors map, otherwise, record message.
+ // Check that there are no more errors in the actual-errors map,
+ // otherwise record message.
//
for (MapEntry<ErrorCode, List<AnalysisError>> entry in getMapEntrySet(
errorsByCode)) {
@@ -976,7 +968,8 @@ class TestSource implements Source {
TimestampedData<String> get contents {
readCount++;
if (generateExceptionOnRead) {
- throw new Exception("I/O Exception while getting the contents of " + _name);
+ String msg = "I/O Exception while getting the contents of " + _name;
+ throw new Exception(msg);
}
return new TimestampedData<String>(0, _contents);
}
« no previous file with comments | « pkg/analyzer/test/generated/scanner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698