Adds LicensingService
#40
Draft
GitHub Actions / Test Results
succeeded
Nov 7, 2024 in 1s
58 passed, 0 failed and 2 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
extensions/Bitwarden.Core/tests/TestResults/test-results.trx | 3โ | 9s | ||
extensions/Bitwarden.Extensions.Configuration/tests/TestResults/test-results.trx | 2โช | 9s | ||
extensions/Bitwarden.Extensions.Hosting/tests/TestResults/test-results.trx | 55โ | 16s |
โ ย extensions/Bitwarden.Core/tests/TestResults/test-results.trx
3 tests were completed in 9s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Bitwarden.Core.Tests.AccessTokenTests | 1โ | 24ms | ||
Bitwarden.Extensions.Configuration.Tests.AccessTokenTests | 1โ | 11ms | ||
Bitwarden.Extensions.Configuration.Tests.EncryptedStringTests | 1โ | 21ms |
โ ย Bitwarden.Core.Tests.AccessTokenTests
โ
Test
โ ย Bitwarden.Extensions.Configuration.Tests.AccessTokenTests
โ
StretchKey_Works
โ ย Bitwarden.Extensions.Configuration.Tests.EncryptedStringTests
โ
Decrypt_Works
โ ย extensions/Bitwarden.Extensions.Configuration/tests/TestResults/test-results.trx
2 tests were completed in 9s with 0 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Bitwarden.Extensions.Configuration.Tests.SecretsManagerConfigurationProviderTests | 2โช | 2ms |
โ ย Bitwarden.Extensions.Configuration.Tests.SecretsManagerConfigurationProviderTests
โช Load_Reload_Works
โช Load_Simple_Works
โ ย extensions/Bitwarden.Extensions.Hosting/tests/TestResults/test-results.trx
55 tests were completed in 16s with 55 passed, 0 failed and 0 skipped.
โ ย Bitwarden.Extensions.Hosting.Tests.Features.FeatureApplicationBuilderExtensionsTests
โ
UseFeatureFlagChecks_RegistersMiddleware
โ ย Bitwarden.Extensions.Hosting.Tests.Features.FeatureCheckMiddlewareTests
โ
FailedCheck_ReturnsProblemDetails
โ
HasMetadata_AllMustBeTrue(metadata: [], expectedStatusCode: 200)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = configured-false, Flag = configured-false], expectedStatusCode: 404)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = configured-false], expectedStatusCode: 404)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true, Flag = configured-false], expectedStatusCode: 404)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true, Flag = configured-true], expectedStatusCode: 200)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true], expectedStatusCode: 200)
โ
HasMetadata_AllMustBeTrue(metadata: [Flag = not-configured], expectedStatusCode: 404)
โ
NoCheck_CallsEndpoint
โ
NoEndpointInvokesPipeline
โ
SuccessfulCheck_CallsEndpoint
โ ย Bitwarden.Extensions.Hosting.Tests.Features.FeatureEndpointConventionBuilderExtensionsTests
โ
RequireFeature_ChainedCall
โ
RequireFeature_WithCallback
โ
RequireFeature_WithFeatureKey
โ ย Bitwarden.Extensions.Hosting.Tests.Features.FeatureServiceCollectionExtensionsTests
โ
AddFeatureFlagValues_MultipleTimes_AddMoreAndOverwritesExisting
โ
AddFeatureFlagValues_Works
โ
AddKnownFeatureFlags_MultipleTimes_AddsAll
โ
AddKnownFeatureFlags_Works
โ ย Bitwarden.Extensions.Hosting.Tests.Features.LaunchDarklyFeatureServiceTests
โ
GetAll
โ
GetAll_OnlyReturnsKnownFlags
โ
GetIntVariation_PassesAlongDetails(defaultValue: -1)
โ
GetIntVariation_PassesAlongDetails(defaultValue: 0)
โ
GetIntVariation_PassesAlongDetails(defaultValue: 2147483647)
โ
GetStringVariation_PassesAlongDetails(defaultValue: "")
โ
GetStringVariation_PassesAlongDetails(defaultValue: "test")
โ
GetStringVariation_PassesAlongDetails(defaultValue: null)
โ
IsEnabled_MultipleCalls_BuildsContextOnce
โ
IsEnabled_PassesAlongDetails(defaultValue: False)
โ
IsEnabled_PassesAlongDetails(defaultValue: True)
โ ย Bitwarden.Extensions.Hosting.Tests.Licensing.DefaultLicensingServiceTests
โ
CreateLicense_WithSelfHost_Fails
โ
RoundTrip_Expired_Fails
โ
RoundTrip_Works
โ
SignedWithAlternateKey_Fails
โ
SignedWithMainKey_VerifyingWithAlternateKey_Fails
โ
VerifyLicenseAsync_DifferentCloudHost_Fails
โ
VerifyLicenseAsync_DifferentProduct_Fails
โ ย Bitwarden.Extensions.Hosting.Tests.Licensing.PostConfigureLicensingOptionsTests
โ
PostConfigure_InBlob_CustomOptions_RetrievesCertFromBlob
โ
PostConfigure_InBlob_RetrievesCertFromBlob
โ
PostConfigure_NoBlobConfigured_InStore_Development_LoadsStoreCert
โ
PostConfigure_NoBlobConfigured_InStore_Production_LoadsStoreCert
โ
PostConfigure_NoBlobConfigured_NotInStore_LoadsDevCert
โ
PostConfigure_NoBlobConfigured_NotInStore_LoadsProductionCert
โ ย Bitwarden.Extensions.Hosting.Tests.SelfHostedAttributeTests
โ
NotSelfHosted_Success_When_NotSelfHosted
โ
NotSelfHosted_Throws_When_SelfHosted
โ
SelfHosted_Success_When_SelfHosted
โ
SelfHosted_Throws_When_NotSelfHosted
โ ย Bitwarden.Extensions.Hosting.Tests.Utilities.VersionInfoTests
โ
TryParse_Fails(input: "")
โ
TryParse_Fails(input: "1.0.0+")
โ
TryParse_Fails(input: "1.0.0+af18")
โ
TryParse_Fails(input: "1.0.0+XXXXXXX")
โ
TryParse_Fails(input: null)
โ
TryParse_Works(input: "1.0.0", version: "1.0.0", gitHash: null)
โ
TryParse_Works(input: "1.0.0+af18b", version: "1.0.0", gitHash: "af18b")
โ
TryParse_Works(input: "1.0.0+af18b2952b5ddf910bd2f729a7c89a04b8d67084", version: "1.0.0", gitHash: "af18b2952b5ddf910bd2f729a7c89a04b8d67084")
Loading