Skip to content

Add more validation to .Filter arguments

Sign in for the full log view
GitHub Actions / Results Maui.MacCatalyst failed Jun 6, 2024 in 1s

5513 passed, 1 failed and 637 skipped

Tests failed

❌ TestResults.xml_transformed.xml

6151 tests were completed in 528s with 5513 passed, 1 failed and 637 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.CollectionTests. 83✅ 1❌ 1⚪ 20s

❌ 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

Annotations

Check failure on line 0 in TestResults.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.MacCatalyst

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()