[core] Tests: fixtures and mandatory tests (valid, hostile, property, launch, dedupe) ahead of the code
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"FormatVersion": 0,
|
||||
"DisplayName": "Absurd Number",
|
||||
"InstallLocation": "C:\Games\Absurd",
|
||||
"AppName": 1e999999
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"FormatVersion": 0,
|
||||
"DisplayName": "Example Racer - Bonus Cars",
|
||||
"InstallLocation": "C:\Program Files\Epic Games\ExampleRacer",
|
||||
"AppName": "ExampleRacerBonusCars",
|
||||
"MainGameAppName": "ExampleRacer_Main-01"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisplayName": "Injected",
|
||||
"InstallLocation": "C:\Games\Injected",
|
||||
"AppName": "x?action=uninstall&a=../../"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"DisplayName": "Twice",
|
||||
"InstallLocation": "C:\Games\Twice",
|
||||
"AppName": "TwiceA",
|
||||
"AppName": "TwiceB"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"DisplayName": "No App Name",
|
||||
"InstallLocation": "C:\Games\NoAppName"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisplayName": "Trailing",
|
||||
"InstallLocation": "C:\Games\Trailing",
|
||||
"AppName": "Trailing"
|
||||
} {"AppName": "Second"}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisplayName": "Escape Artist",
|
||||
"InstallLocation": "C:\Games\..\Windows\System32",
|
||||
"AppName": "EscapeArtist"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisplayName": "Remote",
|
||||
"InstallLocation": "\\evil-server\share\Game",
|
||||
"AppName": "Remote"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"FormatVersion": 0,
|
||||
"bIsIncompleteInstall": false,
|
||||
"LaunchCommand": "",
|
||||
"LaunchExecutable": "ExampleRacer/Binaries/Win64/ExampleRacer.exe",
|
||||
"ManifestLocation": "C:\ProgramData\Epic\EpicGamesLauncher\Data\Manifests",
|
||||
"bIsApplication": true,
|
||||
"bIsExecutable": true,
|
||||
"bIsManaged": false,
|
||||
"bNeedsValidation": false,
|
||||
"bRequiresAuth": true,
|
||||
"bCanRunOffline": true,
|
||||
"DisplayName": "Example Racer",
|
||||
"InstallationGuid": "00000000000000000000000000000001",
|
||||
"InstallLocation": "C:\Program Files\Epic Games\ExampleRacer",
|
||||
"CatalogNamespace": "example",
|
||||
"CatalogItemId": "00000000000000000000000000000002",
|
||||
"AppName": "ExampleRacer_Main-01",
|
||||
"AppVersionString": "1.0.0",
|
||||
"MainGameCatalogNamespace": "example",
|
||||
"MainGameCatalogItemId": "00000000000000000000000000000002",
|
||||
"MainGameAppName": "ExampleRacer_Main-01",
|
||||
"AppCategories": ["public", "games", "applications"],
|
||||
"ExpectingDLCInstalled": {},
|
||||
"InstallTags": []
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisplayName": "Wrong Type",
|
||||
"InstallLocation": "C:\Games\WrongType",
|
||||
"AppName": 12345
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "1234560"
|
||||
"universe" "1"
|
||||
"LauncherPath" "C:\Program Files (x86)\Steam\steam.exe"
|
||||
"name" "Example Quest: The \"Quoted\" Edition"
|
||||
"StateFlags" "4"
|
||||
"installdir" "Example Quest"
|
||||
"LastUpdated" "0"
|
||||
"SizeOnDisk" "1000"
|
||||
"StagingSize" "0"
|
||||
"buildid" "1"
|
||||
"LastOwner" "0"
|
||||
"AutoUpdateBehavior" "0"
|
||||
"AllowOtherDownloadsWhileRunning" "0"
|
||||
"ScheduledAutoUpdate" "0"
|
||||
"InstalledDepots"
|
||||
{
|
||||
"1234561"
|
||||
{
|
||||
"manifest" "1"
|
||||
"size" "1000"
|
||||
}
|
||||
}
|
||||
"UserConfig"
|
||||
{
|
||||
"language" "english"
|
||||
}
|
||||
"MountedConfig"
|
||||
{
|
||||
"language" "english"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "228980"
|
||||
"universe" "1"
|
||||
"name" "Steamworks Common Redistributables"
|
||||
"StateFlags" "4"
|
||||
"installdir" "Steamworks Shared"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "1234571"
|
||||
"name" "Somewhere Else"
|
||||
"installdir" "C:\Windows"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "99999999999999999999999999"
|
||||
"name" "Absurd"
|
||||
"installdir" "Absurd"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "1234573"
|
||||
"name" "First Name"
|
||||
"installdir" "Twice"
|
||||
"Name" "Second Name"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "1234570"
|
||||
"name" "Escape Artist"
|
||||
"installdir" "..\..\..\Windows\System32"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid" "1234574"
|
||||
"name" "Never Ends
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
"AppState"
|
||||
{
|
||||
"appid"
|
||||
{
|
||||
"value" "1234572"
|
||||
}
|
||||
"name" "Wrong Type"
|
||||
"installdir" "Wrong Type"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
"libraryfolders"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"path" "C:\Program Files (x86)\Steam"
|
||||
"label" ""
|
||||
"contentid" "1111111111111111111"
|
||||
"totalsize" "0"
|
||||
"update_clean_bytes_tally" "0"
|
||||
"time_last_update_verified" "0"
|
||||
"apps"
|
||||
{
|
||||
"228980" "0"
|
||||
"1234560" "1000"
|
||||
}
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"path" "D:\SteamLibrary"
|
||||
"label" "Games"
|
||||
"contentid" "2222222222222222222"
|
||||
"totalsize" "1000000000000"
|
||||
"update_clean_bytes_tally" "0"
|
||||
"time_last_update_verified" "0"
|
||||
"apps"
|
||||
{
|
||||
"7654320" "2000"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
"libraryfolders"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"path" "D:\SteamLibrary"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"path" "d:\steamlibrary\\"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// An older Steam layout: numbered keys hold the path directly.
|
||||
"LibraryFolders"
|
||||
{
|
||||
"TimeNextStatsReport" "0"
|
||||
"ContentStatsID" "-1"
|
||||
"1" "D:\SteamLibrary"
|
||||
"2" "E:/Games/Steam"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"libraryfolders"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"path" "\\evil-server\share\Steam"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
"libraryfolders"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"path"
|
||||
{
|
||||
"drive" "C:"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user