@fluidframework/test-runtime-utils 2.70.0-361788 → 2.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -458,7 +458,6 @@ export const shortCodeMap = {
458
458
  "0x2e4": "there should be service config for active connection",
459
459
  "0x2e8": "There should be a store context for the op",
460
460
  "0x2e9": "Must call getLocalState() after applying initial states",
461
- "0x2ea": "Configuration state should be enabled",
462
461
  "0x2eb": "Summary not supported with configuration disabled",
463
462
  "0x2ec": "Blob must be present in blobsContents",
464
463
  "0x2ed": "There should be a channel context for the op",
@@ -1697,7 +1696,6 @@ export const shortCodeMap = {
1697
1696
  "0xb9e": "entryPoint must be of type IStaticEntryPoint",
1698
1697
  "0xb9f": "entryPoint must be of type RootDataObject",
1699
1698
  "0xba0": "No recipient found for local signal",
1700
- "0xba1": "Extension entry is not of the expected type",
1701
1699
  "0xba2": "Reentrancy not allowed in BatchRunCounter",
1702
1700
  "0xba3": "Mismatch in staged state tracking",
1703
1701
  "0xba4": "local operation must have a pending array",
@@ -1793,7 +1791,6 @@ export const shortCodeMap = {
1793
1791
  "0xc15": "Expected ObjectNodeStoredSchema",
1794
1792
  "0xc16": "missing schema for array node",
1795
1793
  "0xc17": "Expected MapNodeStoredSchema",
1796
- "0xc18": "Expected ObjectNodeStoredSchema",
1797
1794
  "0xc19": "Expected FieldSchemaAlpha",
1798
1795
  "0xc1a": "Expected MapNodeStoredSchema",
1799
1796
  "0xc1b": "Expected at least two types",
@@ -1805,12 +1802,7 @@ export const shortCodeMap = {
1805
1802
  "0xc23": "Tracked summary properties must be available when tracking a summary",
1806
1803
  "0xc24": "Already tracking a summary",
1807
1804
  "0xc25": "Tracked summary properties must not be available when ready to track",
1808
- "0xc26": "Incremental chunk contents not found",
1809
1805
  "0xc27": "incremental decoder not available for incremental field decoding",
1810
- "0xc28": "Incremental chunk data missing",
1811
- "0xc29": "should return to fields mode when finished encoding",
1812
- "0xc2a": "incremental encoding must be enabled to use IncrementalFieldShape",
1813
- "0xc2b": "incremental encoding must be enabled",
1814
1806
  "0xc2c": "The data store should be locally visible when generating attach summary",
1815
1807
  "0xc2d": "logger would be in sessionIdOrLogger in this codepath",
1816
1808
  "0xc2e": "DecomposedContainerForContainerRuntime is not a ContainerRuntime",
@@ -1889,7 +1881,6 @@ export const shortCodeMap = {
1889
1881
  "0xc7a": "No pending change stored for this revision",
1890
1882
  "0xc7b": "missing anchor",
1891
1883
  "0xc7c": "Unknown modular change format",
1892
- "0xc7d": "invalid AnnotatedAllowedTypes",
1893
1884
  "0xc7e": "Pending blob already in redirect table",
1894
1885
  "0xc7f": "Expected blob to be attached",
1895
1886
  "0xc80": "Expect uploadAndAttach to be called with either localOnly or uploaded state",
@@ -1897,5 +1888,28 @@ export const shortCodeMap = {
1897
1888
  "0xc82": "Attempting to attach from unexpected state",
1898
1889
  "0xc83": "Pending blob must be in local cache",
1899
1890
  "0xc84": "Pending blob must not be in attached state",
1900
- "0xc85": "bind must be an ISharedObjectHandle"
1891
+ "0xc85": "bind must be an ISharedObjectHandle",
1892
+ "0xc86": "Encoded incremental chunk not found",
1893
+ "0xc87": "Non object nodes with fields should only have one allowedTypes entry",
1894
+ "0xc88": "incremental encoder must be defined to use incrementalFieldEncoder",
1895
+ "0xc89": "catching up without clientId",
1896
+ "0xc8a": "catching up without clientId",
1897
+ "0xc8b": "connected without clientId",
1898
+ "0xc8c": "connected with different clientId than pending",
1899
+ "0xc8d": "connection state mismatch between getConnectionState and setConnectionStatus notification",
1900
+ "0xc8e": "localOpMetadata should be a number",
1901
+ "0xc8f": "local op mismatch",
1902
+ "0xc90": "localOpMetadata should be a number",
1903
+ "0xc91": "op to rollback mismatch with pending op",
1904
+ "0xc92": "invalid increment op format",
1905
+ "0xc93": "localOpMetadata should be a function",
1906
+ "0xc94": "expected exactly one field in batch",
1907
+ "0xc95": "missing proxy",
1908
+ "0xc96": "Expected ObjectNodeStoredSchema",
1909
+ "0xc97": "Presence compatibility generation mismatch.",
1910
+ "0xc98": "Registered version is not major version 2.",
1911
+ "0xc99": "Registered version is not less than the current version.",
1912
+ "0xc9a": "Presence capabilities should be empty.",
1913
+ "0xc9b": "Presence extension called without own compatibility details",
1914
+ "0xc9c": "Data store context does not implement ContainerExtensionProvider"
1901
1915
  };
package/src/mocks.ts CHANGED
@@ -1060,9 +1060,7 @@ export class MockFluidDataStoreRuntime
1060
1060
  return this.containerRuntime.dirty();
1061
1061
  }
1062
1062
 
1063
- public submitSignal(type: string, content: any) {
1064
- return null;
1065
- }
1063
+ public submitSignal: IFluidDataStoreRuntime["submitSignal"] = () => null;
1066
1064
 
1067
1065
  public processMessages(messageCollection: IRuntimeMessageCollection) {
1068
1066
  if (this.disposed) {
@@ -119,11 +119,11 @@ export class MockFluidDataStoreContext implements IFluidDataStoreContext {
119
119
  return undefined as any as IAudience;
120
120
  }
121
121
 
122
- public submitMessage(type: string, content: any, localOpMetadata: unknown): void {
122
+ public submitMessage(): void {
123
123
  // No-op for mock context
124
124
  }
125
125
 
126
- public submitSignal(type: string, content: any): void {
126
+ public submitSignal(): void {
127
127
  throw new Error("Method not implemented.");
128
128
  }
129
129