// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Testing.Platform.CommandLine; namespace Microsoft.Testing.Platform.Configurations; internal static class PlatformConfigurationConstants { public const string KeyDelimiter = ":"; public const string PlatformTestHostControllersManagerSingleConnectionNamedPipeServerWaitConnectionTimeoutSeconds = "platformOptions:testHostControllersManager:singleConnectionNamedPipeServer:waitConnectionTimeoutSeconds"; public const string PlatformTestHostControllersManagerNamedPipeClientConnectTimeoutSeconds = "platformOptions:testHostControllersManager:namedPipeClient:connectTimeoutSeconds"; public const string PlatformResultDirectory = "platformOptions:resultDirectory"; public const string PlatformCurrentWorkingDirectory = "platformOptions:currentWorkingDirectory"; public const string PlatformTestHostWorkingDirectory = "platformOptions:testHostWorkingDirectory"; public const string PlatformExitProcessOnUnhandledException = "platformOptions:exitProcessOnUnhandledException"; public const string PlatformTelemetryIsDevelopmentRepository = "platformOptions:telemetry:isDevelopmentRepository"; public const string PlatformConfigSuffixFileName = ".testconfig.json"; /// /// Root section name used by the unified configuration model to expose command-line options /// through . Both the in-memory CLI-backed provider /// () and the JSON-backed provider flatten /// individual options under commandLineOptions:<name> (single value or boolean /// presence marker) and commandLineOptions:<name>:<index> (one entry per /// argument for multi-value options). /// public const string CommandLineOptionsSectionName = "commandLineOptions"; /// /// Root section name for passive command-line option argument defaults. Values in this section /// are consulted only by /// and never make an option active. /// public const string CommandLineOptionDefaultsSectionName = "commandLineOptionDefaults"; }