@@ -46,6 +46,12 @@ public void HasVS2019orVS2022Compiler(Platform platform)
4646 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
4747 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
4848 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
49+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . Default ) ]
50+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
51+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
52+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
53+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
54+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
4955 public void DetectCompilerVersionForClangCl_FullVersionOverrideToolset ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
5056 {
5157 if ( ! HasVSCompiler ( devenv , platform ) )
@@ -66,6 +72,8 @@ public void DetectCompilerVersionForClangCl_FullVersionOverrideToolset(DevEnv de
6672 Assert . That ( result , Is . EqualTo ( expected ) ) ;
6773 }
6874
75+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
76+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
6977 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
7078 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
7179 [ TestCase ( DevEnv . vs2019 , Platform . win64 ) ]
@@ -80,6 +88,8 @@ public void DetectCompilerVersionForClangCl_FullVersionOverrideMscVer(DevEnv dev
8088 var result = Assert . Throws < Error > ( ( ) => Bff . DetectCompilerVersionForClangCl ( detectionType , overridenMscVer , overridenPlatformToolset , devenv , platform ) ) ;
8189 }
8290
91+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
92+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
8393 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
8494 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
8595 [ TestCase ( DevEnv . vs2019 , Platform . win64 ) ]
@@ -98,6 +108,8 @@ public void DetectCompilerVersionForClangCl_FullVersionOverrideMscVerZero(DevEnv
98108 [ TestCase ( DevEnv . vs2019 , Platform . _reserved7 ) ]
99109 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
100110 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
111+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
112+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
101113 public void DetectCompilerVersionForClangCl_MajorVersionNoOverride ( DevEnv devenv , Platform platform )
102114 {
103115 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -119,6 +131,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionNoOverride(DevEnv devenv
119131 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 , "1930" ) ]
120132 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v142 , "1920" ) ]
121133 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 , "1930" ) ]
134+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 , "1930" ) ]
135+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 , "1950" ) ]
136+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 , "1930" ) ]
137+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 , "1950" ) ]
122138 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupported ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset , string exepctedVersion )
123139 {
124140 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -140,6 +156,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupported
140156 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v140 ) ]
141157 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
142158 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v140 ) ]
159+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
160+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v140 ) ]
161+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
162+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v140 ) ]
143163 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSupported ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
144164 {
145165 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -153,6 +173,8 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSuppor
153173 [ TestCase ( DevEnv . vs2019 , Platform . _reserved7 ) ]
154174 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
155175 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
176+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
177+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
156178 public void DetectCompilerVersionForClangCl_MajorVersionOverrideMscVer ( DevEnv devenv , Platform platform )
157179 {
158180 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -174,6 +196,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideMscVer(DevEnv de
174196 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 ) ]
175197 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v142 ) ]
176198 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
199+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 ) ]
200+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
201+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
202+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
177203 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupportedAndMscVer ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
178204 {
179205 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -194,6 +220,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupported
194220 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v140 ) ]
195221 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
196222 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v140 ) ]
223+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
224+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
225+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
226+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
197227 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSupportedAndMscVer ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
198228 {
199229 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -210,6 +240,8 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSuppor
210240 [ TestCase ( DevEnv . vs2019 , Platform . _reserved7 ) ]
211241 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
212242 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
243+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
244+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
213245 public void DetectCompilerVersionForClangCl_MajorVersionOverrideMscVerZero ( DevEnv devenv , Platform platform )
214246 {
215247 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -231,6 +263,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideMscVerZero(DevEn
231263 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 ) ]
232264 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v142 ) ]
233265 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
266+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v143 ) ]
267+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
268+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
269+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
234270 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupportedAndMscVerZero ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
235271 {
236272 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -251,6 +287,10 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetSupported
251287 [ TestCase ( DevEnv . vs2022 , Platform . win64 , Options . Vc . General . PlatformToolset . v140 ) ]
252288 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
253289 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v140 ) ]
290+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
291+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
292+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
293+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
254294 public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSupportedAndMscVerZero ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
255295 {
256296 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . MajorVersion ;
@@ -263,6 +303,8 @@ public void DetectCompilerVersionForClangCl_MajorVersionOverrideToolsetNotSuppor
263303 Assert . That ( result , Is . EqualTo ( expected ) ) ;
264304 }
265305
306+ [ TestCase ( DevEnv . vs2026 , Platform . win64 ) ]
307+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 ) ]
266308 [ TestCase ( DevEnv . vs2022 , Platform . win64 ) ]
267309 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 ) ]
268310 [ TestCase ( DevEnv . vs2019 , Platform . win64 ) ]
@@ -292,6 +334,12 @@ public void DetectCompilerVersionForClangCl_DisabledNoOverride(DevEnv devenv, Pl
292334 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
293335 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
294336 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
337+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . Default ) ]
338+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
339+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
340+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
341+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
342+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
295343 public void DetectCompilerVersionForClangCl_DisabledOverrideMscVer ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
296344 {
297345 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . Disabled ;
@@ -316,6 +364,12 @@ public void DetectCompilerVersionForClangCl_DisabledOverrideMscVer(DevEnv devenv
316364 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
317365 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
318366 [ TestCase ( DevEnv . vs2022 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v143 ) ]
367+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . Default ) ]
368+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . ClangCL ) ]
369+ [ TestCase ( DevEnv . vs2026 , Platform . win64 , Options . Vc . General . PlatformToolset . v145 ) ]
370+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . Default ) ]
371+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . ClangCL ) ]
372+ [ TestCase ( DevEnv . vs2026 , Platform . _reserved7 , Options . Vc . General . PlatformToolset . v145 ) ]
319373 public void DetectCompilerVersionForClangCl_DisabledOverrideMscVerZero ( DevEnv devenv , Platform platform , Options . Vc . General . PlatformToolset overridenPlatformToolset )
320374 {
321375 var detectionType = Project . Configuration . FastBuildClangMscVersionDetectionType . Disabled ;
0 commit comments