Skip to content

Commit 3b7755a

Browse files
authored
Updates for the multirootDeadlock test. (#10723)
* Updates for the multirootDeadlock test.
1 parent f0bef8d commit 3b7755a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Extension/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"request": "launch",
109109
"runtimeExecutable": "${execPath}",
110110
"args": [
111-
"C:/git/Vcls-vscode-test/SingleRootProject",
111+
"C:/git/Vcls-vscode-test/MultirootDeadlockTest/test.code-workspace",
112112
"--extensionDevelopmentPath=${workspaceFolder}",
113113
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/IntelliSenseFeatures/index"
114114
],

Extension/test/integrationTests/IntelliSenseFeatures/inlayhints.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ suite("[Inlay hints test]", function(): void {
2828
let referenceOperatorEnabledValue: any;
2929
let referenceOperatorShowSpaceValue: any;
3030
// Test setup
31-
const rootUri: vscode.Uri = vscode.workspace.workspaceFolders[0].uri;
31+
const rootUri: vscode.Uri = vscode.workspace.workspaceFolders[1].uri;
3232
const filePath: string | undefined = rootUri.fsPath + "/inlay_hints.cpp";
3333
const fileUri: vscode.Uri = vscode.Uri.file(filePath);
3434
const disposables: vscode.Disposable[] = [];

Extension/test/integrationTests/IntelliSenseFeatures/quickInfo.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as testHelpers from '../testHelpers';
1212
suite("[Quick info test]", function(): void {
1313
let cpptools: apit.CppToolsTestApi;
1414
const disposables: vscode.Disposable[] = [];
15-
const filePath: string = vscode.workspace.workspaceFolders[0].uri.fsPath + "/quickInfo.cpp";
15+
const filePath: string = vscode.workspace.workspaceFolders[1].uri.fsPath + "/quickInfo.cpp";
1616
const fileUri: vscode.Uri = vscode.Uri.file(filePath);
1717
let platform: string = "";
1818

Extension/test/integrationTests/IntelliSenseFeatures/reference.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import * as apit from 'vscode-cpptools/out/testApi';
1111
suite(`[Reference test]`, function(): void {
1212
let cpptools: apit.CppToolsTestApi;
1313
const disposables: vscode.Disposable[] = [];
14-
const path: string = vscode.workspace.workspaceFolders[0].uri.fsPath + "/references.cpp";
14+
const path: string = vscode.workspace.workspaceFolders[1].uri.fsPath + "/references.cpp";
1515
const fileUri: vscode.Uri = vscode.Uri.file(path);
1616
let testHook: apit.CppToolsTestHook;
1717
let getIntelliSenseStatus: any;

Extension/test/integrationTests/IntelliSenseFeatures/runTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async function main() {
1212
// Passed to --extensionTestsPath
1313
const extensionTestsPath = path.resolve(__dirname, './index');
1414

15-
// Note, when running tests locally, replace testWorkspace with local path to "~/Vcls-vscode-test/SingleRootProject"
15+
// Note, when running tests locally, replace TESTS_WORKSPACE with local path to "~/Vcls-vscode-test/MultirootDeadlockTest/test.code-workspace"
1616
// in the Launch.json file.
1717
let testWorkspace: string | undefined = process.env.TESTS_WORKSPACE;
1818
if (!testWorkspace) {

0 commit comments

Comments
 (0)