|
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 | ],
|
|
285 | 290 | "updatePackageDependencies"
|
286 | 291 | ],
|
287 | 292 | "env": {
|
288 |
| - "NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/4aca138f5c6299422e240dcc50689a67/razorlanguageserver-linux-arm64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/eee386c129c18ba1705fe411cb981a20/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/7d1e4e0bf72de43dc272d22de2486633/razorlanguageserver-linux-musl-x64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/b9653cb6c40f965986266f70ae7dab25/razorlanguageserver-linux-x64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/679c6fe63c016298914264c33326f2ea/razorlanguageserver-osx-arm64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/74f8a06bc496f54b37466c382c6744ee/razorlanguageserver-osx-x64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/695b332017bfa81af74787904979fde8/razorlanguageserver-win-arm64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/a48c3e83b44a34ddb295099c55e31e7e/razorlanguageserver-win-x64-7.0.0-preview.23423.3.zip,https://download.visualstudio.microsoft.com/download/pr/0b0d800b-570c-446a-8e29-4130bd68c63b/e188fa3cbd9a5601701d0f8de0705496/razorlanguageserver-win-x86-7.0.0-preview.23423.3.zip", |
289 |
| - "NEW_DEPS_VERSION": "7.0.0-preview.23423.3", |
| 293 | + "NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/af4c33cdb53e85a7de39fb07195e05b2/razorlanguageserver-linux-arm64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/24783517c9a4729efbd7dfd2a97fe5cc/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/e5e12ac99072e02499bef77c2c5034a2/razorlanguageserver-linux-musl-x64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/86a165500517ca828227bfd0f28f7a02/razorlanguageserver-linux-x64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/d61e51f223e6bfeceae821b1cce36bfc/razorlanguageserver-osx-arm64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/b9ee27ddd84b0f4faf82e88589c8584f/razorlanguageserver-osx-x64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/d279c139e3d914fec96dfab50f05f438/razorlanguageserver-win-arm64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/258d3df59cb903ca4bcb9d42b854e28b/razorlanguageserver-win-x64-7.0.0-preview.23456.2.zip,https://download.visualstudio.microsoft.com/download/pr/e5617c98-d08e-43f2-a9bf-a36fec5306b7/d2ffb8978958712807d88ebf38914f47/razorlanguageserver-win-x86-7.0.0-preview.23456.2.zip", |
| 294 | + "NEW_DEPS_VERSION": "7.0.0-preview.23456.2", |
290 | 295 | "NEW_DEPS_ID": "Razor"
|
291 | 296 | },
|
292 | 297 | "cwd": "${workspaceFolder}"
|
293 |
| - } |
| 298 | + }, |
| 299 | + { |
| 300 | + "type": "node", |
| 301 | + "request": "launch", |
| 302 | + "name": "Generate debugger options schema", |
| 303 | + "preLaunchTask": "build", |
| 304 | + "program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js", |
| 305 | + "args": [ |
| 306 | + "generateOptionsSchema" |
| 307 | + ], |
| 308 | + "cwd": "${workspaceFolder}" |
| 309 | + } |
294 | 310 | ]
|
295 | 311 | }
|
0 commit comments