Skip to content

Commit 1f2a782

Browse files
committed
Add copyright header and remove duplicated files
1 parent 3c6a95f commit 1f2a782

File tree

6 files changed

+12
-139
lines changed

6 files changed

+12
-139
lines changed

fixtures/_testTlsHostnameSound/pubspec.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

fixtures/_testTlsHostnameSound/web/index.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

fixtures/_testTlsHostnameSound/web/main.dart

Lines changed: 0 additions & 108 deletions
This file was deleted.

webdev/test/tls_test.dart

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
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.
4+
15
import 'dart:io';
26

37
import 'package:collection/collection.dart';
@@ -18,27 +22,27 @@ void main() {
1822
final debug = false;
1923

2024
final testRunner = TestRunner();
21-
late String soundExampleDirectory;
25+
late String exampleDirectory;
2226

2327
setUpAll(() async {
2428
configureLogWriter(debug);
2529
await testRunner.setUpAll();
26-
soundExampleDirectory = p.absolute(
27-
p.join(p.current, '..', 'fixtures', '_testTlsHostnameSound'));
30+
exampleDirectory = p.absolute(
31+
p.join(p.current, '..', 'fixtures', '_experimentSound'));
2832

2933
final process = await TestProcess.start(
3034
'dart',
3135
['pub', 'upgrade'],
32-
workingDirectory: soundExampleDirectory,
36+
workingDirectory: exampleDirectory,
3337
environment: getPubEnvironment(),
3438
);
3539

3640
await process.shouldExit(0);
3741

3842
await d
3943
.file('.dart_tool/package_config.json', isNotEmpty)
40-
.validate(soundExampleDirectory);
41-
await d.file('pubspec.lock', isNotEmpty).validate(soundExampleDirectory);
44+
.validate(exampleDirectory);
45+
await d.file('pubspec.lock', isNotEmpty).validate(exampleDirectory);
4246
});
4347

4448
test('listens on a loopback interface', () async {
@@ -52,7 +56,7 @@ void main() {
5256
];
5357

5458
final process = await testRunner.runWebDev(args,
55-
workingDirectory: soundExampleDirectory);
59+
workingDirectory: exampleDirectory);
5660
await expectLater(process.stdout, emitsThrough(contains('Succeeded')));
5761

5862
final client = HttpClient()
@@ -81,7 +85,7 @@ void main() {
8185
];
8286

8387
final process = await testRunner.runWebDev(args,
84-
workingDirectory: soundExampleDirectory);
88+
workingDirectory: exampleDirectory);
8589
await expectLater(process.stdout, emitsThrough(contains('Succeeded')));
8690

8791
final interfaces = await NetworkInterface.list(

0 commit comments

Comments
 (0)