diff --git a/.ci/unit-tests/Example2_Engine/Query/GetGeometry3DViaExtensionMethod.cs b/.ci/unit-tests/Example2_Engine/Query/GetGeometry3DViaExtensionMethod.cs index ff221f2e..3d713189 100644 --- a/.ci/unit-tests/Example2_Engine/Query/GetGeometry3DViaExtensionMethod.cs +++ b/.ci/unit-tests/Example2_Engine/Query/GetGeometry3DViaExtensionMethod.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -43,3 +43,4 @@ public static IGeometry GetGeometry3DViaExtensionMethod(this ConcreteSection sec } } } + diff --git a/.ci/unit-tests/Example_Engine/Example_Engine.csproj b/.ci/unit-tests/Example_Engine/Example_Engine.csproj index d51ebe78..a178b543 100644 --- a/.ci/unit-tests/Example_Engine/Example_Engine.csproj +++ b/.ci/unit-tests/Example_Engine/Example_Engine.csproj @@ -4,7 +4,7 @@ netstandard2.0 https://github.com/BHoM/Test_Toolkit Debug;Release;Test - 8.0.0.0 + 8.1.0.0 8.0.0.0 diff --git a/.ci/unit-tests/Example_Engine/Query/GetGeometryViaExtensionMethod.cs b/.ci/unit-tests/Example_Engine/Query/GetGeometryViaExtensionMethod.cs index e3303ec5..1e343bd5 100644 --- a/.ci/unit-tests/Example_Engine/Query/GetGeometryViaExtensionMethod.cs +++ b/.ci/unit-tests/Example_Engine/Query/GetGeometryViaExtensionMethod.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -48,3 +48,4 @@ public static IGeometry GetGeometryViaExtensionMethodToCall(this ConcreteSection } } } + diff --git a/.ci/unit-tests/NUnit_Engine_Tests/CorrectlyReferencedAssemblies.cs b/.ci/unit-tests/NUnit_Engine_Tests/CorrectlyReferencedAssemblies.cs index d87b5717..6f95dab3 100644 --- a/.ci/unit-tests/NUnit_Engine_Tests/CorrectlyReferencedAssemblies.cs +++ b/.ci/unit-tests/NUnit_Engine_Tests/CorrectlyReferencedAssemblies.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -50,3 +50,4 @@ public void CorrectlyReferencedAssembliesTests() } } + diff --git a/.ci/unit-tests/NUnit_Engine_Tests/Example_Engine_Tests.cs b/.ci/unit-tests/NUnit_Engine_Tests/Example_Engine_Tests.cs index bef7abe4..346fc622 100644 --- a/.ci/unit-tests/NUnit_Engine_Tests/Example_Engine_Tests.cs +++ b/.ci/unit-tests/NUnit_Engine_Tests/Example_Engine_Tests.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public void DynamicallyLoadedDependency() } } + diff --git a/.ci/unit-tests/NUnit_Engine_Tests/NUnit_Engine_Tests.csproj b/.ci/unit-tests/NUnit_Engine_Tests/NUnit_Engine_Tests.csproj index 2f77a6ba..279d8d3f 100644 --- a/.ci/unit-tests/NUnit_Engine_Tests/NUnit_Engine_Tests.csproj +++ b/.ci/unit-tests/NUnit_Engine_Tests/NUnit_Engine_Tests.csproj @@ -5,7 +5,7 @@ https://github.com/BHoM/Test_Toolkit enable enable - 8.0.0.0 + 8.1.0.0 8.0.0.0 false Debug;Release;Test diff --git a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/BadlyReferencedAssemblies.cs b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/BadlyReferencedAssemblies.cs index bd7d38bb..a85d1df1 100644 --- a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/BadlyReferencedAssemblies.cs +++ b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/BadlyReferencedAssemblies.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -71,3 +71,4 @@ public void LoadAssembliesShouldThrowException() } + diff --git a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Example_Engine_Tests.cs b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Example_Engine_Tests.cs index a695eeb7..7f85f074 100644 --- a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Example_Engine_Tests.cs +++ b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Example_Engine_Tests.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -88,3 +88,4 @@ public void DynamicallyRequiredAssemblyFailsLoading() } } + diff --git a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/NUnit_Engine_WrongReferencesTests.csproj b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/NUnit_Engine_WrongReferencesTests.csproj index b77436a8..7defbdd3 100644 --- a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/NUnit_Engine_WrongReferencesTests.csproj +++ b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/NUnit_Engine_WrongReferencesTests.csproj @@ -5,7 +5,7 @@ https://github.com/BHoM/Test_Toolkit enable enable - 8.0.0.0 + 8.1.0.0 8.0.0.0 false diff --git a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Objects/SampleTestClass.cs b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Objects/SampleTestClass.cs index dd143c51..94c5ee86 100644 --- a/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Objects/SampleTestClass.cs +++ b/.ci/unit-tests/NUnit_Engine_WrongReferencesTests/Objects/SampleTestClass.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -35,3 +35,4 @@ public class SampleTestClass : NUnitTest { } } + diff --git a/CodeComplianceTest_Engine/CodeComplianceTest_Engine.csproj b/CodeComplianceTest_Engine/CodeComplianceTest_Engine.csproj index c99a6e25..34312d41 100644 --- a/CodeComplianceTest_Engine/CodeComplianceTest_Engine.csproj +++ b/CodeComplianceTest_Engine/CodeComplianceTest_Engine.csproj @@ -156,7 +156,6 @@ - @@ -171,7 +170,6 @@ - @@ -289,4 +287,4 @@ xcopy "$(TargetDir)System.Threading.Tasks.Extensions.dll" "C:\ProgramData\BHoM\ --> - + \ No newline at end of file diff --git a/CodeComplianceTest_Engine/Compute/Check.cs b/CodeComplianceTest_Engine/Compute/Check.cs index 1f64d93d..a9963f7f 100644 --- a/CodeComplianceTest_Engine/Compute/Check.cs +++ b/CodeComplianceTest_Engine/Compute/Check.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -97,3 +97,4 @@ public static TestResult Check(this MethodInfo method, IEnumerable n + diff --git a/CodeComplianceTest_Engine/Compute/CheckAssemblyInfo.cs b/CodeComplianceTest_Engine/Compute/CheckAssemblyInfo.cs index afe6f0c1..8513aa80 100644 --- a/CodeComplianceTest_Engine/Compute/CheckAssemblyInfo.cs +++ b/CodeComplianceTest_Engine/Compute/CheckAssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -129,3 +129,4 @@ private static TestResult CheckAssemblyDescription(this List fileLines, + diff --git a/CodeComplianceTest_Engine/Compute/CheckProjectFile.cs b/CodeComplianceTest_Engine/Compute/CheckProjectFile.cs index 10912410..e1318472 100644 --- a/CodeComplianceTest_Engine/Compute/CheckProjectFile.cs +++ b/CodeComplianceTest_Engine/Compute/CheckProjectFile.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -99,7 +99,7 @@ private static List ReadFileContents(string fileName) private static TestResult CheckNETTarget(this ProjectFile csProject, List fileLines, TestResult finalResult, string csProjFilePath, string documentationLink) { - List acceptableNETTargets = new List { "v4.7.2", "net472", "net48", "net480", "net481", "netstandard2.0", "net5.0", "net6.0" }; + List acceptableNETTargets = new List { "v4.7.2", "net472", "net48", "net480", "net481", "netstandard2.0", "net5.0", "net6.0", "net7.0", "net8.0", "net9.0" }; bool atLeastOneCorrect = false; foreach(string target in csProject.TargetNETVersions) @@ -108,7 +108,7 @@ private static TestResult CheckNETTarget(this ProjectFile csProject, List{target}"; int lineNumber = fileLines.IndexOf(fileLines.Where(x => x.Contains(fullXMLText)).FirstOrDefault()) + 1; //+1 because index is 0 based but line numbers start at 1 for the spans - finalResult = finalResult.Merge(Create.TestResult(TestStatus.Warning, new List { Create.Error($"Target frameworks for BHoM projects should either be .Net Framework 4.7.2, .Net Framework 4.8, .Net Framework 4.8.1, .Net Standard 2.0, .Net 5.0, or .Net 6.0.", Create.Location(csProjFilePath, Create.LineSpan(lineNumber, lineNumber)), documentationLink, TestStatus.Warning) })); + finalResult = finalResult.Merge(Create.TestResult(TestStatus.Warning, new List { Create.Error($"Target frameworks for BHoM projects should either be .Net Framework 4.7.2, .Net Framework 4.8, .Net Framework 4.8.1, .Net Standard 2.0 or, .Net 5.0 to 9.0.", Create.Location(csProjFilePath, Create.LineSpan(lineNumber, lineNumber)), documentationLink, TestStatus.Warning) })); } else atLeastOneCorrect = true; @@ -116,7 +116,7 @@ private static TestResult CheckNETTarget(this ProjectFile csProject, List { Create.Error($"At least one of the Target frameworks for BHoM projects must either be .Net Framework 4.7.2, .Net Standard 2.0, or .Net 5.0.", Create.Location(csProjFilePath, Create.LineSpan(1, 1)), documentationLink) })); + finalResult = finalResult.Merge(Create.TestResult(TestStatus.Error, new List { Create.Error($"At least one of the Target frameworks for BHoM projects must either be .Net Framework 4.7.2, .Net Framework 4.8, .Net Framework 4.8.1, .Net Standard 2.0, or .Net 5.0 to 9.0.", Create.Location(csProjFilePath, Create.LineSpan(1, 1)), documentationLink) })); } return finalResult; @@ -363,3 +363,4 @@ private static ProjectFile GetProjectFile(List fileLines) + diff --git a/CodeComplianceTest_Engine/Compute/CheckProjectStructure.cs b/CodeComplianceTest_Engine/Compute/CheckProjectStructure.cs index 7570bb2b..4b613bda 100644 --- a/CodeComplianceTest_Engine/Compute/CheckProjectStructure.cs +++ b/CodeComplianceTest_Engine/Compute/CheckProjectStructure.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -125,3 +125,4 @@ public static TestResult CheckProjectStructure(this string projectDirectory) + diff --git a/CodeComplianceTest_Engine/Compute/RunChecks.cs b/CodeComplianceTest_Engine/Compute/RunChecks.cs index 631d196e..2fad167e 100644 --- a/CodeComplianceTest_Engine/Compute/RunChecks.cs +++ b/CodeComplianceTest_Engine/Compute/RunChecks.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -81,3 +81,4 @@ public static TestResult RunChecks(this string filePath, string checkType) + diff --git a/CodeComplianceTest_Engine/Convert/ToLineLocation.cs b/CodeComplianceTest_Engine/Convert/ToLineLocation.cs index 53fd7677..62cce29a 100644 --- a/CodeComplianceTest_Engine/Convert/ToLineLocation.cs +++ b/CodeComplianceTest_Engine/Convert/ToLineLocation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static LineLocation ToLineLocation(this int position, string context) + diff --git a/CodeComplianceTest_Engine/Convert/ToLineSpan.cs b/CodeComplianceTest_Engine/Convert/ToLineSpan.cs index 2d9cd887..aeeef114 100644 --- a/CodeComplianceTest_Engine/Convert/ToLineSpan.cs +++ b/CodeComplianceTest_Engine/Convert/ToLineSpan.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -45,3 +45,4 @@ public static LineSpan ToLineSpan(this Span span, string context) + diff --git a/CodeComplianceTest_Engine/Convert/ToPosition.cs b/CodeComplianceTest_Engine/Convert/ToPosition.cs index 0178e89e..bdbb0188 100644 --- a/CodeComplianceTest_Engine/Convert/ToPosition.cs +++ b/CodeComplianceTest_Engine/Convert/ToPosition.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static int ToPosition(this LineLocation location, string context) + diff --git a/CodeComplianceTest_Engine/Convert/ToSpan.cs b/CodeComplianceTest_Engine/Convert/ToSpan.cs index fbba4d5b..b195a0ba 100644 --- a/CodeComplianceTest_Engine/Convert/ToSpan.cs +++ b/CodeComplianceTest_Engine/Convert/ToSpan.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,3 +55,4 @@ public static Span ToSpan(this Microsoft.CodeAnalysis.Text.TextSpan span) + diff --git a/CodeComplianceTest_Engine/Convert/ToSyntaxTree.cs b/CodeComplianceTest_Engine/Convert/ToSyntaxTree.cs index 9ca2b9c8..357f1932 100644 --- a/CodeComplianceTest_Engine/Convert/ToSyntaxTree.cs +++ b/CodeComplianceTest_Engine/Convert/ToSyntaxTree.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public static SyntaxTree ToSyntaxTree(this string code, string path = "") + diff --git a/CodeComplianceTest_Engine/Convert/ToText.cs b/CodeComplianceTest_Engine/Convert/ToText.cs index 4431ddb7..a8ec1de2 100644 --- a/CodeComplianceTest_Engine/Convert/ToText.cs +++ b/CodeComplianceTest_Engine/Convert/ToText.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static string ToText(this Error error) + diff --git a/CodeComplianceTest_Engine/Create/Error.cs b/CodeComplianceTest_Engine/Create/Error.cs index 7fc8ece1..9f97c1f6 100644 --- a/CodeComplianceTest_Engine/Create/Error.cs +++ b/CodeComplianceTest_Engine/Create/Error.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static Error Error(string message, Location location, string documentatio + diff --git a/CodeComplianceTest_Engine/Create/LineLocation.cs b/CodeComplianceTest_Engine/Create/LineLocation.cs index 55441968..5e862e40 100644 --- a/CodeComplianceTest_Engine/Create/LineLocation.cs +++ b/CodeComplianceTest_Engine/Create/LineLocation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public static LineLocation LineLocation(int line, int column) + diff --git a/CodeComplianceTest_Engine/Create/LineSpan.cs b/CodeComplianceTest_Engine/Create/LineSpan.cs index ecaed5ab..24af1d15 100644 --- a/CodeComplianceTest_Engine/Create/LineSpan.cs +++ b/CodeComplianceTest_Engine/Create/LineSpan.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -47,3 +47,4 @@ public static LineSpan LineSpan(int firstLine, int lastLine) + diff --git a/CodeComplianceTest_Engine/Create/Location.cs b/CodeComplianceTest_Engine/Create/Location.cs index 508d9fee..8312d096 100644 --- a/CodeComplianceTest_Engine/Create/Location.cs +++ b/CodeComplianceTest_Engine/Create/Location.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -47,3 +47,4 @@ public static Location Location(string filePath = "", LineSpan line = null) + diff --git a/CodeComplianceTest_Engine/Create/Span.cs b/CodeComplianceTest_Engine/Create/Span.cs index 59976c68..3831a90c 100644 --- a/CodeComplianceTest_Engine/Create/Span.cs +++ b/CodeComplianceTest_Engine/Create/Span.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -42,3 +42,4 @@ public static Span Span(this int start, int length) + diff --git a/CodeComplianceTest_Engine/Create/TestResult.cs b/CodeComplianceTest_Engine/Create/TestResult.cs index 25138ad8..d0b3dd54 100644 --- a/CodeComplianceTest_Engine/Create/TestResult.cs +++ b/CodeComplianceTest_Engine/Create/TestResult.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public static TestResult TestResult(TestStatus status, List errors = null + diff --git a/CodeComplianceTest_Engine/Modify/GroupErrors.cs b/CodeComplianceTest_Engine/Modify/GroupErrors.cs index 6ec16870..96b5babd 100644 --- a/CodeComplianceTest_Engine/Modify/GroupErrors.cs +++ b/CodeComplianceTest_Engine/Modify/GroupErrors.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -82,3 +82,4 @@ public static List GroupErrors(this List errors, string filePath) + diff --git a/CodeComplianceTest_Engine/Properties/AssemblyInfo.cs b/CodeComplianceTest_Engine/Properties/AssemblyInfo.cs index 51c10ec9..8218e18d 100644 --- a/CodeComplianceTest_Engine/Properties/AssemblyInfo.cs +++ b/CodeComplianceTest_Engine/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/CodeComplianceTest_Engine/Query/AllChecks.cs b/CodeComplianceTest_Engine/Query/AllChecks.cs index 437b21e0..d1b450e9 100644 --- a/CodeComplianceTest_Engine/Query/AllChecks.cs +++ b/CodeComplianceTest_Engine/Query/AllChecks.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -50,3 +50,4 @@ public static IEnumerable AllChecks() + diff --git a/CodeComplianceTest_Engine/Query/Checks/AttributeHasEndingPunctuation.cs b/CodeComplianceTest_Engine/Query/Checks/AttributeHasEndingPunctuation.cs index f3c7cfff..f496232a 100644 --- a/CodeComplianceTest_Engine/Query/Checks/AttributeHasEndingPunctuation.cs +++ b/CodeComplianceTest_Engine/Query/Checks/AttributeHasEndingPunctuation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -80,3 +80,4 @@ public static Span AttributeHasEndingPunctuation(this AttributeSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/EngineClassMatchesFilePath.cs b/CodeComplianceTest_Engine/Query/Checks/EngineClassMatchesFilePath.cs index f3a074fb..10a9c5df 100644 --- a/CodeComplianceTest_Engine/Query/Checks/EngineClassMatchesFilePath.cs +++ b/CodeComplianceTest_Engine/Query/Checks/EngineClassMatchesFilePath.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -60,3 +60,4 @@ public static Span EngineClassMatchesFilePath(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasConstructor.cs b/CodeComplianceTest_Engine/Query/Checks/HasConstructor.cs index e4e92200..e9687b43 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasConstructor.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasConstructor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -44,7 +44,7 @@ public static partial class Query [Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$", false)] //NUnit style projects [Path(@"([a-zA-Z0-9]+)_Test\\.*\.cs$", false)] //Verification projects [ComplianceType("code")] - [ErrorLevel(TestStatus.Error)] + [ErrorLevel(TestStatus.Warning)] [Output("A span that represents where this error resides or null if there is no error")] public static Span HasConstructor(this ClassDeclarationSyntax node) { @@ -66,3 +66,4 @@ public static Span HasConstructor(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasDescriptionAttribute.cs b/CodeComplianceTest_Engine/Query/Checks/HasDescriptionAttribute.cs index 206d4476..d6de65a1 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasDescriptionAttribute.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasDescriptionAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -65,3 +65,4 @@ public static Span HasDescriptionAttribute(this ConstructorDeclarationSyntax nod + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasOneConstructor.cs b/CodeComplianceTest_Engine/Query/Checks/HasOneConstructor.cs deleted file mode 100644 index edf5b2ab..00000000 --- a/CodeComplianceTest_Engine/Query/Checks/HasOneConstructor.cs +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. - * - * Each contributor holds copyright over their respective contributions. - * The project versioning (Git) records all such contribution source information. - * - * - * The BHoM is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3.0 of the License, or - * (at your option) any later version. - * - * The BHoM is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this code. If not, see . - */ - -using BH.oM.Base.Attributes; -using BH.oM.Test.CodeCompliance; -using BH.oM.Test.CodeCompliance.Attributes; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -using BH.oM.Test; - -namespace BH.Engine.Test.CodeCompliance.Checks -{ - public static partial class Query - { - [Message("BHoM objects should not contain multiple constructors taking inputs.", "HasOneConstructor")] - [Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")] - [Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)] - [Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)] - [Path(@"([a-zA-Z0-9]+)_UI\\.*\.cs$", false)] - [Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$", false)] //NUnit style projects - [Path(@"([a-zA-Z0-9]+)_Test\\.*\.cs$", false)] //Verification projects - [ComplianceType("code")] - [ErrorLevel(TestStatus.Error)] - [Output("A span that represents where this error resides or null if there is no error")] - public static Span HasOneConstructor(this ClassDeclarationSyntax node) - { - if (node == null) - return null; - - if(node.Members.Where(x => x.IsConstructor()).Count() > 1) - { - List constructors = node.Members.Where(x => x.IsConstructor()).Select(x => x as ConstructorDeclarationSyntax).ToList(); - if (constructors.Where(x => x.ParameterList.Parameters.Count > 0).Count() > 1) - return constructors.Where(x => x.ParameterList.Parameters.Count > 0).First().Span.ToSpan(); //More than one constructor which has at least 1 input or more (accepting only an empty constructor when we have 2 constructors) - } - - return null; - } - } -} - - - - - diff --git a/CodeComplianceTest_Engine/Query/Checks/HasOutputAttribute.cs b/CodeComplianceTest_Engine/Query/Checks/HasOutputAttribute.cs index 47e333fa..2e58ce5e 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasOutputAttribute.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasOutputAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -71,3 +71,4 @@ public static Span HasOutputAttribute(this ConstructorDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasPublicGet.cs b/CodeComplianceTest_Engine/Query/Checks/HasPublicGet.cs index d4e96c16..acc56339 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasPublicGet.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasPublicGet.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -62,3 +62,4 @@ public static Span HasPublicGet(this PropertyDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasSingleClass.cs b/CodeComplianceTest_Engine/Query/Checks/HasSingleClass.cs deleted file mode 100644 index 7539233f..00000000 --- a/CodeComplianceTest_Engine/Query/Checks/HasSingleClass.cs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. - * - * Each contributor holds copyright over their respective contributions. - * The project versioning (Git) records all such contribution source information. - * - * - * The BHoM is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3.0 of the License, or - * (at your option) any later version. - * - * The BHoM is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this code. If not, see . - */ - -using BH.oM.Test.CodeCompliance; -using BH.oM.Test.CodeCompliance.Attributes; -using Microsoft.CodeAnalysis.CSharp.Syntax; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using BH.oM.Test; - -namespace BH.Engine.Test.CodeCompliance.Checks -{ - public static partial class Query - { - [Message("Files cannot contain more than one class", "HasSingleClass")] - [Path(@"([a-zA-Z0-9]+)(_?oM|_(Engine|UI|Adapter|Tests))\\.*\.cs$")] - [Path(@"([a-zA-Z0-9]+)_Engine\\Objects\\.*\.cs$", false)] - [ComplianceType("code")] - [ErrorLevel(TestStatus.Error)] - public static Span HasSingleClass(this BaseTypeDeclarationSyntax node) - { - if (node == null || !node.SyntaxTree.HasCompilationUnitRoot) - return null; - - CompilationUnitSyntax root = node.SyntaxTree.GetRoot() as CompilationUnitSyntax; - if (root.DescendantNodes().OfType().FirstOrDefault() != node) - return node.Identifier.Span.ToSpan(); - - return null; - } - - } -} - - - - - diff --git a/CodeComplianceTest_Engine/Query/Checks/HasSingleNamespace.cs b/CodeComplianceTest_Engine/Query/Checks/HasSingleNamespace.cs index d57701ce..2d292fcc 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasSingleNamespace.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasSingleNamespace.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -58,3 +58,4 @@ public static Span HasSingleNamespace(this NamespaceDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasUniqueMultiOutputAttributes.cs b/CodeComplianceTest_Engine/Query/Checks/HasUniqueMultiOutputAttributes.cs index 40340a92..85731b63 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasUniqueMultiOutputAttributes.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasUniqueMultiOutputAttributes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -68,10 +68,10 @@ public static Span HasUniqueMultiOutputAttributes(this MethodDeclarationSyntax n string builtString = ""; foreach (char x in returnType) { - if (x == '<') + if (x == '<' || x == '[') split++; - if (x == '>') + if (x == '>' || x == ']') split--; if (x == ',' && split == 0) @@ -91,7 +91,7 @@ public static Span HasUniqueMultiOutputAttributes(this MethodDeclarationSyntax n string t = x.ToString(); string newString = ""; int bracketCount = 0; - foreach(char i in t) + foreach (char i in t) { if (i == '<') bracketCount++; @@ -121,3 +121,4 @@ public static Span HasUniqueMultiOutputAttributes(this MethodDeclarationSyntax n + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasUniqueOutputAttribute.cs b/CodeComplianceTest_Engine/Query/Checks/HasUniqueOutputAttribute.cs index 7e76d915..ed6fcd8d 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasUniqueOutputAttribute.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasUniqueOutputAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -67,3 +67,4 @@ public static Span HasUniqueOutputAttribute(this AttributeSyntax node) } } } + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasValidConstructor.cs b/CodeComplianceTest_Engine/Query/Checks/HasValidConstructor.cs index f26bf936..fc1859c6 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasValidConstructor.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasValidConstructor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -44,7 +44,7 @@ public static partial class Query [Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$", false)] //NUnit style projects [Path(@"([a-zA-Z0-9]+)_Test\\.*\.cs$", false)] //Verification projects [ComplianceType("code")] - [ErrorLevel(TestStatus.Error)] + [ErrorLevel(TestStatus.Warning)] [Output("A span that represents where this error resides or null if there is no error")] public static Span HasValidConstructor(this ClassDeclarationSyntax node) { @@ -84,3 +84,4 @@ public static Span HasValidConstructor(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasValidCopyright.cs b/CodeComplianceTest_Engine/Query/Checks/HasValidCopyright.cs index 9e9a50c9..7fb6e818 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasValidCopyright.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasValidCopyright.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static Span HasValidCopyright(this CompilationUnitSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasValidMultiOutputAttributes.cs b/CodeComplianceTest_Engine/Query/Checks/HasValidMultiOutputAttributes.cs index a7b94cd8..03c64dd0 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasValidMultiOutputAttributes.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasValidMultiOutputAttributes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -68,10 +68,10 @@ public static Span HasValidMultiOutputAttributes(this MethodDeclarationSyntax no string builtString = ""; foreach (char x in returnType) { - if (x == '<') + if (x == '<' || x == '[') split++; - if(x == '>') + if (x == '>' || x == ']') split--; if (x == ',' && split == 0) @@ -99,3 +99,4 @@ public static Span HasValidMultiOutputAttributes(this MethodDeclarationSyntax no + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasValidOutputAttribute.cs b/CodeComplianceTest_Engine/Query/Checks/HasValidOutputAttribute.cs index 8ef17168..e866282f 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasValidOutputAttribute.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasValidOutputAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -69,3 +69,4 @@ public static Span HasValidOutputAttribute(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/HasValidPreviousVersionAttribute.cs b/CodeComplianceTest_Engine/Query/Checks/HasValidPreviousVersionAttribute.cs index fa6c0637..d72f3481 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HasValidPreviousVersionAttribute.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HasValidPreviousVersionAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -89,3 +89,4 @@ public static Span HasValidPreviousVersionAttribute(this ConstructorDeclarationS + diff --git a/CodeComplianceTest_Engine/Query/Checks/HiddenInputsAreLast.cs b/CodeComplianceTest_Engine/Query/Checks/HiddenInputsAreLast.cs index 6f9ffbdf..76656858 100644 --- a/CodeComplianceTest_Engine/Query/Checks/HiddenInputsAreLast.cs +++ b/CodeComplianceTest_Engine/Query/Checks/HiddenInputsAreLast.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -83,3 +83,4 @@ public static Span HiddenInputsAreLast(this BaseMethodDeclarationSyntax node) } } + diff --git a/CodeComplianceTest_Engine/Query/Checks/InputAttributeHasMatchingParameter.cs b/CodeComplianceTest_Engine/Query/Checks/InputAttributeHasMatchingParameter.cs index 5bf8b11f..614176e2 100644 --- a/CodeComplianceTest_Engine/Query/Checks/InputAttributeHasMatchingParameter.cs +++ b/CodeComplianceTest_Engine/Query/Checks/InputAttributeHasMatchingParameter.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -64,3 +64,4 @@ public static Span InputAttributeHasMatchingParameter(this AttributeSyntax node) } } + diff --git a/CodeComplianceTest_Engine/Query/Checks/InputAttributeIsUnique.cs b/CodeComplianceTest_Engine/Query/Checks/InputAttributeIsUnique.cs index 15e38e2f..3f693395 100644 --- a/CodeComplianceTest_Engine/Query/Checks/InputAttributeIsUnique.cs +++ b/CodeComplianceTest_Engine/Query/Checks/InputAttributeIsUnique.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -63,3 +63,4 @@ public static Span InputAttributeIsUnique(this AttributeSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/InputAttributesAreInOrder.cs b/CodeComplianceTest_Engine/Query/Checks/InputAttributesAreInOrder.cs index 9842dd37..21de8ba1 100644 --- a/CodeComplianceTest_Engine/Query/Checks/InputAttributesAreInOrder.cs +++ b/CodeComplianceTest_Engine/Query/Checks/InputAttributesAreInOrder.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -36,7 +36,7 @@ namespace BH.Engine.Test.CodeCompliance.Checks public static partial class Query { [Message("Input documentation attributes should be in the same order as the method input parameters.", "InputAttributesAreInOrder")] - [ErrorLevel(TestStatus.Error)] + [ErrorLevel(TestStatus.Warning)] [Path(@"([a-zA-Z0-9]+)_(Engine|Adapter)\\.*\.cs$")] [Path(@"([a-zA-Z0-9]+)_Tests\\.*\.cs$", false)] //NUnit style projects [Path(@"([a-zA-Z0-9]+)_Test\\.*\.cs$", false)] //Verification projects @@ -92,3 +92,4 @@ public static Span InputAttributesAreInOrder(this BaseMethodDeclarationSyntax no } } + diff --git a/CodeComplianceTest_Engine/Query/Checks/InputParameterStartsLower.cs b/CodeComplianceTest_Engine/Query/Checks/InputParameterStartsLower.cs index b923cced..b08864a8 100644 --- a/CodeComplianceTest_Engine/Query/Checks/InputParameterStartsLower.cs +++ b/CodeComplianceTest_Engine/Query/Checks/InputParameterStartsLower.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static Span InputParameterStartsLower(this ParameterSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsDocumentationURLValid.cs b/CodeComplianceTest_Engine/Query/Checks/IsDocumentationURLValid.cs index 7474496f..26c643a7 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsDocumentationURLValid.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsDocumentationURLValid.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -71,3 +71,4 @@ public static Span IsDocumentationURLValid(this AttributeSyntax node) } } } + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsExtensionMethod.cs b/CodeComplianceTest_Engine/Query/Checks/IsExtensionMethod.cs index e0b1ea5d..eda812a2 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsExtensionMethod.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsExtensionMethod.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -101,3 +101,4 @@ public static Span IsExtensionMethod(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsInputAttributePresent.cs b/CodeComplianceTest_Engine/Query/Checks/IsInputAttributePresent.cs index 0df7b3f1..e8348026 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsInputAttributePresent.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsInputAttributePresent.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -70,3 +70,4 @@ public static Span IsInputAttributePresent(this ParameterSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsPublicClass.cs b/CodeComplianceTest_Engine/Query/Checks/IsPublicClass.cs index 275bb9d7..2944c6b5 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsPublicClass.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsPublicClass.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -58,3 +58,4 @@ public static Span IsPublicClass(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsPublicProperty.cs b/CodeComplianceTest_Engine/Query/Checks/IsPublicProperty.cs index b397ddc3..5cb4c793 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsPublicProperty.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsPublicProperty.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static Span IsPublicProperty(this PropertyDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsStaticClass.cs b/CodeComplianceTest_Engine/Query/Checks/IsStaticClass.cs index 5f8f5e8f..f46030a7 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsStaticClass.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsStaticClass.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static Span IsStaticClass(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsUsingCustomData.cs b/CodeComplianceTest_Engine/Query/Checks/IsUsingCustomData.cs index 5109ace8..7ec4c7ef 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsUsingCustomData.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsUsingCustomData.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -86,3 +86,4 @@ public static Span IsUsingCustomData(this StatementSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsValidConvertMethodName.cs b/CodeComplianceTest_Engine/Query/Checks/IsValidConvertMethodName.cs index 1160d14b..9822e697 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsValidConvertMethodName.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsValidConvertMethodName.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static Span IsValidConvertMethodName(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsValidCreateMethod.cs b/CodeComplianceTest_Engine/Query/Checks/IsValidCreateMethod.cs index 6fea53bb..cfe4dd9c 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsValidCreateMethod.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsValidCreateMethod.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -47,38 +47,63 @@ public static Span IsValidCreateMethod(this MethodDeclarationSyntax node) return null; string filePath = node.SyntaxTree.FilePath; + + if (string.IsNullOrEmpty(filePath)) + return node.Identifier.Span.ToSpan(); + + //Split the path, including the filename. + //Split by dot to get rid of extension in .cs file. + //Reverse to start with file and walk backwards + List pathSplit = filePath.Split(System.IO.Path.DirectorySeparatorChar).Select(x => x.Split('.').First()).Reverse().ToList(); + + foreach (string returnType in ReturnTypeCandidates(node)) + { + foreach (string path in pathSplit) + { + if (path == "Create") //Loop until we reach the create folder + break; + + if (Regex.Match(returnType, $"((List|IEnumerable)<)?I?{path}(<.*>)?>?$").Success) + return null; //Name of file or folder matches return type exactly so this is valid. IsValidCreateMethodName will check if the method name matches the file name + } + } + return node.Identifier.Span.ToSpan(); //Create method file (name/path) and return type do not match as required + } + + private static List ReturnTypeCandidates(this MethodDeclarationSyntax node) + { + List returnTypeNames = new List(); + var type = node.ReturnType; if (type is QualifiedNameSyntax) type = ((QualifiedNameSyntax)type).Right; - + string returnType = type.ToString(); - string fileName = ""; - if(!string.IsNullOrEmpty(filePath)) + returnTypeNames.Add(returnType); + + //Handle the case where the method returns a generic type. + //Then check the constraints of the generic type, if any of them matches the file name, then that is also acceptable + if (node.ConstraintClauses.Count != 0) { - fileName = System.IO.Path.GetFileNameWithoutExtension(filePath); - if(Regex.Match(returnType, $"((List|IEnumerable)<)?I?{fileName}(<.*>)?>?$").Success) - return null; //File name matches return type exactly so this is valid. IsValidCreateMethodName will check if the method name matches the file name - } + foreach (var constraintClause in node.ConstraintClauses) + { + string constraintString = constraintClause.ToString(); //where T : XXX, YYY + string[] split = constraintString.Split(':'); + if (split.Length != 2) + continue; - //If file name does not exactly match the return type then we need to check if the return type is in a sub-folder in create + string target = split[0].Trim().Split(' ').Last().Trim(); //Split with space to get rid of where - List pathSplit = filePath.Split(System.IO.Path.DirectorySeparatorChar).ToList(); - int createIndex = pathSplit.IndexOf("Create"); - if (createIndex == -1) - return node.Identifier.Span.ToSpan(); //Evidently this create method isn't working for some reason - even though it should but this is as a protection/precaution + if (target != returnType) + continue; - try - { - if (Regex.Match(returnType, $"((List|IEnumerable)<)?I?{pathSplit[createIndex + 1]}(<.*>)?>?$").Success || Regex.Match(returnType, $"((List|IEnumerable)<)?I?{pathSplit[createIndex + 2]}(<.*>)?>?$").Success) - return null; //The folder path after the 'Create' folder matches the return type so this is valid. IsValidCreateMethodName will check if the method name matches the file name - } - catch - { - //In case createIndex + 1 || createIndex + 2 result in an out of bounds error - it means the check has failed and something isn't compliant so can pass through to returning the span + returnTypeNames.AddRange(split[1].Split(',').Select(x => x.Trim())); + } } - return node.Identifier.Span.ToSpan(); //Create method file (name/path) and return type do not match as required + + return returnTypeNames; } } } @@ -87,3 +112,4 @@ public static Span IsValidCreateMethod(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsValidEngineClassName.cs b/CodeComplianceTest_Engine/Query/Checks/IsValidEngineClassName.cs index 5e374c99..60709692 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsValidEngineClassName.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsValidEngineClassName.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -54,3 +54,4 @@ public static Span IsValidEngineClassName(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsValidIImmutableObject.cs b/CodeComplianceTest_Engine/Query/Checks/IsValidIImmutableObject.cs index 890ab573..9629e888 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsValidIImmutableObject.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsValidIImmutableObject.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -38,7 +38,7 @@ namespace BH.Engine.Test.CodeCompliance.Checks public static partial class Query { [Message("IImutable objects must have at least one property with only a get accessor (no set accessor).", "IsValidIImmutableObject")] - [ErrorLevel(TestStatus.Error)] + [ErrorLevel(TestStatus.Warning)] [Path(@"([a-zA-Z0-9]+)_?oM\\.*\.cs$")] [Path(@"([a-zA-Z0-9]+)_Engine\\.*\.cs$", false)] [Path(@"([a-zA-Z0-9]+)_Adapter\\.*\.cs$", false)] @@ -66,3 +66,4 @@ public static Span IsValidIImmutableObject(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/IsVirtualProperty.cs b/CodeComplianceTest_Engine/Query/Checks/IsVirtualProperty.cs index 59a2171c..b6444e94 100644 --- a/CodeComplianceTest_Engine/Query/Checks/IsVirtualProperty.cs +++ b/CodeComplianceTest_Engine/Query/Checks/IsVirtualProperty.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -64,3 +64,4 @@ public static Span IsVirtualProperty(this PropertyDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/MethodNameContainsFileName.cs b/CodeComplianceTest_Engine/Query/Checks/MethodNameContainsFileName.cs index e89dda93..6386d99c 100644 --- a/CodeComplianceTest_Engine/Query/Checks/MethodNameContainsFileName.cs +++ b/CodeComplianceTest_Engine/Query/Checks/MethodNameContainsFileName.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -67,3 +67,4 @@ public static Span MethodNameContainsFileName(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/MethodNameStartsUpper.cs b/CodeComplianceTest_Engine/Query/Checks/MethodNameStartsUpper.cs index 1075aeca..206a2db2 100644 --- a/CodeComplianceTest_Engine/Query/Checks/MethodNameStartsUpper.cs +++ b/CodeComplianceTest_Engine/Query/Checks/MethodNameStartsUpper.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static Span MethodNameStartsUpper(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/ModifyReturnsDifferentType.cs b/CodeComplianceTest_Engine/Query/Checks/ModifyReturnsDifferentType.cs index ef6b8c19..51826c0d 100644 --- a/CodeComplianceTest_Engine/Query/Checks/ModifyReturnsDifferentType.cs +++ b/CodeComplianceTest_Engine/Query/Checks/ModifyReturnsDifferentType.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -62,3 +62,4 @@ public static Span ModifyReturnsDifferentType(this MethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/ObjectNameMatchesFileName.cs b/CodeComplianceTest_Engine/Query/Checks/ObjectNameMatchesFileName.cs index 5172bebf..9a6ed4ef 100644 --- a/CodeComplianceTest_Engine/Query/Checks/ObjectNameMatchesFileName.cs +++ b/CodeComplianceTest_Engine/Query/Checks/ObjectNameMatchesFileName.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -66,3 +66,4 @@ public static Span ObjectNameMatchesFileName(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeHasMatchingParameter.cs b/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeHasMatchingParameter.cs index 74f9211f..001b4fa9 100644 --- a/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeHasMatchingParameter.cs +++ b/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeHasMatchingParameter.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -70,3 +70,4 @@ public static Span PreviousInputNamesAttributeHasMatchingParameter(this Attribut + diff --git a/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeIsUnique.cs b/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeIsUnique.cs index 831edc17..98a5ab2b 100644 --- a/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeIsUnique.cs +++ b/CodeComplianceTest_Engine/Query/Checks/PreviousInputNamesAttributeIsUnique.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -63,3 +63,4 @@ public static Span PreviousInputNamesAttributeIsUnique(this AttributeSyntax node + diff --git a/CodeComplianceTest_Engine/Query/Checks/PropertyAccessorsHaveNoBody.cs b/CodeComplianceTest_Engine/Query/Checks/PropertyAccessorsHaveNoBody.cs index 7dd71308..72059b8c 100644 --- a/CodeComplianceTest_Engine/Query/Checks/PropertyAccessorsHaveNoBody.cs +++ b/CodeComplianceTest_Engine/Query/Checks/PropertyAccessorsHaveNoBody.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static Span PropertyAccessorsHaveNoBody(this PropertyDeclarationSyntax no + diff --git a/CodeComplianceTest_Engine/Query/Checks/UIExposureHasDefaultValue.cs b/CodeComplianceTest_Engine/Query/Checks/UIExposureHasDefaultValue.cs index 07e50c0f..46f3906d 100644 --- a/CodeComplianceTest_Engine/Query/Checks/UIExposureHasDefaultValue.cs +++ b/CodeComplianceTest_Engine/Query/Checks/UIExposureHasDefaultValue.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -73,3 +73,4 @@ public static Span UIExposureHasDefaultValue(this AttributeSyntax node) } } + diff --git a/CodeComplianceTest_Engine/Query/ContainsToken.cs b/CodeComplianceTest_Engine/Query/ContainsToken.cs index 5298c2f8..69e6bc77 100644 --- a/CodeComplianceTest_Engine/Query/ContainsToken.cs +++ b/CodeComplianceTest_Engine/Query/ContainsToken.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,3 +55,4 @@ public static bool ContainsToken(this SyntaxTokenList list, string value) + diff --git a/CodeComplianceTest_Engine/Query/CurrentVersion.cs b/CodeComplianceTest_Engine/Query/CurrentVersion.cs index 15c27a43..e35c39a6 100644 --- a/CodeComplianceTest_Engine/Query/CurrentVersion.cs +++ b/CodeComplianceTest_Engine/Query/CurrentVersion.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -42,7 +42,7 @@ public static string FullCurrentAssemblyVersion() public static string CurrentAssemblyFileVersion() { - return "8.0"; //Update each milestone - don't forget the one above! + return "8.1"; //Update each milestone - don't forget the one above! } public static string FullCurrentAssemblyFileVersion() @@ -53,3 +53,4 @@ public static string FullCurrentAssemblyFileVersion() } + diff --git a/CodeComplianceTest_Engine/Query/DescriptionAttribute.cs b/CodeComplianceTest_Engine/Query/DescriptionAttribute.cs index 8af2a2ad..d0ec408e 100644 --- a/CodeComplianceTest_Engine/Query/DescriptionAttribute.cs +++ b/CodeComplianceTest_Engine/Query/DescriptionAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static List DescriptionAttribute(this ConstructorDeclara + diff --git a/CodeComplianceTest_Engine/Query/DirectlyInherits.cs b/CodeComplianceTest_Engine/Query/DirectlyInherits.cs index 5569bdd5..115b0a8b 100644 --- a/CodeComplianceTest_Engine/Query/DirectlyInherits.cs +++ b/CodeComplianceTest_Engine/Query/DirectlyInherits.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static bool DirectlyInherits(this BaseTypeDeclarationSyntax node, string + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterCreateMethodIsValid.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterCreateMethodIsValid.cs index 68c32c1f..be7706b7 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterCreateMethodIsValid.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterCreateMethodIsValid.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -63,3 +63,4 @@ public static bool AdapterCreateMethodIsValid(this MethodInfo method) + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterReadMethodIsValid.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterReadMethodIsValid.cs index 9cc5e73e..387ff005 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterReadMethodIsValid.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/AdapterReadMethodIsValid.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -58,3 +58,4 @@ public static bool AdapterReadMethodIsValid(this MethodInfo method) + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/ConvertMethodIsValid.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/ConvertMethodIsValid.cs index cacae518..ff7657e9 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/ConvertMethodIsValid.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/ConvertMethodIsValid.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -56,3 +56,4 @@ public static bool ConvertMethodIsValid(this MethodInfo method) + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsBaseOption.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsBaseOption.cs index c050b914..76b34bc0 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsBaseOption.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsBaseOption.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -70,3 +70,4 @@ public static TestResult ImplementsBaseOption(this MethodInfo method) + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsRequiredMethods.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsRequiredMethods.cs index 747876bd..9b06ac6a 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsRequiredMethods.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/ImplementsRequiredMethods.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -425,3 +425,4 @@ private static TestResult ImplementsIElementMMethods(object obj, string objectFu } } } + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/InputFromPropertyMatchesProperty.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/InputFromPropertyMatchesProperty.cs index 3cbb5ae1..d0f7d253 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/InputFromPropertyMatchesProperty.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/InputFromPropertyMatchesProperty.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -75,3 +75,4 @@ public static TestResult InputFromPropertyMatchesProperty(this MethodInfo method + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidDataset.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidDataset.cs index a5d30229..5ddde0b8 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidDataset.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidDataset.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -148,3 +148,4 @@ public static TestResult IsValidDataset(this string filePath) + diff --git a/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidQuantityInputAttribute.cs b/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidQuantityInputAttribute.cs index 6e3b5cd9..af97fcef 100644 --- a/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidQuantityInputAttribute.cs +++ b/CodeComplianceTest_Engine/Query/DynamicChecks/IsValidQuantityInputAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -59,3 +59,4 @@ public static bool IsValidQuantityInputAttribute(MemberInfo node) + diff --git a/CodeComplianceTest_Engine/Query/FullMessage.cs b/CodeComplianceTest_Engine/Query/FullMessage.cs index 7e31ce63..2c6de0a4 100644 --- a/CodeComplianceTest_Engine/Query/FullMessage.cs +++ b/CodeComplianceTest_Engine/Query/FullMessage.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -58,3 +58,4 @@ public static string FullMessage(this Error error, int maxDepth = 3, TestStatus + diff --git a/CodeComplianceTest_Engine/Query/GetAttributes.cs b/CodeComplianceTest_Engine/Query/GetAttributes.cs index c353e423..7077b7fe 100644 --- a/CodeComplianceTest_Engine/Query/GetAttributes.cs +++ b/CodeComplianceTest_Engine/Query/GetAttributes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static List GetAttributes(this MemberDeclarationSyntax n + diff --git a/CodeComplianceTest_Engine/Query/GetClass.cs b/CodeComplianceTest_Engine/Query/GetClass.cs index 909f6e33..30e74c7b 100644 --- a/CodeComplianceTest_Engine/Query/GetClass.cs +++ b/CodeComplianceTest_Engine/Query/GetClass.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -66,3 +66,4 @@ public static string GetClass(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/GetDeclaringType.cs b/CodeComplianceTest_Engine/Query/GetDeclaringType.cs index 189147f1..dabc86da 100644 --- a/CodeComplianceTest_Engine/Query/GetDeclaringType.cs +++ b/CodeComplianceTest_Engine/Query/GetDeclaringType.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -59,3 +59,4 @@ public static BaseTypeDeclarationSyntax GetDeclaringType(this BaseTypeDeclaratio + diff --git a/CodeComplianceTest_Engine/Query/GetFileRoot.cs b/CodeComplianceTest_Engine/Query/GetFileRoot.cs index ad5c9f37..29cd1a49 100644 --- a/CodeComplianceTest_Engine/Query/GetFileRoot.cs +++ b/CodeComplianceTest_Engine/Query/GetFileRoot.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static SyntaxNode GetFileRoot(this SyntaxTree tree) + diff --git a/CodeComplianceTest_Engine/Query/GetIdentifier.cs b/CodeComplianceTest_Engine/Query/GetIdentifier.cs index c382beeb..bc4838fc 100644 --- a/CodeComplianceTest_Engine/Query/GetIdentifier.cs +++ b/CodeComplianceTest_Engine/Query/GetIdentifier.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -78,3 +78,4 @@ public static SyntaxToken GetIdentifier(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/GetLeadingTrivia.cs b/CodeComplianceTest_Engine/Query/GetLeadingTrivia.cs index 06de0773..0880150d 100644 --- a/CodeComplianceTest_Engine/Query/GetLeadingTrivia.cs +++ b/CodeComplianceTest_Engine/Query/GetLeadingTrivia.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static SyntaxTriviaList GetLeadingTrivia(this SyntaxNode node) + diff --git a/CodeComplianceTest_Engine/Query/GetName.cs b/CodeComplianceTest_Engine/Query/GetName.cs index 7346bba1..caac17f2 100644 --- a/CodeComplianceTest_Engine/Query/GetName.cs +++ b/CodeComplianceTest_Engine/Query/GetName.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -88,3 +88,4 @@ public static string GetName(this NamespaceDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/GetNamespace.cs b/CodeComplianceTest_Engine/Query/GetNamespace.cs index 27b2f438..963ba685 100644 --- a/CodeComplianceTest_Engine/Query/GetNamespace.cs +++ b/CodeComplianceTest_Engine/Query/GetNamespace.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -75,3 +75,4 @@ public static string GetNamespace(this NamespaceDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/GetNamespaceRoot.cs b/CodeComplianceTest_Engine/Query/GetNamespaceRoot.cs index b0949b17..38e65546 100644 --- a/CodeComplianceTest_Engine/Query/GetNamespaceRoot.cs +++ b/CodeComplianceTest_Engine/Query/GetNamespaceRoot.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static List GetNamespaceRoot(this SyntaxNode fullFileNode) + diff --git a/CodeComplianceTest_Engine/Query/GetText.cs b/CodeComplianceTest_Engine/Query/GetText.cs index 483bc2dd..e0c82c50 100644 --- a/CodeComplianceTest_Engine/Query/GetText.cs +++ b/CodeComplianceTest_Engine/Query/GetText.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -53,3 +53,4 @@ public static string GetText(this Span span, string context) + diff --git a/CodeComplianceTest_Engine/Query/HasAttribute.cs b/CodeComplianceTest_Engine/Query/HasAttribute.cs index 42b5d1fd..ddc71562 100644 --- a/CodeComplianceTest_Engine/Query/HasAttribute.cs +++ b/CodeComplianceTest_Engine/Query/HasAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static bool HasAttribute(this MemberDeclarationSyntax node, string value) + diff --git a/CodeComplianceTest_Engine/Query/HasBody.cs b/CodeComplianceTest_Engine/Query/HasBody.cs index 19b7ee13..6b137d00 100644 --- a/CodeComplianceTest_Engine/Query/HasBody.cs +++ b/CodeComplianceTest_Engine/Query/HasBody.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static bool HasBody(this AccessorDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/HasConstructor.cs b/CodeComplianceTest_Engine/Query/HasConstructor.cs index 35eca9cf..90f836d7 100644 --- a/CodeComplianceTest_Engine/Query/HasConstructor.cs +++ b/CodeComplianceTest_Engine/Query/HasConstructor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static bool HasAConstructor(this ClassDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/HasModifier.cs b/CodeComplianceTest_Engine/Query/HasModifier.cs index 5503826f..b4239538 100644 --- a/CodeComplianceTest_Engine/Query/HasModifier.cs +++ b/CodeComplianceTest_Engine/Query/HasModifier.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static bool HasModifier(this AccessorDeclarationSyntax node, string value + diff --git a/CodeComplianceTest_Engine/Query/HasValidCopyright.cs b/CodeComplianceTest_Engine/Query/HasValidCopyright.cs index cb9ec1ff..2c3719ea 100644 --- a/CodeComplianceTest_Engine/Query/HasValidCopyright.cs +++ b/CodeComplianceTest_Engine/Query/HasValidCopyright.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -141,3 +141,4 @@ public static TestResult HasValidCopyright(this SyntaxTriviaList leadingTrivia, + diff --git a/CodeComplianceTest_Engine/Query/InputAttributes.cs b/CodeComplianceTest_Engine/Query/InputAttributes.cs index b34a57d0..6fbe9c1c 100644 --- a/CodeComplianceTest_Engine/Query/InputAttributes.cs +++ b/CodeComplianceTest_Engine/Query/InputAttributes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static List InputAttributes(this BaseMethodDeclarationSy + diff --git a/CodeComplianceTest_Engine/Query/InterfaceMethodsHaveMethods.cs b/CodeComplianceTest_Engine/Query/InterfaceMethodsHaveMethods.cs index 7ff4ed19..cd4f1750 100644 --- a/CodeComplianceTest_Engine/Query/InterfaceMethodsHaveMethods.cs +++ b/CodeComplianceTest_Engine/Query/InterfaceMethodsHaveMethods.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -122,3 +122,4 @@ private static void AddError(Dictionary> errors, string mes + diff --git a/CodeComplianceTest_Engine/Query/IsAdapterConstructor.cs b/CodeComplianceTest_Engine/Query/IsAdapterConstructor.cs index 6657037e..7ee7ff8b 100644 --- a/CodeComplianceTest_Engine/Query/IsAdapterConstructor.cs +++ b/CodeComplianceTest_Engine/Query/IsAdapterConstructor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -48,3 +48,4 @@ public static bool IsAdapterConstructor(this BaseMethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsConstructor.cs b/CodeComplianceTest_Engine/Query/IsConstructor.cs index e918f6c3..677e4cc2 100644 --- a/CodeComplianceTest_Engine/Query/IsConstructor.cs +++ b/CodeComplianceTest_Engine/Query/IsConstructor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static bool IsConstructor(this MemberDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsDeprecated.cs b/CodeComplianceTest_Engine/Query/IsDeprecated.cs index 1a6b2326..aef9dd53 100644 --- a/CodeComplianceTest_Engine/Query/IsDeprecated.cs +++ b/CodeComplianceTest_Engine/Query/IsDeprecated.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static bool IsDeprecated(this MemberDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsEngineMethod.cs b/CodeComplianceTest_Engine/Query/IsEngineMethod.cs index 1e5fc520..5b1a51ca 100644 --- a/CodeComplianceTest_Engine/Query/IsEngineMethod.cs +++ b/CodeComplianceTest_Engine/Query/IsEngineMethod.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -48,3 +48,4 @@ public static bool IsEngineMethod(this BaseMethodDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsImmutable.cs b/CodeComplianceTest_Engine/Query/IsImmutable.cs index 0c2f760b..aab81a00 100644 --- a/CodeComplianceTest_Engine/Query/IsImmutable.cs +++ b/CodeComplianceTest_Engine/Query/IsImmutable.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static bool IsImmutable(this BaseTypeDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsPrivate.cs b/CodeComplianceTest_Engine/Query/IsPrivate.cs index 80c5e615..8ffa9490 100644 --- a/CodeComplianceTest_Engine/Query/IsPrivate.cs +++ b/CodeComplianceTest_Engine/Query/IsPrivate.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static bool IsPrivate(this AccessorDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsPublic.cs b/CodeComplianceTest_Engine/Query/IsPublic.cs index 6b9432b6..eadc0c53 100644 --- a/CodeComplianceTest_Engine/Query/IsPublic.cs +++ b/CodeComplianceTest_Engine/Query/IsPublic.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,3 +55,4 @@ public static bool IsPublic(this AccessorDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsStatic.cs b/CodeComplianceTest_Engine/Query/IsStatic.cs index b4c03c69..3322ba08 100644 --- a/CodeComplianceTest_Engine/Query/IsStatic.cs +++ b/CodeComplianceTest_Engine/Query/IsStatic.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static bool IsStatic(this AccessorDeclarationSyntax node) + diff --git a/CodeComplianceTest_Engine/Query/IsValidBHoMObject.cs b/CodeComplianceTest_Engine/Query/IsValidBHoMObject.cs index f88be621..dd93435e 100644 --- a/CodeComplianceTest_Engine/Query/IsValidBHoMObject.cs +++ b/CodeComplianceTest_Engine/Query/IsValidBHoMObject.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static TestResult IsValidBHoMObject(this SyntaxTriviaList leadingTrivia, + diff --git a/CodeComplianceTest_Engine/Query/ObjectsAreIObject.cs b/CodeComplianceTest_Engine/Query/ObjectsAreIObject.cs index 2c000903..3ff3e89e 100644 --- a/CodeComplianceTest_Engine/Query/ObjectsAreIObject.cs +++ b/CodeComplianceTest_Engine/Query/ObjectsAreIObject.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -65,3 +65,4 @@ public static List ObjectsAreIObject() + diff --git a/CodeComplianceTest_Engine/Query/OutputAttribute.cs b/CodeComplianceTest_Engine/Query/OutputAttribute.cs index 92a598ca..ae131e15 100644 --- a/CodeComplianceTest_Engine/Query/OutputAttribute.cs +++ b/CodeComplianceTest_Engine/Query/OutputAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -57,3 +57,4 @@ public static List OutputAttribute(this ConstructorDeclarationS + diff --git a/CodeComplianceTest_Engine/Query/Passes.cs b/CodeComplianceTest_Engine/Query/Passes.cs index a9a8348e..2e0d828c 100644 --- a/CodeComplianceTest_Engine/Query/Passes.cs +++ b/CodeComplianceTest_Engine/Query/Passes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -74,3 +74,4 @@ public static bool Passes(this IsPublicAttribute condition, MemberDeclarationSyn + diff --git a/CodeComplianceTest_Engine/Query/PreviousInputNamesAttributes.cs b/CodeComplianceTest_Engine/Query/PreviousInputNamesAttributes.cs index bd10815c..f4e495fa 100644 --- a/CodeComplianceTest_Engine/Query/PreviousInputNamesAttributes.cs +++ b/CodeComplianceTest_Engine/Query/PreviousInputNamesAttributes.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static List PreviousInputNamesAttributes(this BaseMethod + diff --git a/CodeComplianceTest_Engine/Query/PropertyGetAccessor.cs b/CodeComplianceTest_Engine/Query/PropertyGetAccessor.cs index 669dda89..1b19aa4e 100644 --- a/CodeComplianceTest_Engine/Query/PropertyGetAccessor.cs +++ b/CodeComplianceTest_Engine/Query/PropertyGetAccessor.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static AccessorDeclarationSyntax PropertyGetAccessor(this PropertyDeclara + diff --git a/CodeComplianceTest_Engine/Query/Signature.cs b/CodeComplianceTest_Engine/Query/Signature.cs index 217aa7d2..22bdad79 100644 --- a/CodeComplianceTest_Engine/Query/Signature.cs +++ b/CodeComplianceTest_Engine/Query/Signature.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -51,3 +51,4 @@ public static string Signature(this MethodInfo mi) + diff --git a/CodeComplianceTest_Engine/Query/StringEndsWithPunctuation.cs b/CodeComplianceTest_Engine/Query/StringEndsWithPunctuation.cs index d7c2d5ce..43183ec4 100644 --- a/CodeComplianceTest_Engine/Query/StringEndsWithPunctuation.cs +++ b/CodeComplianceTest_Engine/Query/StringEndsWithPunctuation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -47,3 +47,4 @@ public static bool StringEndsWithPunctuation(this string value) + diff --git a/CodeCompliance_oM/Attributes/ComplianceTypeAttributecs.cs b/CodeCompliance_oM/Attributes/ComplianceTypeAttributecs.cs index 4058b7e0..4a99aa8d 100644 --- a/CodeCompliance_oM/Attributes/ComplianceTypeAttributecs.cs +++ b/CodeCompliance_oM/Attributes/ComplianceTypeAttributecs.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public ComplianceTypeAttribute(string complianceType) + diff --git a/CodeCompliance_oM/Attributes/ConditionAttribute.cs b/CodeCompliance_oM/Attributes/ConditionAttribute.cs index ce61e2c6..7a44c0db 100644 --- a/CodeCompliance_oM/Attributes/ConditionAttribute.cs +++ b/CodeCompliance_oM/Attributes/ConditionAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -45,3 +45,4 @@ public ConditionAttribute(bool expect = true) + diff --git a/CodeCompliance_oM/Attributes/ErrorLevelAttribute.cs b/CodeCompliance_oM/Attributes/ErrorLevelAttribute.cs index 135e5224..fffceacf 100644 --- a/CodeCompliance_oM/Attributes/ErrorLevelAttribute.cs +++ b/CodeCompliance_oM/Attributes/ErrorLevelAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public ErrorLevelAttribute(TestStatus level) + diff --git a/CodeCompliance_oM/Attributes/IsPublicAttribute.cs b/CodeCompliance_oM/Attributes/IsPublicAttribute.cs index fbe6492f..bd13e54d 100644 --- a/CodeCompliance_oM/Attributes/IsPublicAttribute.cs +++ b/CodeCompliance_oM/Attributes/IsPublicAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -44,3 +44,4 @@ public IsPublicAttribute(bool expect = true) : base(expect) + diff --git a/CodeCompliance_oM/Attributes/MessageAttribute.cs b/CodeCompliance_oM/Attributes/MessageAttribute.cs index 6c8975b3..47a4d861 100644 --- a/CodeCompliance_oM/Attributes/MessageAttribute.cs +++ b/CodeCompliance_oM/Attributes/MessageAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -48,3 +48,4 @@ public MessageAttribute(string message, string documentationLink) + diff --git a/CodeCompliance_oM/Attributes/PathAttribute.cs b/CodeCompliance_oM/Attributes/PathAttribute.cs index 394cef95..7af82f93 100644 --- a/CodeCompliance_oM/Attributes/PathAttribute.cs +++ b/CodeCompliance_oM/Attributes/PathAttribute.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public PathAttribute(string pattern, bool expect = true) : base(expect) + diff --git a/CodeCompliance_oM/CSProject/AssemblyReference.cs b/CodeCompliance_oM/CSProject/AssemblyReference.cs index c4f8e268..33a567fa 100644 --- a/CodeCompliance_oM/CSProject/AssemblyReference.cs +++ b/CodeCompliance_oM/CSProject/AssemblyReference.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -41,3 +41,4 @@ public class AssemblyReference : BHoMObject + diff --git a/CodeCompliance_oM/CSProject/ProjectFile.cs b/CodeCompliance_oM/CSProject/ProjectFile.cs index 8f809e2c..ba604c68 100644 --- a/CodeCompliance_oM/CSProject/ProjectFile.cs +++ b/CodeCompliance_oM/CSProject/ProjectFile.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public class ProjectFile : BHoMObject + diff --git a/CodeCompliance_oM/DatasetSource.cs b/CodeCompliance_oM/DatasetSource.cs index b771be4b..fc47f1d2 100644 --- a/CodeCompliance_oM/DatasetSource.cs +++ b/CodeCompliance_oM/DatasetSource.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -43,3 +43,4 @@ public class DatasetSource : BHoMObject, ITestInformation + diff --git a/CodeCompliance_oM/Error.cs b/CodeCompliance_oM/Error.cs index e78bfaf7..66635c07 100644 --- a/CodeCompliance_oM/Error.cs +++ b/CodeCompliance_oM/Error.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public class Error : BHoMObject, ITestInformation + diff --git a/CodeCompliance_oM/LineLocation.cs b/CodeCompliance_oM/LineLocation.cs index 3756680f..ae3a5e43 100644 --- a/CodeCompliance_oM/LineLocation.cs +++ b/CodeCompliance_oM/LineLocation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class LineLocation : IObject + diff --git a/CodeCompliance_oM/LineSpan.cs b/CodeCompliance_oM/LineSpan.cs index ea0dca75..2576f0ca 100644 --- a/CodeCompliance_oM/LineSpan.cs +++ b/CodeCompliance_oM/LineSpan.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class LineSpan : IObject + diff --git a/CodeCompliance_oM/Location.cs b/CodeCompliance_oM/Location.cs index f33fb3a4..10c77345 100644 --- a/CodeCompliance_oM/Location.cs +++ b/CodeCompliance_oM/Location.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class Location : IObject + diff --git a/CodeCompliance_oM/Properties/AssemblyInfo.cs b/CodeCompliance_oM/Properties/AssemblyInfo.cs index c5a3be11..4fd91c56 100644 --- a/CodeCompliance_oM/Properties/AssemblyInfo.cs +++ b/CodeCompliance_oM/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/CodeCompliance_oM/Span.cs b/CodeCompliance_oM/Span.cs index 9d39ab32..f4d62f7a 100644 --- a/CodeCompliance_oM/Span.cs +++ b/CodeCompliance_oM/Span.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class Span : IObject + diff --git a/InteroperabilityTest_Engine/Compute/Compare.cs b/InteroperabilityTest_Engine/Compute/Compare.cs index 18cc76c8..21b28674 100644 --- a/InteroperabilityTest_Engine/Compute/Compare.cs +++ b/InteroperabilityTest_Engine/Compute/Compare.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -389,3 +389,4 @@ private static oM.Test.ITestInformation GetSameIDInformation(this IEnumerable setR + diff --git a/InteroperabilityTest_Engine/Compute/PushPullCompare.cs b/InteroperabilityTest_Engine/Compute/PushPullCompare.cs index 9d7d27a3..d79b48df 100644 --- a/InteroperabilityTest_Engine/Compute/PushPullCompare.cs +++ b/InteroperabilityTest_Engine/Compute/PushPullCompare.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -368,3 +368,4 @@ private static TestResult ComparePushedAndPulledObject(IBHoMObject pushedObj, IB + diff --git a/InteroperabilityTest_Engine/Objects/EqualityComparers/AdapterIdComparer.cs b/InteroperabilityTest_Engine/Objects/EqualityComparers/AdapterIdComparer.cs index 303e17b5..5d230bb9 100644 --- a/InteroperabilityTest_Engine/Objects/EqualityComparers/AdapterIdComparer.cs +++ b/InteroperabilityTest_Engine/Objects/EqualityComparers/AdapterIdComparer.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -124,3 +124,4 @@ public int GetHashCode(IBHoMObject obj) + diff --git a/InteroperabilityTest_Engine/Properties/AssemblyInfo.cs b/InteroperabilityTest_Engine/Properties/AssemblyInfo.cs index 8260ddb6..13eb3a4d 100644 --- a/InteroperabilityTest_Engine/Properties/AssemblyInfo.cs +++ b/InteroperabilityTest_Engine/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/InteroperabilityTest_Engine/Query/Comparer.cs b/InteroperabilityTest_Engine/Query/Comparer.cs index 80e5cb93..1691210b 100644 --- a/InteroperabilityTest_Engine/Query/Comparer.cs +++ b/InteroperabilityTest_Engine/Query/Comparer.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -69,3 +69,4 @@ public static IEqualityComparer Comparer(this PushPullCompareConfig + diff --git a/InteroperabilityTest_Engine/Query/DifferenceSummary.cs b/InteroperabilityTest_Engine/Query/DifferenceSummary.cs index 4cb134a3..24c919cb 100644 --- a/InteroperabilityTest_Engine/Query/DifferenceSummary.cs +++ b/InteroperabilityTest_Engine/Query/DifferenceSummary.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -133,3 +133,4 @@ private static bool KeepResult(PushPullObjectComparison diffrences, List + diff --git a/InteroperabilityTest_Engine/Query/ExceptionProperties.cs b/InteroperabilityTest_Engine/Query/ExceptionProperties.cs index 8ce89f4d..622f989e 100644 --- a/InteroperabilityTest_Engine/Query/ExceptionProperties.cs +++ b/InteroperabilityTest_Engine/Query/ExceptionProperties.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -164,3 +164,4 @@ private static string ExceptionPropertiesGroupingKey(string propertyID, bool onl + diff --git a/InteroperabilityTest_Engine/Query/HasMatchingIDs.cs b/InteroperabilityTest_Engine/Query/HasMatchingIDs.cs index 49c2f6a6..b63b2b9e 100644 --- a/InteroperabilityTest_Engine/Query/HasMatchingIDs.cs +++ b/InteroperabilityTest_Engine/Query/HasMatchingIDs.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -96,3 +96,4 @@ private static bool HasMatchingIDs(this ITestInformation a, ITestInformation b) + diff --git a/InteroperabilityTest_Engine/Query/NewResultAfterCrashFix.cs b/InteroperabilityTest_Engine/Query/NewResultAfterCrashFix.cs index e4ecbc15..ee53f7a8 100644 --- a/InteroperabilityTest_Engine/Query/NewResultAfterCrashFix.cs +++ b/InteroperabilityTest_Engine/Query/NewResultAfterCrashFix.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -116,3 +116,4 @@ private static ITestInformation NewResultAfterCrashFix(ITestInformation result) + diff --git a/InteroperabilityTest_Engine/Query/NoReferenceFound.cs b/InteroperabilityTest_Engine/Query/NoReferenceFound.cs index b9395d7f..c6d1ee41 100644 --- a/InteroperabilityTest_Engine/Query/NoReferenceFound.cs +++ b/InteroperabilityTest_Engine/Query/NoReferenceFound.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -116,3 +116,4 @@ private static ITestInformation NoReferenceFound(ITestInformation result) + diff --git a/InteroperabilityTest_Engine/Query/NonEventMessageInformation.cs b/InteroperabilityTest_Engine/Query/NonEventMessageInformation.cs index 8ebea9bf..53f2f173 100644 --- a/InteroperabilityTest_Engine/Query/NonEventMessageInformation.cs +++ b/InteroperabilityTest_Engine/Query/NonEventMessageInformation.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -50,3 +50,4 @@ public static partial class Query + diff --git a/InteroperabilityTest_Engine/Query/OnlyReferenceFound.cs b/InteroperabilityTest_Engine/Query/OnlyReferenceFound.cs index e18c1a51..ac860eaf 100644 --- a/InteroperabilityTest_Engine/Query/OnlyReferenceFound.cs +++ b/InteroperabilityTest_Engine/Query/OnlyReferenceFound.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -110,3 +110,4 @@ private static ITestInformation OnlyReferenceFound(ITestInformation result) + diff --git a/InteroperabilityTest_Engine/Query/PropertyGroupingIDKey.cs b/InteroperabilityTest_Engine/Query/PropertyGroupingIDKey.cs index 8e1a1d92..8a3a0978 100644 --- a/InteroperabilityTest_Engine/Query/PropertyGroupingIDKey.cs +++ b/InteroperabilityTest_Engine/Query/PropertyGroupingIDKey.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -71,3 +71,4 @@ public static string PropertyGroupingIDKey(this string propertyID, bool onlyLast + diff --git a/InteroperabilityTest_Engine/Query/TestDataOfType.cs b/InteroperabilityTest_Engine/Query/TestDataOfType.cs index 51af4742..360c5437 100644 --- a/InteroperabilityTest_Engine/Query/TestDataOfType.cs +++ b/InteroperabilityTest_Engine/Query/TestDataOfType.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -92,3 +92,4 @@ public static Output, List>> TestDataOfType(Type + diff --git a/InteroperabilityTest_Engine/Query/TestSummary.cs b/InteroperabilityTest_Engine/Query/TestSummary.cs index eaba5a18..20b48652 100644 --- a/InteroperabilityTest_Engine/Query/TestSummary.cs +++ b/InteroperabilityTest_Engine/Query/TestSummary.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -121,3 +121,4 @@ private static InputOutputComparisonSummary Summarise(IEnumerable filePaths) } } + diff --git a/NUnit_Engine/Convert/ResultStatus.cs b/NUnit_Engine/Convert/ResultStatus.cs index 1924b2ae..cadb5f14 100644 --- a/NUnit_Engine/Convert/ResultStatus.cs +++ b/NUnit_Engine/Convert/ResultStatus.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static TestStatus ToTestStatus(string resultStatus) } } + diff --git a/NUnit_Engine/Convert/TestResult.cs b/NUnit_Engine/Convert/TestResult.cs index fb9c1dcd..3d990c60 100644 --- a/NUnit_Engine/Convert/TestResult.cs +++ b/NUnit_Engine/Convert/TestResult.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -93,3 +93,4 @@ public static TestResult ToTestResult(this TestCase nunitTestCase) } } + diff --git a/NUnit_Engine/Convert/TestRun.cs b/NUnit_Engine/Convert/TestRun.cs index 7221d157..4ff758bc 100644 --- a/NUnit_Engine/Convert/TestRun.cs +++ b/NUnit_Engine/Convert/TestRun.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static TestRun ToTestRun(this XmlNode nunitRun) } } + diff --git a/NUnit_Engine/NUnitTest.cs b/NUnit_Engine/NUnitTest.cs index ea633b66..0f2511e6 100644 --- a/NUnit_Engine/NUnitTest.cs +++ b/NUnit_Engine/NUnitTest.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -221,3 +221,4 @@ private static HashSet LoadReferencedAssemblies(string dllname) } + diff --git a/NUnit_Engine/NUnit_Engine.csproj b/NUnit_Engine/NUnit_Engine.csproj index 89fc36e2..d5f5aeed 100644 --- a/NUnit_Engine/NUnit_Engine.csproj +++ b/NUnit_Engine/NUnit_Engine.csproj @@ -3,7 +3,7 @@ netstandard2.0 https://github.com/BHoM/Test_Toolkit - 8.0.0.0 + 8.1.0.0 8.0.0.0 BH.Engine.Test.NUnit ..\Build diff --git a/NUnit_Engine/Query/NunitTestClasses.cs b/NUnit_Engine/Query/NunitTestClasses.cs index 8b055bb6..63c1c2e9 100644 --- a/NUnit_Engine/Query/NunitTestClasses.cs +++ b/NUnit_Engine/Query/NunitTestClasses.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public static List NUnitTestClasses(this Assembly assembly) } } + diff --git a/NUnit_Engine/Query/NunitTestMethods.cs b/NUnit_Engine/Query/NunitTestMethods.cs index fc183574..160a1b98 100644 --- a/NUnit_Engine/Query/NunitTestMethods.cs +++ b/NUnit_Engine/Query/NunitTestMethods.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -49,3 +49,4 @@ public static List NUnitTestMethods(this Type nunitClass) } } + diff --git a/NUnit_oM/Assertion.cs b/NUnit_oM/Assertion.cs index 94a96186..1dd58768 100644 --- a/NUnit_oM/Assertion.cs +++ b/NUnit_oM/Assertion.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -46,3 +46,4 @@ public class Assertion : IObject } } + diff --git a/NUnit_oM/Environment.cs b/NUnit_oM/Environment.cs index cd8ab054..b3103094 100644 --- a/NUnit_oM/Environment.cs +++ b/NUnit_oM/Environment.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -68,3 +68,4 @@ public class Environment : IObject } } + diff --git a/NUnit_oM/Failure.cs b/NUnit_oM/Failure.cs index 38d4e10c..5a903ed0 100644 --- a/NUnit_oM/Failure.cs +++ b/NUnit_oM/Failure.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -41,3 +41,4 @@ public class Failure : IObject } } + diff --git a/NUnit_oM/NUnit_oM.csproj b/NUnit_oM/NUnit_oM.csproj index 6c195840..b734e7e1 100644 --- a/NUnit_oM/NUnit_oM.csproj +++ b/NUnit_oM/NUnit_oM.csproj @@ -3,7 +3,7 @@ netstandard2.0 https://github.com/BHoM/Test_Toolkit - 8.0.0.0 + 8.1.0.0 8.0.0.0 BH.oM.Test.NUnit ..\Build diff --git a/NUnit_oM/Property.cs b/NUnit_oM/Property.cs index 2198b9e4..679f97b7 100644 --- a/NUnit_oM/Property.cs +++ b/NUnit_oM/Property.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class Property : IObject } } + diff --git a/NUnit_oM/Reason.cs b/NUnit_oM/Reason.cs index 944eb53e..73abb4ea 100644 --- a/NUnit_oM/Reason.cs +++ b/NUnit_oM/Reason.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -38,3 +38,4 @@ public class Reason : IObject } } + diff --git a/NUnit_oM/Setting.cs b/NUnit_oM/Setting.cs index 9ad69602..aa16e45c 100644 --- a/NUnit_oM/Setting.cs +++ b/NUnit_oM/Setting.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -40,3 +40,4 @@ public class Setting : IObject } } + diff --git a/NUnit_oM/TestCase.cs b/NUnit_oM/TestCase.cs index 0bb9e738..f1abf81d 100644 --- a/NUnit_oM/TestCase.cs +++ b/NUnit_oM/TestCase.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -81,3 +81,4 @@ public class TestCase : IObject } } + diff --git a/NUnit_oM/TestRun.cs b/NUnit_oM/TestRun.cs index a0dd4468..6e5f2eaa 100644 --- a/NUnit_oM/TestRun.cs +++ b/NUnit_oM/TestRun.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -98,3 +98,4 @@ public class TestRun : IObject } } + diff --git a/NUnit_oM/TestSuite.cs b/NUnit_oM/TestSuite.cs index fed32c95..d36403aa 100644 --- a/NUnit_oM/TestSuite.cs +++ b/NUnit_oM/TestSuite.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -119,3 +119,4 @@ public class TestSuite : IObject } } + diff --git a/TestRunner/Program.cs b/TestRunner/Program.cs index 280ff71a..d010669c 100644 --- a/TestRunner/Program.cs +++ b/TestRunner/Program.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -142,3 +142,4 @@ static void RegisterTestMethod(MethodInfo method) + diff --git a/TestRunner/Properties/AssemblyInfo.cs b/TestRunner/Properties/AssemblyInfo.cs index 8b49fd59..7679ea50 100644 --- a/TestRunner/Properties/AssemblyInfo.cs +++ b/TestRunner/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/Test_Engine/Compute/DummyObject.cs b/Test_Engine/Compute/DummyObject.cs index 26ae7069..1c25ff1d 100644 --- a/Test_Engine/Compute/DummyObject.cs +++ b/Test_Engine/Compute/DummyObject.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -331,6 +331,9 @@ private static object GetValue(Type type, int depth) private static object CreateImmutable(Type type, int depth) { + if(type.IsGenericType) + type = GetType(type); + ConstructorInfo ctor = type.GetConstructors().OrderByDescending(x => x.GetParameters().Count()).First(); object[] parameters = ctor.GetParameters().Select(x => GetValue(x.ParameterType, depth)).ToArray(); object obj = null; @@ -395,7 +398,11 @@ private static Type GetType(Type type) private static void LinkInterfaces(List types) { - foreach (Type type in types) + //Handle non-generic types before generic types to put less complex classes in linked interfaces if possible + //Also avoids the case of generic types being generic of an interface type that could be the same type to go into an infinite cycle + //For example Foo : IFoo. If Foo is handled first of all types implementing IFoo, then when instanciating a Foo<> It will mean + //Foo>>> creating a infinite cycle that finally is exited by the depth count reacing its limit + foreach (Type type in types.OrderBy(x => x.IsGenericType ? 1 : 0)) { try { @@ -435,3 +442,4 @@ private static void LinkInterfaces(List types) + diff --git a/Test_Engine/Compute/LoadRevitAssemblies.cs b/Test_Engine/Compute/LoadRevitAssemblies.cs index 4a821f7b..70c06c50 100644 --- a/Test_Engine/Compute/LoadRevitAssemblies.cs +++ b/Test_Engine/Compute/LoadRevitAssemblies.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -82,3 +82,4 @@ public static bool LoadRevitAssemblies(bool doLoad) /***************************************************/ } } + diff --git a/Test_Engine/Compute/TryToJsonAndFromJsonAndCheckIfEqual.cs b/Test_Engine/Compute/TryToJsonAndFromJsonAndCheckIfEqual.cs index 88670003..0b9e7787 100644 --- a/Test_Engine/Compute/TryToJsonAndFromJsonAndCheckIfEqual.cs +++ b/Test_Engine/Compute/TryToJsonAndFromJsonAndCheckIfEqual.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -141,3 +141,4 @@ public static Output, List, List, List, Lis } } } + diff --git a/Test_Engine/Convert/ToEventMessage.cs b/Test_Engine/Convert/ToEventMessage.cs index 1c31b0ad..813e7ae0 100644 --- a/Test_Engine/Convert/ToEventMessage.cs +++ b/Test_Engine/Convert/ToEventMessage.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -60,3 +60,4 @@ public static EventMessage ToEventMessage(this Event debugEvent) + diff --git a/Test_Engine/Convert/ToTestStatus.cs b/Test_Engine/Convert/ToTestStatus.cs index c25628b7..d129269a 100644 --- a/Test_Engine/Convert/ToTestStatus.cs +++ b/Test_Engine/Convert/ToTestStatus.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -61,3 +61,4 @@ public static TestStatus ToTestStatus(this EventType eventType) + diff --git a/Test_Engine/Create/ComparisonConfig/DefaultTestComparisonConfig.cs b/Test_Engine/Create/ComparisonConfig/DefaultTestComparisonConfig.cs index 2b51cf28..e920d2e0 100644 --- a/Test_Engine/Create/ComparisonConfig/DefaultTestComparisonConfig.cs +++ b/Test_Engine/Create/ComparisonConfig/DefaultTestComparisonConfig.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,3 +55,4 @@ public static ComparisonConfig DefaultTestComparisonConfig() } + diff --git a/Test_Engine/Create/FailResult.cs b/Test_Engine/Create/FailResult.cs index 16ebd74c..fe328e6b 100644 --- a/Test_Engine/Create/FailResult.cs +++ b/Test_Engine/Create/FailResult.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public static TestResult FailResult(string errorMessage, string description = "" + diff --git a/Test_Engine/Create/PassResult.cs b/Test_Engine/Create/PassResult.cs index cf393c83..86417a7e 100644 --- a/Test_Engine/Create/PassResult.cs +++ b/Test_Engine/Create/PassResult.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public static TestResult PassResult(string description = "") + diff --git a/Test_Engine/Modify/Merge.cs b/Test_Engine/Modify/Merge.cs index be6e46ba..81f5bec8 100644 --- a/Test_Engine/Modify/Merge.cs +++ b/Test_Engine/Modify/Merge.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -76,3 +76,4 @@ public static TestResult Merge(this TestResult a, TestResult b) } } } + diff --git a/Test_Engine/Properties/AssemblyInfo.cs b/Test_Engine/Properties/AssemblyInfo.cs index 74e0b30e..dad1b8ac 100644 --- a/Test_Engine/Properties/AssemblyInfo.cs +++ b/Test_Engine/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/Test_Engine/Query/FullMessage.cs b/Test_Engine/Query/FullMessage.cs index 7798db5d..287e44ec 100644 --- a/Test_Engine/Query/FullMessage.cs +++ b/Test_Engine/Query/FullMessage.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -105,3 +105,4 @@ private static string FullMessage(this ITestInformation result, int maxDepth = 3 + diff --git a/Test_Engine/Query/IsEqualOrMoreSevere.cs b/Test_Engine/Query/IsEqualOrMoreSevere.cs index ef9af009..e2929d2a 100644 --- a/Test_Engine/Query/IsEqualOrMoreSevere.cs +++ b/Test_Engine/Query/IsEqualOrMoreSevere.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -61,3 +61,4 @@ public static bool IsEqualOrMoreSevere(this TestStatus status, TestStatus status + diff --git a/Test_Engine/Query/MostSevereStatus.cs b/Test_Engine/Query/MostSevereStatus.cs index 66bbe38d..d6a1adc2 100644 --- a/Test_Engine/Query/MostSevereStatus.cs +++ b/Test_Engine/Query/MostSevereStatus.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -48,3 +48,4 @@ public static TestStatus MostSevereStatus(this IEnumerable inf + diff --git a/Test_Engine/Query/TestInformationOfType.cs b/Test_Engine/Query/TestInformationOfType.cs index 663e75a1..aa927ece 100644 --- a/Test_Engine/Query/TestInformationOfType.cs +++ b/Test_Engine/Query/TestInformationOfType.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -87,3 +87,4 @@ public static List TestInformationOfType(this TestResult testResult, bool + diff --git a/Test_Engine/Query/VersioningAdapterConstructorList.cs b/Test_Engine/Query/VersioningAdapterConstructorList.cs index 569c0644..479eeff9 100644 --- a/Test_Engine/Query/VersioningAdapterConstructorList.cs +++ b/Test_Engine/Query/VersioningAdapterConstructorList.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -73,3 +73,4 @@ public static Output, List> VersioningAda /***************************************************/ } } + diff --git a/Test_Engine/Query/VersioningMethodList.cs b/Test_Engine/Query/VersioningMethodList.cs index 7739361b..143ec263 100644 --- a/Test_Engine/Query/VersioningMethodList.cs +++ b/Test_Engine/Query/VersioningMethodList.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -66,3 +66,4 @@ public static Output, List> VersioningMethodList(bo /***************************************************/ } } + diff --git a/Test_Engine/Query/VersioningTypeList.cs b/Test_Engine/Query/VersioningTypeList.cs index 1cb285a1..39ebdb1d 100644 --- a/Test_Engine/Query/VersioningTypeList.cs +++ b/Test_Engine/Query/VersioningTypeList.cs @@ -1,6 +1,6 @@ -/* +/* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -74,3 +74,4 @@ public static Output, List> VersioningTypeList(bool includeRevi /***************************************************/ } } + diff --git a/UnitTest_Engine/Compute/CheckTest.cs b/UnitTest_Engine/Compute/CheckTest.cs index b67f4290..cece1b42 100644 --- a/UnitTest_Engine/Compute/CheckTest.cs +++ b/UnitTest_Engine/Compute/CheckTest.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -322,3 +322,4 @@ private static object CastToObjectType(object item, object target) + diff --git a/UnitTest_Engine/Compute/MergeTestDataSets.cs b/UnitTest_Engine/Compute/MergeTestDataSets.cs index e83e73ee..71449c0c 100644 --- a/UnitTest_Engine/Compute/MergeTestDataSets.cs +++ b/UnitTest_Engine/Compute/MergeTestDataSets.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -151,3 +151,4 @@ private static string MergeStringProperty(string source1, string source2, string } + diff --git a/UnitTest_Engine/Compute/MergeUnitTests.cs b/UnitTest_Engine/Compute/MergeUnitTests.cs index 0a6838df..8df430fc 100644 --- a/UnitTest_Engine/Compute/MergeUnitTests.cs +++ b/UnitTest_Engine/Compute/MergeUnitTests.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -77,3 +77,4 @@ public static partial class Compute + diff --git a/UnitTest_Engine/Compute/Regenerate.cs b/UnitTest_Engine/Compute/Regenerate.cs index 6ac8902f..03fc4718 100644 --- a/UnitTest_Engine/Compute/Regenerate.cs +++ b/UnitTest_Engine/Compute/Regenerate.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -80,3 +80,4 @@ public static partial class Compute + diff --git a/UnitTest_Engine/Compute/Run.cs b/UnitTest_Engine/Compute/Run.cs index 1ed85c64..ab6b0b8b 100644 --- a/UnitTest_Engine/Compute/Run.cs +++ b/UnitTest_Engine/Compute/Run.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -200,3 +200,4 @@ private static List CastList(List list, T first) + diff --git a/UnitTest_Engine/Compute/StoreUnitTest.cs b/UnitTest_Engine/Compute/StoreUnitTest.cs index 8224a420..db950beb 100644 --- a/UnitTest_Engine/Compute/StoreUnitTest.cs +++ b/UnitTest_Engine/Compute/StoreUnitTest.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -267,3 +267,4 @@ private static bool CheckValidRepoFolderString(this string repoFolder, bool chec + diff --git a/UnitTest_Engine/Create/Dataset/UnitTestDataSet.cs b/UnitTest_Engine/Create/Dataset/UnitTestDataSet.cs index c131696c..d6cf44c7 100644 --- a/UnitTest_Engine/Create/Dataset/UnitTestDataSet.cs +++ b/UnitTest_Engine/Create/Dataset/UnitTestDataSet.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -98,3 +98,4 @@ private static string NonInterfaceName(this MethodBase method) + diff --git a/UnitTest_Engine/Create/TestData.cs b/UnitTest_Engine/Create/TestData.cs index bc2a6427..d2293a1f 100644 --- a/UnitTest_Engine/Create/TestData.cs +++ b/UnitTest_Engine/Create/TestData.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -52,3 +52,4 @@ public static TestData TestData(IEnumerable inputs, IEnumerable + diff --git a/UnitTest_Engine/Modify/ClearOutputData.cs b/UnitTest_Engine/Modify/ClearOutputData.cs index b979d644..8a0f4696 100644 --- a/UnitTest_Engine/Modify/ClearOutputData.cs +++ b/UnitTest_Engine/Modify/ClearOutputData.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -72,3 +72,4 @@ public static UT.UnitTest ClearOutputData(this UT.UnitTest test) + diff --git a/UnitTest_Engine/Modify/RemoveDuplicateTestData.cs b/UnitTest_Engine/Modify/RemoveDuplicateTestData.cs index e18acdf6..93aa4a2c 100644 --- a/UnitTest_Engine/Modify/RemoveDuplicateTestData.cs +++ b/UnitTest_Engine/Modify/RemoveDuplicateTestData.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -84,3 +84,4 @@ public static void RemoveDuplicateTestData(this UT.UnitTest test) } + diff --git a/UnitTest_Engine/Properties/AssemblyInfo.cs b/UnitTest_Engine/Properties/AssemblyInfo.cs index 9addf41e..544e28c8 100644 --- a/UnitTest_Engine/Properties/AssemblyInfo.cs +++ b/UnitTest_Engine/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/UnitTest_Engine/Query/DatasetFromFile.cs b/UnitTest_Engine/Query/DatasetFromFile.cs index f3e7d0bb..083a1984 100644 --- a/UnitTest_Engine/Query/DatasetFromFile.cs +++ b/UnitTest_Engine/Query/DatasetFromFile.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -74,3 +74,4 @@ public static Dataset DatasetFromFile(string fileName) } + diff --git a/UnitTest_Engine/Query/FilterByCheckStatus.cs b/UnitTest_Engine/Query/FilterByCheckStatus.cs index 8519617e..8fb70114 100644 --- a/UnitTest_Engine/Query/FilterByCheckStatus.cs +++ b/UnitTest_Engine/Query/FilterByCheckStatus.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -179,3 +179,4 @@ public static partial class Query } + diff --git a/UnitTest_Engine/Query/FullMessage.cs b/UnitTest_Engine/Query/FullMessage.cs index 5f3efbf1..8c9d5666 100644 --- a/UnitTest_Engine/Query/FullMessage.cs +++ b/UnitTest_Engine/Query/FullMessage.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -67,3 +67,4 @@ public static string FullMessage(ComparisonDifference difference, int maxDepth = + diff --git a/UnitTest_oM/Properties/AssemblyInfo.cs b/UnitTest_oM/Properties/AssemblyInfo.cs index c9e7a0b4..61598c1f 100644 --- a/UnitTest_oM/Properties/AssemblyInfo.cs +++ b/UnitTest_oM/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -55,7 +55,8 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.1.0.0")] + diff --git a/UnitTest_oM/Results/ComparisonDifference.cs b/UnitTest_oM/Results/ComparisonDifference.cs index cbc04f72..efd166fa 100644 --- a/UnitTest_oM/Results/ComparisonDifference.cs +++ b/UnitTest_oM/Results/ComparisonDifference.cs @@ -1,6 +1,6 @@ /* * This file is part of the Buildings and Habitats object Model (BHoM) - * Copyright (c) 2015 - 2024, the respective contributors. All rights reserved. + * Copyright (c) 2015 - 2025, the respective contributors. All rights reserved. * * Each contributor holds copyright over their respective contributions. * The project versioning (Git) records all such contribution source information. @@ -54,3 +54,4 @@ public class ComparisonDifference : ITestInformation +