Commit 7751ca5
authored
- **Explanation**: This fixes a regression when `.serialized` is applied
directly to a parameterized `@Test` function, not to a containing suite,
its test cases are no longer serialized.
- **Scope**: Affects the `.serialized` trait when applied to `@Test`
functions, specifically, not to suite types.
- **Issues**: rdar://154529146
- **Original PRs**: #1188
- **Risk**:
<!--
The (specific) risk to the release for taking the changes.
-->
- **Testing**: New regression test added
- **Reviewers**: @suzannaratcliff, @briancroom, @grynspan
1 parent 9ebfc4e commit 7751ca5
File tree
3 files changed
+37
-5
lines changed- Sources/Testing/Traits
- Tests/TestingTests
- TestSupport
- Traits
3 files changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
106 | 125 | | |
107 | 126 | | |
108 | 127 | | |
| |||
116 | 135 | | |
117 | 136 | | |
118 | 137 | | |
119 | | - | |
120 | 138 | | |
121 | | - | |
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
| |||
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments