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

Side by Side Diff: tests/standalone/io/secure_socket_alpn_test.dart

Issue 2423593002: Add test directive to include other files used by a test in its compiled output directory. (Closed)
Patch Set: Created 4 years, 2 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 //
5 // OtherResources=certificates/server_chain.pem
6 // OtherResources=certificates/server_key.pem
7 // OtherResources=certificates/trusted_certs.pem
4 8
5 import 'dart:io'; 9 import 'dart:io';
6 import 'dart:convert'; 10 import 'dart:convert';
7 11
8 import 'package:expect/expect.dart'; 12 import 'package:expect/expect.dart';
9 import 'package:async_helper/async_helper.dart'; 13 import 'package:async_helper/async_helper.dart';
10 14
11 const String NAME_LENGTH_ERROR = 15 const String NAME_LENGTH_ERROR =
12 'Length of protocol must be between 1 and 255'; 16 'Length of protocol must be between 1 and 255';
13 17
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // Issue https://github.com/dart-lang/sdk/issues/23580 202 // Issue https://github.com/dart-lang/sdk/issues/23580
199 // Chromium issue https://code.google.com/p/chromium/issues/detail?id=497770 203 // Chromium issue https://code.google.com/p/chromium/issues/detail?id=497770
200 testSuccessfulAlpnNegotiationConnection(['a'], ['b'], null); 204 testSuccessfulAlpnNegotiationConnection(['a'], ['b'], null);
201 205
202 // Test too short / too long protocol names. 206 // Test too short / too long protocol names.
203 testInvalidArgument([longname256], NAME_LENGTH_ERROR); 207 testInvalidArgument([longname256], NAME_LENGTH_ERROR);
204 testInvalidArgument([strangelongname256], NAME_LENGTH_ERROR); 208 testInvalidArgument([strangelongname256], NAME_LENGTH_ERROR);
205 testInvalidArgument([''], NAME_LENGTH_ERROR); 209 testInvalidArgument([''], NAME_LENGTH_ERROR);
206 testInvalidArgument(tooManyProtocols, MESSAGE_LENGTH_ERROR); 210 testInvalidArgument(tooManyProtocols, MESSAGE_LENGTH_ERROR);
207 } 211 }
OLDNEW
« no previous file with comments | « tests/standalone/io/secure_session_resume_test.dart ('k') | tests/standalone/io/secure_socket_renegotiate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698