Skip to content

Commit 7e322aa

Browse files
authored
Merge pull request #517 from BHoM/develop
8.2 Deployment
2 parents 694af96 + ad069c9 commit 7e322aa

File tree

25 files changed

+150
-35
lines changed

25 files changed

+150
-35
lines changed

.ci/unit-tests/Example_Engine/Example_Engine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<Description>https://github.com/BHoM/Test_Toolkit</Description>
66
<Configurations>Debug;Release;Test</Configurations>
7-
<FileVersion>8.1.0.0</FileVersion>
7+
<FileVersion>8.2.0.0</FileVersion>
88
<AssemblyVersion>8.0.0.0</AssemblyVersion>
99
</PropertyGroup>
1010

.ci/unit-tests/NUnit_Engine_Tests/NUnit_Engine_Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Description>https://github.com/BHoM/Test_Toolkit</Description>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<FileVersion>8.1.0.0</FileVersion>
8+
<FileVersion>8.2.0.0</FileVersion>
99
<AssemblyVersion>8.0.0.0</AssemblyVersion>
1010
<IsPackable>false</IsPackable>
1111
<Configurations>Debug;Release;Test</Configurations>

.ci/unit-tests/NUnit_Engine_WrongReferencesTests/NUnit_Engine_WrongReferencesTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Description>https://github.com/BHoM/Test_Toolkit</Description>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<FileVersion>8.1.0.0</FileVersion>
8+
<FileVersion>8.2.0.0</FileVersion>
99
<AssemblyVersion>8.0.0.0</AssemblyVersion>
1010
<IsPackable>false</IsPackable>
1111

CodeComplianceTest_Engine/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// by using the '*' as shown below:
5656
// [assembly: AssemblyVersion("1.0.*")]
5757
[assembly: AssemblyVersion("8.0.0.0")]
58-
[assembly: AssemblyFileVersion("8.1.0.0")]
58+
[assembly: AssemblyFileVersion("8.2.0.0")]
5959

6060

6161

CodeComplianceTest_Engine/Query/Checks/HasDescriptionAttribute.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ public static partial class Query
3939
{
4040
[Message("Engine Method must contain a Description attribute", "HasDescriptionAttribute")]
4141
[ErrorLevel(TestStatus.Error)]
42-
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$")]
43-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
42+
[Path(@"([a-zA-Z0-9]+)_(Engine|Tests)\\.*\.cs$")]
4443
[Path(@"([a-zA-Z0-9]+)_Engine\\Objects\\.*\.cs$", false)]
4544
[IsPublic()]
4645
[ComplianceType("documentation")]

CodeComplianceTest_Engine/Query/Checks/IsPublicProperty.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ namespace BH.Engine.Test.CodeCompliance.Checks
3535
public static partial class Query
3636
{
3737
[Message("Invalid oM property: Object properties must be public", "IsPublicProperty")]
38-
[Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")]
38+
[Path(@"([a-zA-Z0-9]+)(_?oM|_Tests)\\.*\.cs$")]
3939
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)]
4040
[Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)]
4141
[Path(@"([a-zA-Z0-9]+)_UI\\.*\.cs$", false)]
42-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
4342
[IsPublic(false)]
4443
[ComplianceType("code")]
4544
[ErrorLevel(TestStatus.Error)]

CodeComplianceTest_Engine/Query/Checks/IsVirtualProperty.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ namespace BH.Engine.Test.CodeCompliance.Checks
3535
public static partial class Query
3636
{
3737
[Message("Invalid oM property: Object properties must be virtual", "IsVirtualProperty")]
38-
[Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")]
38+
[Path(@"([a-zA-Z0-9]+)(_?oM|_Tests)\\.*\.cs$")]
3939
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)]
4040
[Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)]
4141
[Path(@"([a-zA-Z0-9]+)_UI\\.*\.cs$", false)]
42-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
4342
[IsPublic()]
4443
[ComplianceType("code")]
4544
[ErrorLevel(TestStatus.Error)]

CodeComplianceTest_Engine/Query/Checks/MethodNameContainsFileName.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ namespace BH.Engine.Test.CodeCompliance.Checks
3535
public static partial class Query
3636
{
3737
[Message("Method name must start with or end with the name of the file", "MethodNameContainsFileName")]
38-
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$")]
39-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
40-
[Path(@"([a-zA-Z0-9]+)_Engine\\Create\\.*\.cs$")]
38+
[Path(@"([a-zA-Z0-9]+)_(Engine|Tests)\\.*\.cs$")]
4139
[Path(@"([a-zA-Z0-9]+)_Engine\\Convert\\.*\.cs$", false)]
4240
[Path(@"([a-zA-Z0-9]+)_Engine\\Objects\\.*\.cs$", false)]
4341
[IsPublic()]

CodeComplianceTest_Engine/Query/Checks/ObjectNameMatchesFileName.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public static partial class Query
3838

3939
[Message("Class (object) name must match file name", "ObjectNameMatchesFileName")]
4040
[ErrorLevel(TestStatus.Error)]
41-
[Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")]
42-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
41+
[Path(@"([a-zA-Z0-9]+)(_?oM|_Tests)\\.*\.cs$")]
4342
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)]
4443
[Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)]
4544
[Path(@"([a-zA-Z0-9]+)_UI\\.*\.cs$", false)]

CodeComplianceTest_Engine/Query/Checks/PropertyAccessorsHaveNoBody.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ namespace BH.Engine.Test.CodeCompliance.Checks
3535
public static partial class Query
3636
{
3737
[Message("Invalid oM property: Object property accessors must not have a body", "PropertyAccessorsHaveNoBody")]
38-
[Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")]
39-
[Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$")]
38+
[Path(@"([a-zA-Z0-9]+)(_?oM|_Tests)\\.*\.cs$")]
4039
[Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)]
4140
[Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)]
4241
[Path(@"([a-zA-Z0-9]+)_UI\\.*\.cs$", false)]

0 commit comments

Comments
 (0)