|
15 | 15 | ],
|
16 | 16 | "preLaunchTask": "buildDev"
|
17 | 17 | },
|
| 18 | + { |
| 19 | + "name": "Launch Current File slnWithCsproj Integration Tests", |
| 20 | + "type": "extensionHost", |
| 21 | + "request": "launch", |
| 22 | + "runtimeExecutable": "${execPath}", |
| 23 | + "args": [ |
| 24 | + // Create a temp profile that has no extensions / user settings. |
| 25 | + // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
| 26 | + "--profile-temp", |
| 27 | + "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj/.vscode/lsp_tools_host_slnWithCsproj.code-workspace", |
| 28 | + "--extensionDevelopmentPath=${workspaceRoot}", |
| 29 | + "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests", |
| 30 | + ], |
| 31 | + "env": { |
| 32 | + "CODE_EXTENSIONS_PATH": "${workspaceRoot}", |
| 33 | + "TEST_FILE_FILTER": "${file}" |
| 34 | + }, |
| 35 | + "sourceMaps": true, |
| 36 | + "outFiles": [ |
| 37 | + "${workspaceRoot}/dist/*.js", |
| 38 | + "${workspaceRoot}/out/test/**/*.js" |
| 39 | + ], |
| 40 | + "resolveSourceMapLocations": [ |
| 41 | + "${workspaceFolder}/**", |
| 42 | + "!**/node_modules/**" |
| 43 | + ], |
| 44 | + "preLaunchTask": "buildDev" |
| 45 | + }, |
18 | 46 | {
|
19 | 47 | "type": "node",
|
20 | 48 | "request": "launch",
|
|
66 | 94 | // Create a temp profile that has no extensions / user settings.
|
67 | 95 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
68 | 96 | "--profile-temp",
|
69 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/singleCsproj", |
| 97 | + "${workspaceRoot}/test/integrationTests/testAssets/singleCsproj/.vscode/omnisharp_singleCsproj.code-workspace", |
70 | 98 | "--extensionDevelopmentPath=${workspaceRoot}",
|
71 | 99 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
72 | 100 | ],
|
|
90 | 118 | // Create a temp profile that has no extensions / user settings.
|
91 | 119 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
92 | 120 | "--profile-temp",
|
93 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/BasicRazorApp2_1", |
| 121 | + "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1", |
94 | 122 | "--extensionDevelopmentPath=${workspaceRoot}",
|
95 | 123 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
96 | 124 | ],
|
|
108 | 136 | // Create a temp profile that has no extensions / user settings.
|
109 | 137 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
110 | 138 | "--profile-temp",
|
111 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnWithCsproj/.vscode/omnisharp_slnWithCsproj.code-workspace", |
| 139 | + "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj/.vscode/omnisharp_slnWithCsproj.code-workspace", |
112 | 140 | "--extensionDevelopmentPath=${workspaceRoot}",
|
113 | 141 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
114 | 142 | ],
|
|
123 | 151 | ],
|
124 | 152 | "preLaunchTask": "buildDev"
|
125 | 153 | },
|
126 |
| - { |
127 |
| - "name": "LSP Tools Host: Launch slnWithCsproj Workspace Tests", |
128 |
| - "type": "extensionHost", |
129 |
| - "request": "launch", |
130 |
| - "runtimeExecutable": "${execPath}", |
131 |
| - "args": [ |
132 |
| - // Create a temp profile that has no extensions / user settings. |
133 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
134 |
| - "--profile-temp", |
135 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnWithCsproj/.vscode/lsp_tools_host_slnWithCsproj.code-workspace", |
136 |
| - "--extensionDevelopmentPath=${workspaceRoot}", |
137 |
| - "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests", |
138 |
| - ], |
139 |
| - "env": { |
140 |
| - "CODE_EXTENSIONS_PATH": "${workspaceRoot}", |
141 |
| - }, |
142 |
| - "sourceMaps": true, |
143 |
| - "outFiles": [ |
144 |
| - "${workspaceRoot}/dist/*.js", |
145 |
| - "${workspaceRoot}/out/test/**/*.js" |
146 |
| - ], |
147 |
| - "preLaunchTask": "buildDev" |
148 |
| - }, |
149 | 154 | {
|
150 | 155 | "name": "Omnisharp: Launch singleCsproj Workspace Tests [LSP]",
|
151 | 156 | "type": "extensionHost",
|
|
155 | 160 | // Create a temp profile that has no extensions / user settings.
|
156 | 161 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
157 | 162 | "--profile-temp",
|
158 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnWithCsproj/.vscode/omnisharp_lsp_slnWithCsproj.code-workspace", |
| 163 | + "${workspaceRoot}/test/integrationTests/testAssets/singleCsproj/.vscode/omnisharp_lsp_singleCsproj.code-workspace", |
159 | 164 | "--extensionDevelopmentPath=${workspaceRoot}",
|
160 | 165 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
161 | 166 | ],
|
|
179 | 184 | // Create a temp profile that has no extensions / user settings.
|
180 | 185 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
181 | 186 | "--profile-temp",
|
182 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/BasicRazorApp2_1", |
| 187 | + "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1", |
183 | 188 | "--extensionDevelopmentPath=${workspaceRoot}",
|
184 | 189 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
185 | 190 | ],
|
|
197 | 202 | // Create a temp profile that has no extensions / user settings.
|
198 | 203 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
199 | 204 | "--profile-temp",
|
200 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnWithCsproj/.vscode/omnisharp_lsp_slnWithCsproj.code-workspace", |
| 205 | + "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj/.vscode/omnisharp_lsp_slnWithCsproj.code-workspace", |
201 | 206 | "--extensionDevelopmentPath=${workspaceRoot}",
|
202 | 207 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
203 | 208 | ],
|
|
221 | 226 | // Create a temp profile that has no extensions / user settings.
|
222 | 227 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
223 | 228 | "--profile-temp",
|
224 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnFilterWithCsproj", |
| 229 | + "${workspaceRoot}/test/integrationTests/testAssets/slnFilterWithCsproj", |
225 | 230 | "--extensionDevelopmentPath=${workspaceRoot}",
|
226 | 231 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
227 | 232 | ],
|
|
245 | 250 | // Create a temp profile that has no extensions / user settings.
|
246 | 251 | // This allows us to only have the C# extension + the dotnet runtime installer extension dependency.
|
247 | 252 | "--profile-temp",
|
248 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/slnWithGenerator", |
| 253 | + "${workspaceRoot}/test/integrationTests/testAssets/slnWithGenerator", |
249 | 254 | "--extensionDevelopmentPath=${workspaceRoot}",
|
250 | 255 | "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests"
|
251 | 256 | ],
|
|
0 commit comments