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

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

Issue 2879273002: Make server use the common protocol classes (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) 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:convert'; 7 import 'dart:convert';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:analysis_server/protocol/protocol_generated.dart'; 10 import 'package:analysis_server/protocol/protocol_generated.dart';
11 import 'package:analysis_server/src/constants.dart'; 11 import 'package:analysis_server/src/constants.dart';
12 import 'package:analyzer_plugin/protocol/protocol_common.dart';
12 import 'package:path/path.dart'; 13 import 'package:path/path.dart';
13 import 'package:test/test.dart'; 14 import 'package:test/test.dart';
14 15
15 import 'integration_test_methods.dart'; 16 import 'integration_test_methods.dart';
16 import 'protocol_matchers.dart'; 17 import 'protocol_matchers.dart';
17 18
18 const Matcher isBool = const isInstanceOf<bool>(); 19 const Matcher isBool = const isInstanceOf<bool>();
19 20
20 const Matcher isInt = const isInstanceOf<int>(); 21 const Matcher isInt = const isInstanceOf<int>();
21 22
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 void populateMismatches(item, List<MismatchDescriber> mismatches); 982 void populateMismatches(item, List<MismatchDescriber> mismatches);
982 983
983 /** 984 /**
984 * Create a [MismatchDescriber] describing a mismatch with a simple string. 985 * Create a [MismatchDescriber] describing a mismatch with a simple string.
985 */ 986 */
986 MismatchDescriber simpleDescription(String description) => 987 MismatchDescriber simpleDescription(String description) =>
987 (Description mismatchDescription) { 988 (Description mismatchDescription) {
988 mismatchDescription.add(description); 989 mismatchDescription.add(description);
989 }; 990 };
990 } 991 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698