Skip to content

Add keypath filtering to notifications #1540

Add keypath filtering to notifications

Add keypath filtering to notifications #1540

GitHub Actions / Results Maui.iOS failed Feb 9, 2024 in 0s

Results Maui.iOS ❌

Tests failed

❌ TestResults.iOS.xml

6061 tests were completed in 1108s with 5439 passed, 1 failed and 621 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.NotificationTests. 55✔️ 1❌ 1✖️ 23s

❌ Realm.Tests.dll.Realms.Tests.Database.NotificationTests.

Realms.Tests.Database.NotificationTests
  ✔️ BackLinkInObjectShouldNotFireNotificationOnChange
  ✔️ CollectionPropertiesOfDifferentTypeShouldNotFireNotificationsOnChange
  ✔️ CollectionPropertiesOfSameTypeShouldNotFireNotificationsOnChange
  ✔️ DictionaryNotificationToken_KeepsCollectionAlive
  ✔️ DictionaryOnCollectionChangedShouldFireOnAddRemove
  ✔️ DictionarySubscribeInTransaction
  ✔️ DictionaryUnsubscribeInNotificationCallback
  ✔️ KeyPath_ImplicitOperator_CorrectlyConvertsFromString
  ✔️ KeyPathsCollection_CanBeBuiltInDifferentWays
  ✔️ Link_ShouldOnlyFireNotificationForReassignment
  ✔️ List_WhenParentIsDeleted_RaisesReset
  ✔️ List_WhenTransactionHasBothAddAndRemove_ShouldReset
  ✔️ List_WhenUnsubscribed_ShouldStopReceivingNotifications
  ✔️ ListOnCollectionChangedShouldFireOnAddMoveReplaceRemove
  ✔️ ListReplace_RaisesReplaceNotifications
  ✔️ ListShouldSendNotifications
  ✔️ ModifiedIndices_ReportCorrectlyForOldAndNewVersions
  ✔️ PrimitivePropertyInObjectShouldFireNotificationOnChange
  ✔️ RealmError_WhenNoSubscribers_OutputsMessageInConsole
  ✔️ ResultOnCollectionChangedShouldFireOnAddRemove
  ✔️ Results_WhenTransactionHasBothAddAndRemove_ShouldReset
  ✔️ Results_WhenUnsubscribed_ShouldStopReceivingNotifications
  ✔️ ResultsShouldSendNotifications
  ✔️ SetOnCollectionChangedShouldFireOnAddRemove
  ✔️ ShouldTriggerRealmChangedEvent
  ✔️ SubscribeForNotifications_InvokedWithInitialCallback
  ✔️ SubscribeWithKeypaths_AnyKeypath_RaisesNotificationsForResults
  ✔️ SubscribeWithKeypaths_Backlinks
  ✔️ SubscribeWithKeypaths_DisposingToken_CancelNotifications
  ✔️ SubscribeWithKeypaths_FullKeyPath_SameAsFourLevelsDepth
  ✔️ SubscribeWithKeypaths_MappedClass_WorksCorrectly
  ✔️ SubscribeWithKeypaths_MappedProperty_UsesOriginalName
  ✔️ SubscribeWithKeypaths_MultipleKeypaths
  ✔️ SubscribeWithKeypaths_NestedProperties_WorksWithCollections
  ✔️ SubscribeWithKeypaths_NestedProperties_WorksWithScalar
  ✔️ SubscribeWithKeypaths_OnCollection_Dictionary
  ✔️ SubscribeWithKeypaths_OnCollection_DictionaryRemapped
  ✔️ SubscribeWithKeypaths_OnCollection_List
  ✔️ SubscribeWithKeypaths_OnCollection_ListRemapped
  ✔️ SubscribeWithKeypaths_OnCollection_Set
  ✔️ SubscribeWithKeypaths_OnCollection_SetRemapped
  ✔️ SubscribeWithKeypaths_ShallowKeypath_RaisesOnlyCollectionNotifications
  ❌ SubscribeWithKeypaths_TopLevelProperties_WorksWithCollection
	  Expected: 1
	  But was:  0
	
  ✔️ SubscribeWithKeypaths_TopLevelProperties_WorksWithScalar
  ✔️ SubscribeWithKeypaths_WildCard_CanGetDeeperThanFourLevels
  ✔️ SubscribeWithKeypaths_WildCard_WorksAfterCollectionProperty
  ✔️ SubscribeWithKeypaths_WildCard_WorksAfterLinkProperty
  ✔️ SubscribeWithKeypaths_WildCard_WorksWithMultipleLevels
  ✔️ SubscribeWithKeypaths_WildCard_WorksWithPropertyAfterward
  ✔️ SubscribeWithKeypaths_WildCard_WorksWithTopLevel
  ✖️ SubscribeWithKeypaths_WildcardOnScalarProperty_Throws
  ✔️ SubscribeWithKeypaths_WithEmptyOrWhiteSpaceKeypaths_Throws
  ✔️ SubscribeWithKeypaths_WithNonRealmObjectType_Throws
  ✔️ SubscribeWithKeypaths_WithRepeatedKeypath_IgnoresRepeated
  ✔️ SubscribeWithKeypaths_WithUnknownProperty_Throws
  ✔️ UnsubscribeInNotificationCallback
  ✔️ WhenSynchronizationContextExists_ShouldAutoRefresh