Skip to content

Commit c7a76b0

Browse files
Also add @doNotSubmit to scaffolding.dart. (#2208)
* Also add doNotSubmit to scaffolding.dart. * Versions and changelog --------- Co-authored-by: Nate Bosch <nbosch@google.com>
1 parent 14d820f commit c7a76b0

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

pkgs/test/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.25.4
2+
3+
* Add `@doNotSubmit` to more declarations of the `solo` parameter.
4+
15
## 1.25.3
26

37
* Remove outdated StreamMatcher link from README table of contents.

pkgs/test/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: test
2-
version: 1.25.3
2+
version: 1.25.4
33
description: >-
44
A full featured library for writing and running Dart tests across platforms.
55
repository: https://github.com/dart-lang/test/tree/master/pkgs/test
@@ -35,7 +35,7 @@ dependencies:
3535

3636
# Use an exact version until the test_api and test_core package are stable.
3737
test_api: 0.7.1
38-
test_core: 0.6.1
38+
test_core: 0.6.2
3939

4040
typed_data: ^1.3.0
4141
web_socket_channel: ^2.0.0

pkgs/test_core/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.2
2+
3+
* Add `@doNotSubmit` to more declarations of the `solo` parameter.
4+
15
## 0.6.1
26

37
* Handle missing package configs.

pkgs/test_core/lib/src/scaffolding.dart

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import 'dart:async';
66

7-
import 'package:meta/meta.dart' show isTest, isTestGroup;
7+
import 'package:meta/meta.dart' show doNotSubmit, isTest, isTestGroup;
88
import 'package:path/path.dart' as p;
99
import 'package:test_api/backend.dart';
1010
import 'package:test_api/scaffolding.dart' show Timeout, pumpEventQueue;
@@ -141,7 +141,8 @@ void test(Object? description, dynamic Function() body,
141141
Object? tags,
142142
Map<String, dynamic>? onPlatform,
143143
int? retry,
144-
@Deprecated('Debug only') bool solo = false}) {
144+
// TODO(https://github.com/dart-lang/test/issues/2205): Remove deprecated.
145+
@Deprecated('Debug only') @doNotSubmit bool solo = false}) {
145146
_declarer.test(description.toString(), body,
146147
testOn: testOn,
147148
timeout: timeout,
@@ -219,7 +220,8 @@ void group(Object? description, dynamic Function() body,
219220
Object? tags,
220221
Map<String, dynamic>? onPlatform,
221222
int? retry,
222-
@Deprecated('Debug only') bool solo = false}) {
223+
// TODO(https://github.com/dart-lang/test/issues/2205): Remove deprecated.
224+
@Deprecated('Debug only') @doNotSubmit bool solo = false}) {
223225
_declarer.group(description.toString(), body,
224226
testOn: testOn,
225227
timeout: timeout,

pkgs/test_core/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: test_core
2-
version: 0.6.1
2+
version: 0.6.2
33
description: A basic library for writing tests and running them on the VM.
44
repository: https://github.com/dart-lang/test/tree/master/pkgs/test_core
55

0 commit comments

Comments
 (0)