Update link branches to main (#146558)
- Update CS and googlesource.com link branches - Update GitHub /blob/ and /tree/ links Tested links manually and fixes a few broken or deprecated links Added a test that validates that `master` isn't used, except for specified repos. Part of https://github.com/flutter/flutter/issues/121564 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat [Data Driven Fixes]: https://github.com/flutter/flutter/wiki/Data-driven-Fixes
This commit is contained in:
@@ -50,7 +50,7 @@ Future<void> main() => integrationDriver();
|
||||
You can also use different driver scripts to customize the behavior of the app
|
||||
under test. For example, `FlutterDriver` can also be parameterized with
|
||||
different [options](https://api.flutter.dev/flutter/flutter_driver/FlutterDriver/connect.html).
|
||||
See the [extended driver](https://github.com/flutter/flutter/blob/master/packages/integration_test/example/test_driver/extended_integration_test.dart) for an example.
|
||||
See the [extended driver](https://github.com/flutter/flutter/blob/main/packages/integration_test/example/test_driver/extended_integration_test.dart) for an example.
|
||||
|
||||
### Package Structure
|
||||
|
||||
@@ -68,7 +68,7 @@ test_driver/
|
||||
integration_test.dart
|
||||
```
|
||||
|
||||
[Example](https://github.com/flutter/flutter/tree/master/packages/integration_test/example)
|
||||
[Example](https://github.com/flutter/flutter/tree/main/packages/integration_test/example)
|
||||
|
||||
## Using Flutter Driver to Run Tests
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
|
||||
No-op implementation of integration to avoid build issues on iOS.
|
||||
See https://github.com/flutter/flutter/issues/39659
|
||||
DESC
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/master/packages/integration_test/integration_test_macos'
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/main/packages/integration_test/integration_test_macos'
|
||||
s.license = { :file => '../LICENSE' }
|
||||
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
|
||||
s.source = { :path => '.' }
|
||||
|
||||
@@ -8,13 +8,13 @@ Pod::Spec.new do |s|
|
||||
s.description = <<-DESC
|
||||
Runs tests that use the flutter_test API as integration tests on macOS.
|
||||
DESC
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/master/packages/integration_test/integration_test_macos'
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/main/packages/integration_test/integration_test_macos'
|
||||
s.license = { :type => 'BSD', :text => <<-LICENSE
|
||||
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
LICENSE
|
||||
}
|
||||
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
|
||||
s.source = { :http => 'https://github.com/flutter/flutter/tree/master/packages/integration_test/integration_test_macos' }
|
||||
s.source = { :http => 'https://github.com/flutter/flutter/tree/main/packages/integration_test/integration_test_macos' }
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.dependency 'FlutterMacOS'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: integration_test_macos
|
||||
description: Desktop implementation of integration_test plugin
|
||||
version: 0.0.1+1
|
||||
homepage: https://github.com/flutter/flutter/tree/master/packages/integration_test/integration_test_macos
|
||||
homepage: https://github.com/flutter/flutter/tree/main/packages/integration_test/integration_test_macos
|
||||
|
||||
flutter:
|
||||
plugin:
|
||||
|
||||
@@ -8,13 +8,13 @@ Pod::Spec.new do |s|
|
||||
s.description = <<-DESC
|
||||
Runs tests that use the flutter_test API as integration tests.
|
||||
DESC
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/master/packages/integration_test'
|
||||
s.homepage = 'https://github.com/flutter/flutter/tree/main/packages/integration_test'
|
||||
s.license = { :type => 'BSD', :text => <<-LICENSE
|
||||
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
LICENSE
|
||||
}
|
||||
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
|
||||
s.source = { :http => 'https://github.com/flutter/flutter/tree/master/packages/integration_test' }
|
||||
s.source = { :http => 'https://github.com/flutter/flutter/tree/main/packages/integration_test' }
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.public_header_files = 'Classes/**/*.h'
|
||||
s.dependency 'Flutter'
|
||||
|
||||
@@ -38,7 +38,7 @@ format do not break Flutter.
|
||||
See [tools/bots/flutter/analyze_flutter_flutter.sh](https://github.com/dart-lang/sdk/blob/main/tools/bots/flutter/analyze_flutter_flutter.sh)
|
||||
for where the flutter fix tests are invoked for the dart repo.
|
||||
|
||||
See [dev/bots/test.dart](https://github.com/flutter/flutter/blob/master/dev/bots/test.dart)
|
||||
See [dev/bots/test.dart](https://github.com/flutter/flutter/blob/main/dev/bots/test.dart)
|
||||
for where the flutter fix tests are invoked for the flutter/flutter repo.
|
||||
|
||||
When possible, please coordinate changes to this directory that might affect the
|
||||
|
||||
Reference in New Issue
Block a user