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

Side by Side Diff: test/serve/native_watch_replaced_file_test.dart

Issue 1556243002: Fix analyzer hints and warnings in test/. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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 pub_tests; 5 library pub_tests;
6 6
7 import 'dart:async';
8 import 'dart:io'; 7 import 'dart:io';
9 8
10 import 'package:path/path.dart' as p; 9 import 'package:path/path.dart' as p;
11 import 'package:scheduled_test/scheduled_test.dart'; 10 import 'package:scheduled_test/scheduled_test.dart';
12 11
13 import '../descriptor.dart' as d; 12 import '../descriptor.dart' as d;
14 import '../test_pub.dart'; 13 import '../test_pub.dart';
15 import 'utils.dart'; 14 import 'utils.dart';
16 15
17 main() { 16 main() {
(...skipping 30 matching lines...) Expand all
48 47
49 // Read the transformed file to ensure the change is actually noticed by 48 // Read the transformed file to ensure the change is actually noticed by
50 // pub and not that we just get the new file contents piped through 49 // pub and not that we just get the new file contents piped through
51 // without pub realizing they've changed. 50 // without pub realizing they've changed.
52 waitForBuildSuccess(); 51 waitForBuildSuccess();
53 requestShouldSucceed("file.out", "after.out"); 52 requestShouldSucceed("file.out", "after.out");
54 53
55 endPubServe(); 54 endPubServe();
56 }); 55 });
57 } 56 }
OLDNEW
« no previous file with comments | « test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart ('k') | test/serve/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698