[core] Tests: fixtures and mandatory tests (valid, hostile, property, launch, dedupe) ahead of the code
This commit is contained in:
@@ -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