1 write to Settings
Microsoft.VisualStudioCode.Razor.IntegrationTests (1)
Services\IntegrationTestServices.cs (1)
16
Settings
= settings;
33 references to Settings
Microsoft.VisualStudioCode.Razor.IntegrationTests (33)
Services\CodeActionService.cs (1)
35
timeout ??= TestServices.
Settings
.LspTimeout;
Services\CompletionServices.cs (1)
36
timeout ??= TestServices.
Settings
.LspTimeout;
Services\DiagnosticsServices.cs (3)
45
timeout ??= TestServices.
Settings
.LspTimeout;
58
timeout ??= TestServices.
Settings
.LspTimeout;
121
timeout ??= TestServices.
Settings
.LspTimeout;
Services\EditorService.cs (1)
430
TestServices.
Settings
.LspTimeout);
Services\HoverServices.cs (1)
49
timeout ??= TestServices.
Settings
.LspTimeout;
Services\NavigationServices.cs (2)
18
timeout ??= TestServices.
Settings
.LspTimeout;
59
timeout ??= TestServices.
Settings
.LspTimeout;
Services\PlaywrightService.cs (1)
39
var screenshotsDir = TestServices.
Settings
.ScreenshotsDir;
Services\VSCodeIntegrationTestBase.cs (1)
97
TestServices.
Settings
.RemoteDebuggingPort,
Services\VSCodeService.cs (22)
47
var installDir = testServices.
Settings
.VSCodeInstallDir ?? throw new InvalidOperationException("VSCodeInstallDir not configured");
56
var extensionsDir = testServices.
Settings
.ExtensionsDir
114
var cdpUrl = $"http://127.0.0.1:{testServices.
Settings
.RemoteDebuggingPort}";
221
var failureLogsDir = testServices.
Settings
.FailureLogsDir;
270
if (string.IsNullOrEmpty(testServices.
Settings
.UserDataDir))
275
return Path.Combine(testServices.
Settings
.UserDataDir, "logs");
303
if (string.IsNullOrEmpty(testServices.
Settings
.RazorExtensionPath))
323
["razorExtension"] = testServices.
Settings
.RazorExtensionPath
332
if (string.IsNullOrEmpty(testServices.
Settings
.UserDataDir))
341
var userSettingsDir = Path.Combine(testServices.
Settings
.UserDataDir, "User");
382
if (string.IsNullOrEmpty(testServices.
Settings
.UserDataDir))
388
var storagePath = Path.Combine(testServices.
Settings
.UserDataDir, "User", "globalStorage");
403
var workspaceStoragePath = Path.Combine(testServices.
Settings
.UserDataDir, "User", "workspaceStorage");
418
var backupPath = Path.Combine(testServices.
Settings
.UserDataDir, "Backups");
438
$"--remote-debugging-port={testServices.
Settings
.RemoteDebuggingPort}",
451
if (!string.IsNullOrEmpty(testServices.
Settings
.UserDataDir))
453
Directory.CreateDirectory(testServices.
Settings
.UserDataDir);
454
args.Add($"--user-data-dir={testServices.
Settings
.UserDataDir}");
457
if (!string.IsNullOrEmpty(testServices.
Settings
.ExtensionsDir))
459
args.Add($"--extensions-dir={testServices.
Settings
.ExtensionsDir}");
468
var timeout = testServices.
Settings
.StartupTimeout;
506
var timeout = testServices.
Settings
.LspTimeout;