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

Unified Diff: samples/tests/dartc/test_config.dart

Issue 12475004: Add dart analyzer test suite 'analyze_library' that fails if we (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased 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
« no previous file with comments | « no previous file | sdk/lib/crypto/crypto_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/dartc/test_config.dart
diff --git a/samples/tests/dartc/test_config.dart b/samples/tests/dartc/test_config.dart
index a49af17e1324cb1f6fe7b5ac609c0db446f650f6..30368b8619ff973b791317a220315bbc9e20c879 100644
--- a/samples/tests/dartc/test_config.dart
+++ b/samples/tests/dartc/test_config.dart
@@ -38,12 +38,7 @@ class SamplesDartcTestSuite extends DartcCompilationTestSuite {
['samples/tests/dartc/dartc.status']);
bool isTestFile(String filename) {
- if (!filename.endsWith(".dart")) return false;
- // Using readOptionsFromFile here causes the file to be read twice,
- // because readOptionsFromFile is called again in the superclass.
- // Avoid this in new code.
- return StandardTestSuite.readOptionsFromFile(new Path(filename))
- ["containsLeadingHash"];
+ return filename.endsWith(".dart");
}
bool get listRecursively => true;
« no previous file with comments | « no previous file | sdk/lib/crypto/crypto_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698