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

Side by Side Diff: tools/testing/dart/fletch_warnings_suite.dart

Issue 1413713011: Revert "Extend the mDNS package with a native extension used on Mac OS" (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « tests/mdns_tests/mdns_tests.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library test.fletch_warnings_suite; 5 library test.fletch_warnings_suite;
6 6
7 import 'dart:io' as io; 7 import 'dart:io' as io;
8 8
9 import 'dart:convert' show 9 import 'dart:convert' show
10 UTF8; 10 UTF8;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 commandBuilder.getAnalysisCommand( 55 commandBuilder.getAnalysisCommand(
56 'dart2js-analyze-only', 56 'dart2js-analyze-only',
57 dartBinary, 57 dartBinary,
58 <String>[ 58 <String>[
59 '--packages=.packages', // For the VM. 59 '--packages=.packages', // For the VM.
60 './third_party/dart/pkg/compiler/lib/src/dart2js.dart', 60 './third_party/dart/pkg/compiler/lib/src/dart2js.dart',
61 '--packages=.packages', // For dart2js. 61 '--packages=.packages', // For dart2js.
62 '--library-root=third_party/dart/sdk/', 62 '--library-root=third_party/dart/sdk/',
63 '--analyze-only', 63 '--analyze-only',
64 '--show-package-warnings', 64 '--show-package-warnings',
65 '--categories=Server', 65 '--categories=Server']..addAll(arguments),
66 '--allow-native-extensions']..addAll(arguments),
67 null, 66 null,
68 flavor: 'dart2js')]; 67 flavor: 'dart2js')];
69 } 68 }
70 } 69 }
71 70
72 class FletchWarningsSuite extends TestSuite { 71 class FletchWarningsSuite extends TestSuite {
73 FletchWarningsSuite(Map configuration, testSuiteDir) 72 FletchWarningsSuite(Map configuration, testSuiteDir)
74 : super(configuration, "warnings"); 73 : super(configuration, "warnings");
75 74
76 void forEachTest( 75 void forEachTest(
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 127
129 var filteredStdout = 128 var filteredStdout =
130 UTF8.decode(stdout, allowMalformed: true).replaceAll(noLintFilter, ""); 129 UTF8.decode(stdout, allowMalformed: true).replaceAll(noLintFilter, "");
131 if (filteredStdout.isNotEmpty) { 130 if (filteredStdout.isNotEmpty) {
132 return Expectation.STATIC_WARNING; 131 return Expectation.STATIC_WARNING;
133 } 132 }
134 133
135 return Expectation.PASS; 134 return Expectation.PASS;
136 } 135 }
137 } 136 }
OLDNEW
« no previous file with comments | « tests/mdns_tests/mdns_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698