File tree Expand file tree Collapse file tree
ArchUnitNET.MSTestV2Tests
ArchUnitNET.MSTestV3Tests
ArchUnitNET.MSTestV4Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ public void ArchRuleExtensionsTest()
5151 {
5252 _architecture . CheckRule ( _trueRule ) ;
5353 _trueRule . Check ( _architecture ) ;
54- Assert . ThrowsException < AssertFailedException > ( ( ) => _architecture . CheckRule ( _falseRule ) ) ;
54+ Assert . ThrowsException < AssertFailedException > ( ( ) =>
55+ _architecture . CheckRule ( _falseRule )
56+ ) ;
5557 Assert . ThrowsException < AssertFailedException > ( ( ) => _falseRule . Check ( _architecture ) ) ;
5658 Assert . AreEqual (
5759 _expectedErrorMessage ,
@@ -67,7 +69,9 @@ public void ArchRuleExtensionsTest()
6769 _expectedErrorMessage ,
6870 RemoveAssertionText (
6971 Assert
70- . ThrowsException < AssertFailedException > ( ( ) => _falseRule . Check ( _architecture ) )
72+ . ThrowsException < AssertFailedException > ( ( ) =>
73+ _falseRule . Check ( _architecture )
74+ )
7175 . Message
7276 )
7377 ) ;
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2-
32 <PropertyGroup >
43 <TargetFramework >net9.0</TargetFramework >
54 <IsPackable >false</IsPackable >
65 <Company >TNG Technology Consulting GmbH</Company >
76 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
87 </PropertyGroup >
9-
108 <ItemGroup >
119 <PackageReference Include =" MSTest" Version =" 3.10.4" />
1210 </ItemGroup >
13-
1411 <ItemGroup >
1512 <Using Include =" Microsoft.VisualStudio.TestTools.UnitTesting" />
1613 </ItemGroup >
17-
1814 <ItemGroup >
1915 <ProjectReference Include =" ..\ArchUnitNET.MSTestV2\ArchUnitNET.MSTestV2.csproj" />
2016 </ItemGroup >
21-
2217</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2-
32 <PropertyGroup >
43 <TargetFramework >net9.0</TargetFramework >
54 <IsPackable >false</IsPackable >
65 <Company >TNG Technology Consulting GmbH</Company >
76 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
87 </PropertyGroup >
9-
108 <ItemGroup >
119 <PackageReference Include =" MSTest" Version =" 4.0.0" />
1210 </ItemGroup >
13-
1411 <ItemGroup >
1512 <Using Include =" Microsoft.VisualStudio.TestTools.UnitTesting" />
1613 </ItemGroup >
17-
1814 <ItemGroup >
1915 <ProjectReference Include =" ..\ArchUnitNET.MSTestV4\ArchUnitNET.MSTestV4.csproj" />
2016 </ItemGroup >
21-
2217</Project >
You can’t perform that action at this time.
0 commit comments