RNET-1155: Add more validation to .Filter arguments #2679
GitHub Actions / Results Maui.iOS
failed
Jun 6, 2024 in 1s
5506 passed, 2 failed and 643 skipped
❌ TestResults.xml_transformed.xml
6151 tests were completed in 584s with 5506 passed, 2 failed and 643 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Database.CollectionTests. | 83✅ | 1❌ | 1⚪ | 23s |
Realm.Tests.dll.Realms.Tests.Database.NotificationTests. | 59✅ | 1❌ | 1⚪ | 14s |
❌ Realm.Tests.dll.Realms.Tests.Database.CollectionTests.
Realms.Tests.Database.CollectionTests
✅ Collection_GetEnumerator_WhenCollectionDeleted_ReturnsEmpty
✅ Dict_Filter_WithRemappedProperty
✅ FrozenList_DoesntChange
✅ FrozenList_GetsGarbageCollected
✅ FrozenQuery_GetsGarbageCollected
✅ FrozenQuery_WhenFiltered_DoesntChange
✅ FrozenQuery_WhenOrderedWithLINQ_DoesntChange
✅ FrozenQuery_WhenOrderedWithString_DoesntChange
✅ Fts_Linq_WhenTermsIsNull_Throws
✅ Fts_OnNonIndexedProperty_Throws
✅ IList_IsReadOnly_WhenRealmIsReadOnly_ShouldBeTrue
✅ Insert_WhenIndexIsEqualToCount_ShouldWork
✅ List_Filter_WithRemappedProperty
✅ List_Freeze_ReturnsAFrozenCopy
✅ List_Freeze_WhenFrozen_ReturnsSameInstance
✅ List_Freeze_WhenUnmanaged_Throws
✅ List_GetAtIndex_WhenIndexIsOutOfRange_ShouldThrow
✅ List_IndexOf_WhenObjectBelongsToADifferentRealm_ShouldThrow
✅ List_WhenParentIsDeleted_ShouldBeInvalid
✅ List_WhenRealmIsClosed_ShouldBeInvalid
✅ ListAdd_WhenValueIsNull_ShouldThrow
✅ ListAsRealmQueryable_RaisesNotifications
✅ ListAsRealmQueryable_WhenNotRealmList_Throws
✅ ListFilter_CanBeFilteredWithLinq
✅ ListFilter_CanBeFilteredWithStringPredicate
✅ ListFilter_CanSortResults
✅ ListFilter_InvalidPredicate_Throws
✅ ListFilter_NoArguments_Throws
✅ ListFilter_PassesArgumentsCorrectly
✅ ListFilter_ReturnsCorrectElementAtResult
✅ ListFilter_SupportsCollectionIndexes
✅ ListFilter_WhenNotRealmList_Throws
✅ ListInsert_WhenIndexIsMoreThanCount_ShouldThrow
✅ ListInsert_WhenIndexIsNegative_ShouldThrow
✅ ListOfEmbeddedAdd_WhenValueIsNull_ShouldThrow
✅ ObjectFromAnotherRealm_ThrowsRealmException
✅ ObjectList_WhenEnumeratingAndRemovingFromList_ShouldBeStable
✅ ObjectList_WhenEnumeratingAndRemovingFromRealm_ShouldBeStable
✅ ObjectList_WhenEnumeratingFrozenList_ShouldBeStable
⚪ PrimitiveList_WhenEnumerating_ShouldBeStable
✅ Query_Freeze_ReturnsAFrozenCopy
✅ Query_Freeze_WhenFrozen_ReturnsSameInstance
✅ Query_Freeze_WhenUnmanaged_Throws
✅ QueryArgument_ToString
✅ QueryFilter_WithArgumentsObject_ShouldMatch
✅ QueryFilter_WithArgumentsObjectList_ShouldMatch
❌ QueryFilter_WithArgumentsUnmanagedObjects_ShouldThrow
at Realms.Tests.Database.CollectionTests.QueryFilter_WithArgumentsUnmanagedObjects_ShouldThrow()
✅ QueryFilter_WithMultipleArguments_ShouldMatch
✅ QueryFilter_WithNullArguments
✅ RealmResults_ICollection_UnsupportedAPI
✅ Results_Filter_WhenArgumentIsDeletedObject_Throws
✅ Results_Filter_WithRemappedProperty
✅ Results_GetAtIndex_WhenIndexIsOutOfRange_ShouldThrow
✅ Results_GetFiltered_AfterLINQ
✅ Results_GetFiltered_BeforeLINQ
✅ Results_GetFiltered_Distinct
✅ Results_GetFiltered_FollowLinks
✅ Results_GetFiltered_Limit
✅ Results_GetFiltered_List
✅ Results_GetFiltered_NamedBacklink
✅ Results_GetFiltered_Notifications
✅ Results_GetFiltered_SanityTest
✅ Results_GetFiltered_Sorted
✅ Results_GetFiltered_UnnamedBacklink
✅ Results_GetFiltered_WhenPredicateIsInvalid_Throws
✅ Results_WhenEnumerating_ShouldBeStable
✅ Results_WhenRealmIsClosed_ShouldBeInvalid
✅ Set_EmitsModifiedNotifications
✅ Set_Filter_WithRemappedProperty
✅ Set_WhenIndexIsMoreThanCount_ShouldThrow
✅ Set_WhenIndexIsNegative_ShouldThrow
✅ Set_WhenObjectIsManaged_ShouldWork
✅ Set_WhenObjectIsUnmanaged_ShouldAddToRealm
✅ SetAdd_WhenValueIsNull_ShouldThrow
✅ SetAsRealmQueryable_RaisesNotifications
✅ SetAsRealmQueryable_WhenNotRealmSet_Throws
✅ SetFilter_CanBeFilteredWithLinq
✅ SetFilter_CanBeFilteredWithStringPredicate
✅ SetFilter_CanSortResults
✅ SetFilter_InvalidPredicate_Throws
✅ SetFilter_NoArguments_Throws
✅ SetFilter_PassesArgumentsCorrectly
✅ SetFilter_ReturnsCorrectElementAtResult
✅ SetFilter_SupportsCollectionIndexes
✅ SetFilter_WhenNotRealmSet_Throws
❌ Realm.Tests.dll.Realms.Tests.Database.NotificationTests.
Realms.Tests.Database.NotificationTests
✅ BackLinkInObjectShouldNotFireNotificationOnChange
✅ CollectionPropertiesOfDifferentTypeShouldNotFireNotificationsOnChange
✅ CollectionPropertiesOfSameTypeShouldNotFireNotificationsOnChange
✅ DictionaryNotificationToken_KeepsCollectionAlive
✅ DictionaryOnCollectionChangedShouldFireOnAddRemove
✅ DictionarySubscribeInTransaction
✅ DictionaryUnsubscribeInNotificationCallback
✅ KeyPath_CanBeBuiltFromExpressions
✅ KeyPath_ImplicitOperator_CorrectlyConvertsFromString
✅ KeyPath_WithInvalidExpressions_ThrowsException
✅ KeyPathsCollection_CanBeBuiltFromExpressions
✅ KeyPathsCollection_CanBeBuiltInDifferentWays
✅ KeyPathsCollection_WithInvalidExpressions_ThrowsExceptions
✅ 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
❌ SubscribeWithKeypaths_TopLevelProperties_WorksWithScalar
at Realms.Tests.Database.NotificationTests.VerifyNotifications(List`1 notifications, Int32[] expectedInserted, Int32[] expectedModified, Int32[] expectedDeleted, Move[] expectedMoves, Boolean expectedCleared, Boolean expectedNotifications)
✅ 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
Annotations
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.iOS
Realm.Tests.dll.Realms.Tests.Database.CollectionTests. ► Realms.Tests.Database.CollectionTests ► QueryFilter_WithArgumentsUnmanagedObjects_ShouldThrow
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.Tests.Database.CollectionTests.QueryFilter_WithArgumentsUnmanagedObjects_ShouldThrow()
Raw output
at Realms.Tests.Database.CollectionTests.QueryFilter_WithArgumentsUnmanagedObjects_ShouldThrow()
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.iOS
Realm.Tests.dll.Realms.Tests.Database.NotificationTests. ► Realms.Tests.Database.NotificationTests ► SubscribeWithKeypaths_TopLevelProperties_WorksWithScalar
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.Tests.Database.NotificationTests.VerifyNotifications(List`1 notifications, Int32[] expectedInserted, Int32[] expectedModified, Int32[] expectedDeleted, Move[] expectedMoves, Boolean expectedCleared, Boolean expectedNotifications)
Raw output
at Realms.Tests.Database.NotificationTests.VerifyNotifications(List`1 notifications, Int32[] expectedInserted, Int32[] expectedModified, Int32[] expectedDeleted, Move[] expectedMoves, Boolean expectedCleared, Boolean expectedNotifications)
at Realms.Tests.Database.NotificationTests.SubscribeWithKeypaths_TopLevelProperties_WorksWithScalar()
Loading