Skip to content
Snippets Groups Projects
Commit a2eff064 authored by James D. Lin's avatar James D. Lin Committed by Jacob MacDonald
Browse files

Fix broken #platform-selector-syntax and #platform-specific-configuration links (#963)

Also adjust the platform-specific-configuration links.
parent 42ef6393
No related branches found
No related tags found
No related merge requests found
...@@ -557,7 +557,7 @@ cares about the platform the *test* is running on (like the ...@@ -557,7 +557,7 @@ cares about the platform the *test* is running on (like the
[`@OnPlatform` annotation][@OnPlatform]). It sets configuration for particular [`@OnPlatform` annotation][@OnPlatform]). It sets configuration for particular
tests that are running on matching platforms. tests that are running on matching platforms.
[@OnPlatform]: https://github.com/dart-lang/test/blob/master/README.md#platform-specific-configuration [@OnPlatform]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-specific-configuration
### `on_os` ### `on_os`
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/// ///
/// See [the README][onPlatform]. /// See [the README][onPlatform].
/// ///
/// [onPlatform]: https://github.com/dart-lang/test/blob/master/README.md#platform-specific-configuration /// [onPlatform]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-specific-configuration
class OnPlatform { class OnPlatform {
final Map<String, dynamic> annotationsByPlatform; final Map<String, dynamic> annotationsByPlatform;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/// ///
/// For the full syntax of [expression], see [the README][]. /// For the full syntax of [expression], see [the README][].
/// ///
/// [the README]: https://github.com/dart-lang/test/#platform-selector-syntax /// [the README]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-selectors
class TestOn { class TestOn {
/// The expression specifying the platform. /// The expression specifying the platform.
final String expression; final String expression;
......
...@@ -43,7 +43,7 @@ Declarer get _declarer => Zone.current[#test.declarer] as Declarer; ...@@ -43,7 +43,7 @@ Declarer get _declarer => Zone.current[#test.declarer] as Declarer;
/// [group]s. If [testOn] is passed, it's parsed as a [platform selector][]; the /// [group]s. If [testOn] is passed, it's parsed as a [platform selector][]; the
/// test will only be run on matching platforms. /// test will only be run on matching platforms.
/// ///
/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax /// [platform selector]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-selectors
/// ///
/// If [timeout] is passed, it's used to modify or replace the default timeout /// If [timeout] is passed, it's used to modify or replace the default timeout
/// of 30 seconds. Timeout modifications take precedence in suite-group-test /// of 30 seconds. Timeout modifications take precedence in suite-group-test
...@@ -123,7 +123,7 @@ void test(description, body(), ...@@ -123,7 +123,7 @@ void test(description, body(),
/// If [testOn] is passed, it's parsed as a [platform selector][]; the test will /// If [testOn] is passed, it's parsed as a [platform selector][]; the test will
/// only be run on matching platforms. /// only be run on matching platforms.
/// ///
/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax /// [platform selector]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-selectors
/// ///
/// If [timeout] is passed, it's used to modify or replace the default timeout /// If [timeout] is passed, it's used to modify or replace the default timeout
/// of 30 seconds. Timeout modifications take precedence in suite-group-test /// of 30 seconds. Timeout modifications take precedence in suite-group-test
......
...@@ -78,7 +78,7 @@ Declarer get _declarer { ...@@ -78,7 +78,7 @@ Declarer get _declarer {
/// [group]s. If [testOn] is passed, it's parsed as a [platform selector][]; the /// [group]s. If [testOn] is passed, it's parsed as a [platform selector][]; the
/// test will only be run on matching platforms. /// test will only be run on matching platforms.
/// ///
/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax /// [platform selector]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-selectors
/// ///
/// If [timeout] is passed, it's used to modify or replace the default timeout /// If [timeout] is passed, it's used to modify or replace the default timeout
/// of 30 seconds. Timeout modifications take precedence in suite-group-test /// of 30 seconds. Timeout modifications take precedence in suite-group-test
...@@ -158,7 +158,7 @@ void test(description, body(), ...@@ -158,7 +158,7 @@ void test(description, body(),
/// If [testOn] is passed, it's parsed as a [platform selector][]; the test will /// If [testOn] is passed, it's parsed as a [platform selector][]; the test will
/// only be run on matching platforms. /// only be run on matching platforms.
/// ///
/// [platform selector]: https://github.com/dart-lang/test/#platform-selector-syntax /// [platform selector]: https://github.com/dart-lang/test/tree/master/pkgs/test#platform-selectors
/// ///
/// If [timeout] is passed, it's used to modify or replace the default timeout /// If [timeout] is passed, it's used to modify or replace the default timeout
/// of 30 seconds. Timeout modifications take precedence in suite-group-test /// of 30 seconds. Timeout modifications take precedence in suite-group-test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment