Skip to content

Fix gRPC test assertions #300

Fix gRPC test assertions

Fix gRPC test assertions #300

GitHub Actions / Cloud Framework Test Results succeeded Jan 15, 2025 in 0s

120 passed, 0 failed and 11 skipped

Tests passed successfully

✅ Redpoint.CloudFramework.Tests.test-result.trx

131 tests were completed in 10s with 120 passed, 0 failed and 11 skipped.

Test suite Passed Failed Skipped Time
Redpoint.CloudFramework.Tests.BatchingTests 2✅ 1s
Redpoint.CloudFramework.Tests.ClassificationTests 6✅ 86ms
Redpoint.CloudFramework.Tests.DataProtectorTests 1✅ 10ms
Redpoint.CloudFramework.Tests.DatastoreRepositoryLayerTests 80✅ 3s
Redpoint.CloudFramework.Tests.GlobalRepositoryTests 1✅ 89ms
Redpoint.CloudFramework.Tests.RedisLayerRepositoryLayerTests 23✅ 851ms
Redpoint.CloudFramework.Tests.SecretManagerTests 11⚪ 11ms
Redpoint.CloudFramework.Tests.SelectFastTests 1✅ 142ms
Redpoint.CloudFramework.Tests.ShardedCounterTests 1✅ 3s
Redpoint.CloudFramework.Tests.StringEnumRepositoryLayerTests 5✅ 82ms

✅ Redpoint.CloudFramework.Tests.BatchingTests

✅ BatchJoinByKeyLookupAssociatesCorrectly
✅ BatchQueryJoinOverDatastore

✅ Redpoint.CloudFramework.Tests.ClassificationTests

✅ CancellationTokenBehavesAsExpected
✅ ClassifierOnlyPullsAlmostNeededValues
✅ ClassifierReturnsOtherValuesWithSlowProcessor
✅ ConnectClassifer
✅ CreateClassifer
✅ IterateClassifier

✅ Redpoint.CloudFramework.Tests.DataProtectorTests

✅ TestDecryption

✅ Redpoint.CloudFramework.Tests.DatastoreRepositoryLayerTests

✅ TestCreate
✅ TestCreateAndLoadWithEmbeddedEntity
✅ TestCreateAndQueryWithEmbeddedEntity
✅ TestCreateFailsWithDuplicate
✅ TestCreateFiresEntityModificationEvent
✅ TestCreateMultiple
✅ TestCreateNullThrowsException
✅ TestCreateThenDelete
✅ TestCreateThenQuery
✅ TestDefaultedModelHasCorrectDefaultsWhenConstructed
✅ TestDefaultedModelHasDefaultsWhenLoaded
✅ TestDefaultedModelHasDefaultsWhenSaved
✅ TestDefaultedModelWithoutDefaultsOnValueTypesThrows
✅ TestDeleteNullThrowsException
✅ TestDeleteSameKeyDoesNotThrow
✅ TestGeographicQueriesDense
✅ TestGeographicQueriesOrderFurthest
✅ TestGeographicQueriesOrderNearest
✅ TestGeographicQueriesSparse
✅ TestIncorrectEventAssignmentFiresException
✅ TestInvalidQueriesAreCaught
✅ TestLoadAcrossNamespaces
✅ TestLoadMultiple
✅ TestLoadMultipleDuplicate
✅ TestLoadMultipleMissing
✅ TestLoadNullThrowsException
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "a", nsOnOp: "b")
✅ TestNullNamespaceThrowsException
✅ TestPaginatedQueryWith4Entities
✅ TestPaginatedQueryWith5Entities
✅ TestQueryEverything
✅ TestQueryGreaterThan(threshold: 10, count: 1)
✅ TestQueryGreaterThan(threshold: 11, count: 0)
✅ TestQueryGreaterThan(threshold: 12, count: 0)
✅ TestQueryGreaterThan(threshold: 9, count: 2)
✅ TestQueryGreaterThanOrEqualTo(threshold: 10, count: 2)
✅ TestQueryGreaterThanOrEqualTo(threshold: 11, count: 1)
✅ TestQueryGreaterThanOrEqualTo(threshold: 12, count: 0)
✅ TestQueryGreaterThanOrEqualTo(threshold: 9, count: 2)
✅ TestQueryHasAncestor
✅ TestQueryLessThan(threshold: 10, count: 0)
✅ TestQueryLessThan(threshold: 11, count: 1)
✅ TestQueryLessThan(threshold: 12, count: 2)
✅ TestQueryLessThan(threshold: 9, count: 0)
✅ TestQueryLessThanOrEqualTo(threshold: 10, count: 1)
✅ TestQueryLessThanOrEqualTo(threshold: 11, count: 2)
✅ TestQueryLessThanOrEqualTo(threshold: 12, count: 2)
✅ TestQueryLessThanOrEqualTo(threshold: 9, count: 0)
✅ TestQueryNull
✅ TestQueryOrdering
✅ TestTransactionalDelete
✅ TestTransactionalLoadMultiple
✅ TestTransactionalQuery
✅ TestTransactionalUpdate(value: 10, expectedValue: "a")
✅ TestTransactionalUpdate(value: 20, expectedValue: "b")
✅ TestTransactionalUpsert(value: 10, expectedValue: "a")
✅ TestTransactionalUpsert(value: 20, expectedValue: "b")
✅ TestTransactionCreate
✅ TestTransactionCreateWithRollback
✅ TestTransactionUpsert
✅ TestUpdate
✅ TestUpdateDoesNotUpdateCreationTime
✅ TestUpdateNullThrowsException
✅ TestUpdateThrowsIfEntityDoesNotExist
✅ TestUpsert
✅ TestUpsertDoesNotUpdateCreationTime
✅ TestUpsertDuplicate
✅ TestUpsertDuplicateThenQuery
✅ TestUpsertNullThrowsException

✅ Redpoint.CloudFramework.Tests.GlobalRepositoryTests

✅ TestLegacyHasAncestorQueryDoesNotCrash

✅ Redpoint.CloudFramework.Tests.RedisLayerRepositoryLayerTests

✅ TestCreateAndLoadWithEmbeddedEntity
✅ TestCreateAndQueryWithEmbeddedEntity
✅ TestCreateInvalidatesQuery
✅ TestCreateThenQuery
✅ TestCreateThenQueryThenUpdateThenQuery
✅ TestDeletedEntityIsNotInCache
✅ TestDeletedEntityIsNotInCachedQueryEverything
✅ TestLoadedEntityIsInCache
✅ TestLoadedEntityMatchesCreatedEntity
✅ TestMultipleEntityLoadWorks
✅ TestMultipleEntityLoadWorksWithoutCacheClear
✅ TestNonTransactionalUpdateFromNull
✅ TestQueryEverything
✅ TestQueryOrdering
✅ TestReaderCountIsSetWhileReading
✅ TestTransactionalUpdateDoesNotInvalidateCacheUntilCommit
✅ TestTransactionalUpdateFromNull
✅ TestTransactionalUpdateInvalidatesQuery
✅ TestUpdatedEntityIsNotInCache
✅ TestUpdateDoesNotInvalidateIrrelevantQuery
✅ TestUpdateInvalidatesRelevantQuery
✅ TestUpdateWithNoOriginalDataDoesNotCrash
✅ TestUpsertedEntityIsNotInCache

✅ Redpoint.CloudFramework.Tests.SecretManagerTests

⚪ AutoRefreshingSecret
⚪ ConfigurationSourceBehaviour
⚪ ResolveNonIsolatedManager
⚪ SecretManagerConfigurationProvider
⚪ SecretManagerSubscriptionCleanupHostedService
⚪ Subscribe
⚪ TryAccessSecretVersion
⚪ TryAccessSecretVersionAsync
⚪ TryGetLatestSecretVersion
⚪ TryGetLatestSecretVersionAsync
⚪ TryGetSecret

✅ Redpoint.CloudFramework.Tests.SelectFastTests

✅ SelectFast

✅ Redpoint.CloudFramework.Tests.ShardedCounterTests

✅ TestShardedCounterBehavesCorrectlyUnderHighConcurrency

✅ Redpoint.CloudFramework.Tests.StringEnumRepositoryLayerTests

✅ TestCreate
✅ TestCreateAndLoad
✅ TestLoadIntoCache
✅ TestQueryOnEnumValue
✅ TestRoundtripCache