@@ -152,7 +152,7 @@ public void TestMsbuild_CoverletOutput_Folder_FileNameWithDoubleExtension()
152152 public void Test_MultipleTargetFrameworkReport_NoCoverletOutput ( )
153153 {
154154 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
155- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
155+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
156156 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
157157 DotnetCli ( $ "test -c { _buildConfiguration } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
158158 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -178,7 +178,7 @@ public void Test_MultipleTargetFrameworkReport_NoCoverletOutput()
178178 public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder ( )
179179 {
180180 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
181- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
181+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
182182 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
183183 bool result = DotnetCli ( $ "test -c { _buildConfiguration } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true /p:CoverletOutput=\" { clonedTemplateProject . ProjectRootPath } \" \\ ", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
184184 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -206,7 +206,7 @@ public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder()
206206 public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWithoutExtension ( )
207207 {
208208 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
209- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
209+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
210210 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
211211 DotnetCli ( $ "test -c { _buildConfiguration } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true /p:CoverletOutput=\" { clonedTemplateProject . ProjectRootPath } \" \\ file", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
212212 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -232,11 +232,11 @@ public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWit
232232 public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWithExtension_SpecifyFramework ( )
233233 {
234234 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
235- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
235+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
236236 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
237237 Assert . True ( clonedTemplateProject . IsMultipleTargetFramework ( ) ) ;
238238 string [ ] frameworks = clonedTemplateProject . GetTargetFrameworks ( ) ;
239- Assert . Equal ( 3 , frameworks . Length ) ;
239+ Assert . Equal ( 2 , frameworks . Length ) ;
240240 string framework = frameworks . FirstOrDefault ( ) ! ;
241241 DotnetCli ( $ "test -c { _buildConfiguration } -f { framework } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true /p:CoverletOutput=\" { clonedTemplateProject . ProjectRootPath } \" \\ file.ext", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
242242 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -269,7 +269,7 @@ public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWit
269269 public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWithExtension ( )
270270 {
271271 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
272- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
272+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
273273 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
274274 DotnetCli ( $ "test -c { _buildConfiguration } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true /p:CoverletOutput=\" { clonedTemplateProject . ProjectRootPath } \" \\ file.ext", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
275275 if ( ! string . IsNullOrEmpty ( standardError ) )
@@ -295,7 +295,7 @@ public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWit
295295 public void Test_MultipleTargetFrameworkReport_CoverletOutput_Folder_FileNameWithDoubleExtension ( )
296296 {
297297 using ClonedTemplateProject clonedTemplateProject = PrepareTemplateProject ( ) ;
298- string [ ] targetFrameworks = new string [ ] { "net6.0" , "net7.0" , " net8.0" } ;
298+ string [ ] targetFrameworks = new string [ ] { "net6.0" , "net8.0" } ;
299299 UpdateProjectTargetFramework ( clonedTemplateProject , targetFrameworks ) ;
300300 DotnetCli ( $ "test -c { _buildConfiguration } \" { clonedTemplateProject . ProjectRootPath } \" /p:CollectCoverage=true /p:Include=\" [{ ClonedTemplateProject . AssemblyName } ]*DeepThought\" /p:IncludeTestAssembly=true /p:CoverletOutput=\" { clonedTemplateProject . ProjectRootPath } \" \\ file.ext1.ext2", out string standardOutput , out string standardError , clonedTemplateProject . ProjectRootPath ! ) ;
301301 if ( ! string . IsNullOrEmpty ( standardError ) )
0 commit comments