Skip to content

Commit 463a7a7

Browse files
authored
Reserve the 'play' content kind in _TestDiscovery (#1090)
This defines the `'play'` test content kind in the `TestContentKind` enum and corresponding documentation. ### Motivation: This is intended to "reserve" this FourCC code for eventual use by the [swift-play-experimental](https://github.com/apple/swift-play-experimental) project, which has adopted the `_TestDiscovery` library from this package. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated. Fixes #1089 Fixes rdar://147585572
1 parent 05ae424 commit 463a7a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/ABI/TestContent.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,10 @@ record's kind is a 32-bit unsigned value. The following kinds are defined:
100100
| `0x00000000` | – | Reserved (**do not use**) |
101101
| `0x74657374` | `'test'` | Test or suite declaration |
102102
| `0x65786974` | `'exit'` | Exit test |
103+
| `0x706c6179` | `'play'` | [Playground](https://github.com/apple/swift-play-experimental) |
103104

104-
<!-- When adding cases to this enumeration, be sure to also update the
105-
corresponding enumeration in TestContentGeneration.swift. -->
105+
<!-- The kind values listed in this table should be a superset of the cases in
106+
the `TestContentKind` enumeration. -->
106107

107108
If a test content record's `kind` field equals `0x00000000`, the values of all
108109
other fields in that record are undefined.

0 commit comments

Comments
 (0)