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

Side by Side Diff: pkg/analysis_server/test/analysis/notification_analysis_options_test.dart

Issue 2884593003: Reverse the sense of the flag to make it easier to find test that need to be converted (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analysis_server/protocol/protocol.dart'; 5 import 'package:analysis_server/protocol/protocol.dart';
6 import 'package:analysis_server/protocol/protocol_generated.dart' 6 import 'package:analysis_server/protocol/protocol_generated.dart'
7 hide AnalysisOptions; 7 hide AnalysisOptions;
8 import 'package:analysis_server/src/constants.dart'; 8 import 'package:analysis_server/src/constants.dart';
9 import 'package:analysis_server/src/domain_analysis.dart'; 9 import 'package:analysis_server/src/domain_analysis.dart';
10 import 'package:analyzer/src/generated/engine.dart'; 10 import 'package:analyzer/src/generated/engine.dart';
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 void setStrongMode(bool isSet) { 66 void setStrongMode(bool isSet) {
67 addOptionsFile(''' 67 addOptionsFile('''
68 analyzer: 68 analyzer:
69 strong-mode: $isSet 69 strong-mode: $isSet
70 '''); 70 ''');
71 } 71 }
72 72
73 @override 73 @override
74 void setUp() { 74 void setUp() {
75 enableNewAnalysisDriver = true;
76 generateSummaryFiles = true; 75 generateSummaryFiles = true;
77 registerLintRules(); 76 registerLintRules();
78 super.setUp(); 77 super.setUp();
79 server.handlers = [new AnalysisDomainHandler(server)]; 78 server.handlers = [new AnalysisDomainHandler(server)];
80 } 79 }
81 80
82 @override 81 @override
83 void tearDown() { 82 void tearDown() {
84 filesErrors[optionsFilePath] = []; 83 filesErrors[optionsFilePath] = [];
85 filesErrors[testFile] = []; 84 filesErrors[testFile] = [];
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 @override 335 @override
337 String get optionsFilePath => '$projectPath/analysis_options.yaml'; 336 String get optionsFilePath => '$projectPath/analysis_options.yaml';
338 } 337 }
339 338
340 @reflectiveTest 339 @reflectiveTest
341 class OldAnalysisOptionsFileNotificationTest 340 class OldAnalysisOptionsFileNotificationTest
342 extends AnalysisOptionsFileNotificationTest { 341 extends AnalysisOptionsFileNotificationTest {
343 @override 342 @override
344 String get optionsFilePath => '$projectPath/.analysis_options'; 343 String get optionsFilePath => '$projectPath/.analysis_options';
345 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698