Skip to content

Add ExpressibleBy*Literal conformance to LiveMapValue.

714988d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

[ECO-5525] Improve LiveMapValue API #66

Add ExpressibleBy*Literal conformance to LiveMapValue.
714988d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Code coverage results succeeded Aug 21, 2025 in 0s

Xcode test results

Testing workspace AblyLiveObjects with scheme AblyLiveObjects

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
42942801015.00s

Test Summary

AblyLiveObjectsTests

  • Device: Apple Virtual Machine 1, 15.5 (24F74)
  • SDK: macOS 15.4, 15.4
TestTotalSuccessFailureSkippedExpected Failure
test-class AblyLiveObjectsTests55000
test-class ObjectIDTests11000
test-class CreationOperationTests22000
test-class ObjectsIntegrationTests9797000
test-class SyncCursorTests66000
test-class MessagePackTests1919000
test-class JSONTests1818000
test-class RoundTripTests1212000
test-class ApplySyncObjectsPoolTests88000
test-class CreateZeroValueObjectTests55000
test-class JSONValueTests2222000
test-class UnsubscribeTests43010
test-class EmitTests22000
test-class SubscriptionTests22000
test-class CanApplyOperationTests1010000
test-class InboundWireObjectMessageDecodingTests88000
test-class WireCounterTests44000
test-class WireMapOpTests44000
test-class WireObjectStateTests44000
test-class WireCounterOpTests22000
test-class WireMapEntryTests44000
test-class WireObjectOperationTests55000
test-class WireObjectDataTests44000
test-class OutboundWireObjectMessageEncodingTests22000
test-class WireMapTests55000
test-class WireValueTests2626000
test-class ObjectLifetimesTests33000
test-class CreateCounterTests66000
test-class CreateMapTests66000
test-class ApplyOperationTests1515000
test-class BufferOperationTests11000
test-class GetRootTests77000
test-class OnChannelAttachedTests66000
test-class HandleObjectSyncProtocolMessageTests88000
test-class MergeInitialValueTests77000
test-class DecrementTests11000
test-class CounterCreateOperationTests22000
test-class WithCreateOpTests11000
test-class WithoutCreateOpTests33000
test-class ReplaceDataTests55000
test-class IncrementTests77000
test-class CounterIncOperationTests22000
test-class ValueTests33000
test-class InternalErrorTests11000
test-class ExistingEntryTests66000
test-class NoExistingEntryTests55000
test-class MapSetOperationTests11000
test-class MapOperationApplicabilityTests1515000
test-class GetTests1414000
test-class RemoveTests44000
test-class SetTests1212000
test-class AccessPropertiesTests55000
test-class MapCreateOperationTests22000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
AblyLiveObjects 90.11 % 4390 4872
  PublicDefaultRealtimeObjects.swift 90.11 % 82 91
  SyncCursor.swift 100.00 % 23 23
  APLogger+Swift.swift 100.00 % 3 3
  InternalLiveMapValue.swift 69.11 % 85 123
  DefaultInternalPlugin.swift 91.84 % 135 147
  WireEnum.swift 93.33 % 14 15
  ARTClientOptions+Objects.swift 87.50 % 28 32
  WireValue.swift 71.43 % 130 182
  InternalLiveMapValue+ToPublic.swift 94.44 % 34 36
  ObjectMessage.swift 96.63 % 373 386
  PublicDefaultLiveCounter.swift 76.92 % 20 26
  JSONValue.swift 78.92 % 146 185
  CoreSDK.swift 91.53 % 54 59
  InternalLiveObject.swift 91.30 % 21 23
  ObjectCreationHelpers.swift 96.73 % 148 153
  Data+Extensions.swift 100.00 % 6 6
  ARTRealtimeChannel+Objects.swift 100.00 % 28 28
  ExtendedJSONValue.swift 88.46 % 69 78
  InternalObjectsMapEntry.swift 100.00 % 9 9
  InternalDefaultLiveMap.swift 97.67 % 923 945
  WireCodable.swift 51.98 % 118 227
  NSLock+Extensions.swift 100.00 % 5 5
  ObjectsPool.swift 95.98 % 334 348
  SyncObjectsPoolEntry.swift 100.00 % 4 4
  Dictionary+Extensions.swift 100.00 % 8 8
  PublicDefaultLiveMap.swift 66.67 % 58 87
  Errors.swift 100.00 % 34 34
  Assertions.swift 0.00 % 0 11
  InternalError.swift 100.00 % 15 15
  InternalDefaultLiveCounter.swift 97.03 % 359 370
  LiveObjectUpdate.swift 71.43 % 10 14
  PublicTypes.swift 70.09 % 75 107
  PublicObjectsStore.swift 100.00 % 121 121
  InternalDefaultRealtimeObjects.swift 95.81 % 503 525
  LoggingUtilities.swift 100.00 % 8 8
  LiveObjectMutableState.swift 100.00 % 83 83
  WireObjectMessage.swift 91.17 % 320 351
  SimpleClock.swift 100.00 % 4 4
AblyLiveObjectsTests 94.22 % 18182 19297
  Assertions.swift 0.00 % 0 11
  InternalDefaultLiveCounter.swift 97.03 % 359 370
  ObjectMessage.swift 96.63 % 373 386
  SyncObjectsPoolEntry.swift 100.00 % 4 4
  LiveObjectMutableStateTests.swift 86.26 % 182 211
  JSONValue.swift 78.92 % 146 185
  TestFactories.swift 76.66 % 220 287
  InternalLiveObject.swift 91.30 % 21 23
  Assertions.swift 0.00 % 0 11
  ObjectsPool.swift 95.98 % 334 348
  PublicDefaultLiveCounter.swift 76.92 % 20 26
  InternalErrorTests.swift 90.91 % 10 11
  LoggingUtilities.swift 100.00 % 8 8
  InternalError.swift 100.00 % 15 15
  Dictionary+Extensions.swift 100.00 % 8 8
  TestLogger.swift 16.67 % 5 30
  WireCodable.swift 51.98 % 118 227
  Errors.swift 100.00 % 34 34
  ObjectCreationHelpers.swift 96.73 % 148 153
  PublicTypes.swift 70.09 % 75 107
  MockCoreSDK.swift 68.42 % 26 38
  WireValue.swift 71.43 % 130 182
  AblyLiveObjectsTests.swift 100.00 % 174 174
  InternalDefaultLiveMap.swift 97.67 % 923 945
  NSLock+Extensions.swift 100.00 % 5 5
  LiveObjectUpdate.swift 71.43 % 10 14
  APLogger+Swift.swift 100.00 % 3 3
  InternalDefaultLiveMapTests.swift 97.13 % 1084 1116
  ARTRealtimeChannel+Objects.swift 100.00 % 28 28
  TestProxyTransport.swift 33.11 % 146 441
  ClientHelper.swift 90.20 % 46 51
  DefaultInternalPlugin.swift 91.84 % 135 147
  MockLiveMapObjectPoolDelegate.swift 100.00 % 21 21
  SyncCursorTests.swift 93.02 % 80 86
  WireObjectMessage.swift 91.17 % 320 351
  SyncCursor.swift 100.00 % 23 23
  ObjectLifetimesTests.swift 100.00 % 438 438
  ObjectCreationHelpersTests.swift 100.00 % 174 174
  ObjectsHelper.swift 91.47 % 418 457
  SimpleClock.swift 100.00 % 4 4
  InternalLiveMapValue.swift 69.11 % 85 123
  WireEnum.swift 93.33 % 14 15
  InternalLiveMapValue+ToPublic.swift 94.44 % 34 36
  Data+Extensions.swift 100.00 % 6 6
  Sandbox.swift 98.31 % 58 59
  LiveObjectMutableState.swift 100.00 % 83 83
  InternalDefaultRealtimeObjects.swift 95.81 % 503 525
  ExtendedJSONValue.swift 88.46 % 69 78
  InternalDefaultLiveCounterTests.swift 93.27 % 402 431
  Subscriber.swift 94.49 % 120 127
  Ably+Concurrency.swift 90.91 % 90 99
  CoreSDK.swift 91.53 % 54 59
  PublicDefaultRealtimeObjects.swift 90.11 % 82 91
  ObjectsPoolTests.swift 100.00 % 311 311
  PublicDefaultLiveMap.swift 66.67 % 58 87
  ObjectMessageTests.swift 99.38 % 319 321
  ARTClientOptions+Objects.swift 87.50 % 28 32
  InternalDefaultRealtimeObjectsTests.swift 99.74 % 1135 1138
  JSONValueTests.swift 100.00 % 108 108
  InternalObjectsMapEntry.swift 100.00 % 9 9
  WireObjectMessageTests.swift 100.00 % 508 508
  ObjectsIntegrationTests.swift 99.41 % 7386 7430
  MockSimpleClock.swift 42.86 % 12 28
  WireValueTests.swift 100.00 % 319 319
  PublicObjectsStore.swift 100.00 % 121 121
Total 93.39 % 22572 24169

Details

Test Details

AblyLiveObjectsTestsback

AblyLiveObjectsTests back

SuccessFailureSkippedExpected Failure⏱️
5 (83%)0 (0%)0 (0%)0 (0%)8.00s

All tests passed 🎉

ObjectIDTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CreationOperationTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ObjectsIntegrationTests back

SuccessFailureSkippedExpected Failure⏱️
97 (100%)0 (0%)0 (0%)0 (0%)1.00s

All tests passed 🎉

SyncCursorTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

MessagePackTests back

SuccessFailureSkippedExpected Failure⏱️
19 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

JSONTests back

SuccessFailureSkippedExpected Failure⏱️
18 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

RoundTripTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ApplySyncObjectsPoolTests back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CreateZeroValueObjectTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

JSONValueTests back

SuccessFailureSkippedExpected Failure⏱️
22 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

UnsubscribeTests back

SuccessFailureSkippedExpected Failure⏱️
3 (75%)0 (0%)1 (25%)0 (0%)0.00s

All tests passed 🎉

EmitTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

SubscriptionTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CanApplyOperationTests back

SuccessFailureSkippedExpected Failure⏱️
10 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

InboundWireObjectMessageDecodingTests back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireCounterTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireMapOpTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireObjectStateTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireCounterOpTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireMapEntryTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireObjectOperationTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireObjectDataTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

OutboundWireObjectMessageEncodingTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireMapTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WireValueTests back

SuccessFailureSkippedExpected Failure⏱️
26 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ObjectLifetimesTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)5.00s

All tests passed 🎉

CreateCounterTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CreateMapTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ApplyOperationTests back

SuccessFailureSkippedExpected Failure⏱️
15 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

BufferOperationTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

GetRootTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)1.00s

All tests passed 🎉

OnChannelAttachedTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

HandleObjectSyncProtocolMessageTests back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

MergeInitialValueTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

DecrementTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CounterCreateOperationTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WithCreateOpTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

WithoutCreateOpTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ReplaceDataTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

IncrementTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

CounterIncOperationTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ValueTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

InternalErrorTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

ExistingEntryTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

NoExistingEntryTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

MapSetOperationTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

MapOperationApplicabilityTests back

SuccessFailureSkippedExpected Failure⏱️
15 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

GetTests back

SuccessFailureSkippedExpected Failure⏱️
14 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

RemoveTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

SetTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

AccessPropertiesTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉

MapCreateOperationTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s

All tests passed 🎉