Skip to main content

@fluidframework/test-runtime-utils Package

Interfaces

InterfaceAlertsDescription
IInternalMockRuntimeMessageLegacy
IMockContainerRuntimeOptionsLegacyOptions for the container runtime mock.
IMockContainerRuntimePendingMessageLegacy

Classes

ClassAlertsDescription
MockAudienceLegacy
MockContainerRuntimeLegacyMock implementation of IContainerRuntime for testing basic submitting and processing of messages. If test specific logic is required, extend this class and add the logic there. For an example, take a look at MockContainerRuntimeForReconnection.
MockContainerRuntimeFactoryLegacyFactory to create MockContainerRuntime for testing basic submitting and processing of messages. This also acts as a very basic server that stores the messages from all the MockContainerRuntimes and processes them when asked. If test specific logic is required, extend this class and add the logic there. For an example, take a look at MockContainerRuntimeFactoryForReconnection.
MockContainerRuntimeFactoryForReconnectionLegacySpecialized implementation of MockContainerRuntimeFactory for testing ops during reconnection.
MockContainerRuntimeForReconnectionLegacySpecialized implementation of MockContainerRuntime for testing ops during reconnection.
MockDeltaConnectionLegacyMock implementation of IDeltaConnection for testing
MockDeltaManagerLegacyMock implementation of IDeltaManager for testing that creates mock DeltaQueues for testing
MockDeltaQueueLegacyMock implementation of IDeltaQueue for testing that does nothing
MockFluidDataStoreContextLegacy
MockFluidDataStoreRuntimeLegacyMock implementation of IRuntime for testing that does nothing
MockHandleLegacyMock implementation of IFluidHandle.
MockObjectStorageServiceLegacyMock implementation of IChannelStorageService
MockQuorumClientsLegacy
MockSharedObjectServicesLegacyMock implementation of IChannelServices
MockStorageLegacyMock implementation of IChannelStorageService based on ITree input.