Checks presence payloads, activity buttons and links to vehicle/location references.
Subsystem: Networking, protocols and social integration
Fixture/harness: discordsocialsdktests
Setup: The standalone DiscordSocialSdkTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/DiscordSocialSdkTests.vcxproj; declared configurations: Release|x64.
DiscordSocialSdkTests.cpp
Source: Tests/DiscordSocialSdkTests.cpp
Require Activity Buttons
Fixture: Discord Social Sdk tests
Case symbol: RequireActivityButtons
Source: Tests/DiscordSocialSdkTests.cpp:12
- Test
- Require Activity Buttons: Every activity must contain exactly two buttons.
Source check messages (including original failure wording)
-
Every activity must contain exactly two buttons
-
Steam button changed
-
Discord button changed
Test Wiki Links
Fixture: Discord Social Sdk tests
Case symbol: TestWikiLinks
Source: Tests/DiscordSocialSdkTests.cpp:22
- Test
- Checks vehicle and location text/image links point to their own correct wiki references.
Source check messages (including original failure wording)
-
Vehicle text/image linked to the wrong model reference
-
Location link was replaced by the vehicle link
-
Location text/image linked to the wrong reference
-
Location update replaced the vehicle reference
-
Unknown vehicle linked to a location or missing page
-
Simulator text was linked as a real vehicle/location
-
Indoor details linked to a vehicle or empty state retained a link
-
Flight/orbit/cargo state lost the vehicle link or retained a surface location
-
Unmapped screen or non-location status retained wiki links
Entry-point checks
Fixture: Discord Social Sdk tests
Case symbol: main
Source: Tests/DiscordSocialSdkTests.cpp:99
- Test
- Checks SDK version/availability and initialization, activity payloads and Unix-millisecond elapsed-time presentation.
Source check messages (including original failure wording)
-
An unavailable or mismatched SDK was loaded
-
Missing runtime diagnostic
-
Official SDK could not initialize
-
Activity type changed
-
Presence text changed
-
Artwork changed
-
Elapsed time must use Unix milliseconds and no countdown
-
Unsupported game invites were added
-
Empty activity retained previous fields
-
Repeated SDK payload conversion failed