Skip to main content

@fluidframework/test-runtime-utils Package

Interfaces

Interface Alerts Description
IInternalMockRuntimeMessage Legacy
IMockContainerRuntimeOptions Legacy Options for the container runtime mock.
IMockContainerRuntimePendingMessage Legacy

Classes

Class Alerts Description
MockAudience Legacy
MockContainerRuntime Legacy Mock 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.
MockContainerRuntimeFactory Legacy Factory 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.
MockContainerRuntimeFactoryForReconnection Legacy Specialized implementation of MockContainerRuntimeFactory for testing ops during reconnection.
MockContainerRuntimeForReconnection Legacy Specialized implementation of MockContainerRuntime for testing ops during reconnection.
MockDeltaConnection Legacy Mock implementation of IDeltaConnection for testing
MockDeltaManager Legacy Mock implementation of IDeltaManager for testing that creates mock DeltaQueues for testing
MockDeltaQueue Legacy Mock implementation of IDeltaQueue for testing that does nothing
MockFluidDataStoreContext Legacy
MockFluidDataStoreRuntime Legacy Mock implementation of IRuntime for testing that does nothing
MockHandle Legacy Mock implementation of IFluidHandle.
MockObjectStorageService Legacy Mock implementation of IChannelStorageService
MockQuorumClients Legacy
MockSharedObjectServices Legacy Mock implementation of IChannelServices
MockStorage Legacy Mock implementation of IChannelStorageService based on ITree input.