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

Side by Side Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 459203002: Rename InttestMixin -> IntegrationTestMixin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 test.integration.analysis; 5 library test.integration.analysis;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:convert'; 9 import 'dart:convert';
10 import 'dart:io'; 10 import 'dart:io';
11 11
12 import 'package:analysis_server/src/constants.dart'; 12 import 'package:analysis_server/src/constants.dart';
13 import 'package:path/path.dart'; 13 import 'package:path/path.dart';
14 import 'package:unittest/unittest.dart'; 14 import 'package:unittest/unittest.dart';
15 15
16 import 'integration_test_methods.dart'; 16 import 'integration_test_methods.dart';
17 import 'protocol_matchers.dart'; 17 import 'protocol_matchers.dart';
18 18
19 /** 19 /**
20 * Base class for analysis server integration tests. 20 * Base class for analysis server integration tests.
21 */ 21 */
22 abstract class AbstractAnalysisServerIntegrationTest extends InttestMixin { 22 abstract class AbstractAnalysisServerIntegrationTest extends
23 IntegrationTestMixin {
23 /** 24 /**
24 * Amount of time to give the server to respond to a shutdown request before 25 * Amount of time to give the server to respond to a shutdown request before
25 * forcibly terminating it. 26 * forcibly terminating it.
26 */ 27 */
27 static const Duration SHUTDOWN_TIMEOUT = const Duration(seconds: 5); 28 static const Duration SHUTDOWN_TIMEOUT = const Duration(seconds: 5);
28 29
29 /** 30 /**
30 * Connection to the analysis server. 31 * Connection to the analysis server.
31 */ 32 */
32 final Server server = new Server(); 33 final Server server = new Server();
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 */ 732 */
732 void _recordStdio(String line) { 733 void _recordStdio(String line) {
733 double elapsedTime = _time.elapsedTicks / _time.frequency; 734 double elapsedTime = _time.elapsedTicks / _time.frequency;
734 line = "$elapsedTime: $line"; 735 line = "$elapsedTime: $line";
735 if (_debuggingStdio) { 736 if (_debuggingStdio) {
736 print(line); 737 print(line);
737 } 738 }
738 _recordedStdio.add(line); 739 _recordedStdio.add(line);
739 } 740 }
740 } 741 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698