[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
|
||||
}
|
||||
Reference in New Issue
Block a user