Commit ddd9d77
committed
test(audience-sdk): share mixed-case wire-format fixtures
Renames TestFixtures.DistributionPlatformSteamCased and DistributionPlatformSteamUppercase to
neutral SteamPascalCase and SteamUpperCase. The same "Steam" / "STEAM" string fixtures are relevant
to two test families: ImmutableAudienceTests' DistributionPlatform lowercase normalisation, and
IdentityTypeTests' ParseLowercaseString case-insensitive matching. The new names drop the
family-specific prefix.
Adds:
- PassportPascalCase ("Passport") for the IdentityType mixed-case fixture batch.
- SteamSuffixed ("steamX") for the steam-prefix-but-not-exact-match fixture in the Custom-fallback
test.
Migrates references:
- ImmutableAudienceTests:1127 / 1138 (rename only)
- IdentityTypeTests:55-57 (ParseLowercaseString_AcceptsMixedCase cases)
- IdentityTypeTests:66 ([TestCase("steamX")])
- ImmutableAudienceTests:398 (missed inline "user1", now GenericUserSingleId from the earlier
centralisation pass)
Per the user's "everything random goes in a constant" stance.
Follow-up to SDK-272 (centralisation of duplicated literals).1 parent f974d27 commit ddd9d77
3 files changed
Lines changed: 14 additions & 11 deletions
File tree
- src/Packages/Audience/Tests/Runtime
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
| 1127 | + | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| |||
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | | - | |
| 1138 | + | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments