[core] Tests: fixtures and mandatory tests (valid, hostile, property, launch, dedupe) ahead of the code

This commit is contained in:
2026-11-22 23:06:46 +01:00
parent 5c17aac8d4
commit e85f160f88
33 changed files with 1946 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"FormatVersion": 0,
"DisplayName": "Absurd Number",
"InstallLocation": "C:\Games\Absurd",
"AppName": 1e999999
}
+7
View File
@@ -0,0 +1,7 @@
{
"FormatVersion": 0,
"DisplayName": "Example Racer - Bonus Cars",
"InstallLocation": "C:\Program Files\Epic Games\ExampleRacer",
"AppName": "ExampleRacerBonusCars",
"MainGameAppName": "ExampleRacer_Main-01"
}
+5
View File
@@ -0,0 +1,5 @@
{
"DisplayName": "Injected",
"InstallLocation": "C:\Games\Injected",
"AppName": "x?action=uninstall&a=../../"
}
+6
View File
@@ -0,0 +1,6 @@
{
"DisplayName": "Twice",
"InstallLocation": "C:\Games\Twice",
"AppName": "TwiceA",
"AppName": "TwiceB"
}
+4
View File
@@ -0,0 +1,4 @@
{
"DisplayName": "No App Name",
"InstallLocation": "C:\Games\NoAppName"
}
+5
View File
@@ -0,0 +1,5 @@
{
"DisplayName": "Trailing",
"InstallLocation": "C:\Games\Trailing",
"AppName": "Trailing"
} {"AppName": "Second"}
+5
View File
@@ -0,0 +1,5 @@
{
"DisplayName": "Escape Artist",
"InstallLocation": "C:\Games\..\Windows\System32",
"AppName": "EscapeArtist"
}
+5
View File
@@ -0,0 +1,5 @@
{
"DisplayName": "Remote",
"InstallLocation": "\\evil-server\share\Game",
"AppName": "Remote"
}
+26
View File
@@ -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": []
}
+5
View File
@@ -0,0 +1,5 @@
{
"DisplayName": "Wrong Type",
"InstallLocation": "C:\Games\WrongType",
"AppName": 12345
}