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

Side by Side Diff: pkg/analyzer/test/generated/gn_test.dart

Issue 2832873002: Fix two analyzer warnings. (Closed)
Patch Set: revert statement_completion.dart change Created 3 years, 8 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
« no previous file with comments | « no previous file | 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 library analyzer.test.generated.gn_test; 5 library analyzer.test.generated.gn_test;
6 6
7 import 'package:analyzer/file_system/memory_file_system.dart'; 7 import 'package:analyzer/file_system/memory_file_system.dart';
8 import 'package:analyzer/src/generated/gn.dart'; 8 import 'package:analyzer/src/generated/gn.dart';
9 import 'package:analyzer/src/generated/source.dart';
10 import 'package:test/test.dart'; 9 import 'package:test/test.dart';
11 import 'package:test_reflective_loader/test_reflective_loader.dart'; 10 import 'package:test_reflective_loader/test_reflective_loader.dart';
12 11
13 main() { 12 main() {
14 defineReflectiveSuite(() { 13 defineReflectiveSuite(() {
15 defineReflectiveTests(GnWorkspaceTest); 14 defineReflectiveTests(GnWorkspaceTest);
16 }); 15 });
17 } 16 }
18 17
19 @reflectiveTest 18 @reflectiveTest
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 72 }
74 73
75 class _BaseTest { 74 class _BaseTest {
76 final MemoryResourceProvider provider = new MemoryResourceProvider(); 75 final MemoryResourceProvider provider = new MemoryResourceProvider();
77 76
78 /** 77 /**
79 * Return the [provider] specific path for the given Posix [path]. 78 * Return the [provider] specific path for the given Posix [path].
80 */ 79 */
81 String _p(String path) => provider.convertPath(path); 80 String _p(String path) => provider.convertPath(path);
82 } 81 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698