logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class InMemoryStructuredStoreContractTests

    Runs the shared StructuredStoreContractTests suite against the InMemoryStructuredStore test fake.

    Inheritance
    object
    StructuredStoreContractTests
    InMemoryStructuredStoreContractTests
    Inherited Members
    StructuredStoreContractTests.Table
    StructuredStoreContractTests.PartitionField
    StructuredStoreContractTests.PlayerField
    StructuredStoreContractTests.ScoreField
    StructuredStoreContractTests.TicksField
    StructuredStoreContractTests.NoCancellation
    StructuredStoreContractTests.SetUpStoreAsync()
    StructuredStoreContractTests.Record(string, double, long)
    StructuredStoreContractTests.RecordWithNullScore(string, long)
    StructuredStoreContractTests.GroupScope()
    StructuredStoreContractTests.KeyFields()
    StructuredStoreContractTests.DistinctByPlayer()
    StructuredStoreContractTests.Ordering(StructuredSortDirection)
    StructuredStoreContractTests.InsertAsync_MultipleRecords_QueryOrdersByDescendingScore()
    StructuredStoreContractTests.QueryAsync_TiedScores_BreakTiesByTicksThenPlayerOrdinal()
    StructuredStoreContractTests.UpsertIfBetterAsync_Descending_BetterValueReplacesExisting()
    StructuredStoreContractTests.UpsertIfBetterAsync_Descending_WorseValueDoesNotReplaceExisting()
    StructuredStoreContractTests.UpsertIfBetterAsync_EqualValue_DoesNotReplaceExisting()
    StructuredStoreContractTests.UpsertIfBetterAsync_Ascending_LowerValueReplacesExisting()
    StructuredStoreContractTests.UpsertIfBetterAsync_NoExistingRecord_Inserts()
    StructuredStoreContractTests.QueryAsync_DistinctBy_CollapsesToFirstRecordPerGroupUnderOrdering()
    StructuredStoreContractTests.QueryAsync_OffsetAndLimit_Paginate()
    StructuredStoreContractTests.QueryAsync_NoFilterMatch_ReturnsEmpty()
    StructuredStoreContractTests.CountAsync_DistinctBy_CollapsesToDistinctGroups()
    StructuredStoreContractTests.CountAsync_WithComparisonFilter_CountsOnlyStrictlyBetterRecords()
    StructuredStoreContractTests.DeleteByQueryAsync_RemovesOnlyMatchingRecords()
    StructuredStoreContractTests.TrimBeyondAsync_KeepsOnlyTheBestWithinScope()
    StructuredStoreContractTests.InsertAsync_FoldedTrim_BoundsStoredCountImmediately()
    StructuredStoreContractTests.QueryAsync_EqualNullFilter_MatchesOnlyNullValuedRecords()
    StructuredStoreContractTests.QueryAsync_GreaterThanNullFilter_MatchesOnlyNonNullRecords()
    StructuredStoreContractTests.QueryAsync_LessThanNullFilter_MatchesNothing()
    StructuredStoreContractTests.QueryAsync_LessThanConcreteValueFilter_IncludesNullValuedRecords()
    StructuredStoreContractTests.UpsertIfBetterAsync_ExistingNullComparisonValue_AscendingCandidateLoses()
    StructuredStoreContractTests.UpsertIfBetterAsync_ExistingNullComparisonValue_DescendingCandidateWins()
    StructuredStoreContractTests.QueryWindowAroundAsync_TargetInMiddle_ReturnsCenteredWindow()
    StructuredStoreContractTests.QueryWindowAroundAsync_TargetNearTop_ClampsWindowStart()
    StructuredStoreContractTests.QueryWindowAroundAsync_TargetAbsent_ReturnsEmpty()
    StructuredStoreContractTests.QueryWindowAroundAsync_RadiusLargerThanScope_ReturnsFullScope()
    StructuredStoreContractTests.HealthCheckAsync_ReturnsTrue()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.StructuredPersistence.Tests.Infrastructure.Contract
    Assembly: Tests.dll
    Syntax
    public class InMemoryStructuredStoreContractTests : StructuredStoreContractTests

    Constructors

    InMemoryStructuredStoreContractTests()

    Declaration
    public InMemoryStructuredStoreContractTests()

    Methods

    CreateStoreAsync()

    Creates a fresh, empty IStructuredStore instance.

    Declaration
    protected override Task<IStructuredStore> CreateStoreAsync()
    Returns
    Type Description
    Task<IStructuredStore>
    Overrides
    StructuredStoreContractTests.CreateStoreAsync()
    In this article
    © 2026 Serenity. All Rights Reserved