diff --git a/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Entities/Enums/SPDXRelationshipType.cs b/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Entities/Enums/SPDXRelationshipType.cs index 7ce6f00a..2bebdef8 100644 --- a/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Entities/Enums/SPDXRelationshipType.cs +++ b/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Entities/Enums/SPDXRelationshipType.cs @@ -9,7 +9,7 @@ namespace Microsoft.Sbom.Parsers.Spdx22SbomParser.Entities.Enums; /// Defines the type of between the source and the /// target element. /// -/// Full definition here: https://spdx.github.io/spdx-spec/v2.2.2/relationships-between-SPDX-elements/. +/// Full definition here: https://spdx.github.io/spdx-spec/v2.2.2/relationships-between-SPDX-elements/#111-relationship-field. /// [JsonConverter(typeof(JsonStringEnumConverter))] public enum SPDXRelationshipType diff --git a/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Utils/InternalMetadataProviderIdentityExtensions.cs b/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Utils/InternalMetadataProviderIdentityExtensions.cs index e0f1bd12..d0e999b9 100644 --- a/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Utils/InternalMetadataProviderIdentityExtensions.cs +++ b/src/Microsoft.Sbom.Parsers.Spdx22SbomParser/Utils/InternalMetadataProviderIdentityExtensions.cs @@ -54,7 +54,7 @@ public static string GetPackageName(this IInternalMetadataProvider internalMetad /// /// Generates the package verification code for a given package using the SPDX 2.2 specification. /// - /// Algorithm defined here https://spdx.github.io/spdx-spec/v2.2.2/package-information/. + /// Algorithm defined here https://spdx.github.io/spdx-spec/v2.2.2/package-information/#79-package-verification-code-field. /// /// /// diff --git a/test/Microsoft.Sbom.Api.Tests/ApiConfigurationBuilderTests.cs b/test/Microsoft.Sbom.Api.Tests/ApiConfigurationBuilderTests.cs index 558fe14c..1744a2f1 100644 --- a/test/Microsoft.Sbom.Api.Tests/ApiConfigurationBuilderTests.cs +++ b/test/Microsoft.Sbom.Api.Tests/ApiConfigurationBuilderTests.cs @@ -175,21 +175,21 @@ public void GetConfiguration_DefaultRuntime() [DataRow(" ")] [DataRow(null)] [ExpectedException(typeof(ArgumentException))] - public void ThrowArguementExceptionOnRootPathValues(string input) + public void ThrowArgumentExceptionOnRootPathValues(string input) { ApiConfigurationBuilder.GetConfiguration(input, null, null, null, null); } [TestMethod] [ExpectedException(typeof(ArgumentNullException))] - public void ThrowArguementNulExceptionOnNullMetadata() + public void ThrowArgumentNulExceptionOnNullMetadata() { ApiConfigurationBuilder.GetConfiguration("random", null, null, null, null); } [TestMethod] [ExpectedException(typeof(ArgumentException))] - public void ThrowArguementExceptionOnSpecificationZero() + public void ThrowArgumentExceptionOnSpecificationZero() { ApiConfigurationBuilder.GetConfiguration("random", null, null, null, metadata, new List(), runtime); }