Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keypath filtering to notifications #3501

Merged
merged 60 commits into from
Feb 9, 2024

Merge branch 'main' into fp/keypath-filtering

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

Add keypath filtering to notifications #3501

Merge branch 'main' into fp/keypath-filtering
8409f36
Select commit
Loading
Failed to load commit list.
GitHub Actions / Results Code Coverage failed Feb 9, 2024 in 0s

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6061 tests were completed in 2000s with 6039 passed, 1 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.UserManagementTests. 53✔️ 1❌ 1✖️ 87s

❌ Realm.Tests.dll.Realms.Tests.Sync.UserManagementTests.

Realms.Tests.Sync.UserManagementTests
  ✔️ AppAllUsers_WhenThereAreNineUsers_ShouldReturnAllOfThem
  ✔️ AppAllUsers_WhenThereAreNoUsers_ShouldReturnEmptyCollection
  ✔️ AppAllUsers_WhenThereIsOneUser_ShouldReturnThatUser
  ✔️ AppCurrentUser_WhenThereAreNoUsers_ShouldReturnNull
  ✔️ AppCurrentUser_WhenThereIsMoreThanOneUser_ShouldReturnLastOne
  ✔️ AppCurrentUser_WhenThereIsOneUser_ShouldReturnThatUser
  ✔️ AppDeleteUserFromServer_RemovesUser
  ✔️ AppRemoveUser_RemovesUser
  ✔️ AppSwitchUser_SwitchesCurrentUser
  ✔️ AppSwitchUser_WhenUserIsCurrent_DoesNothing
  ✔️ AppSwitchUser_WhenUserIsNull_Throws
  ✔️ EmailPasswordRegisterUser_Works
  ✔️ User_CallResetPasswordFunctionAsync_ResetsUserPassword
  ✔️ User_ConfirmUserAsync_ConfirmsUser
  ✖️ User_Facebook_LogsInAndReadsDataFromFacebook
  ✔️ User_JWT_LogsInAndReadsDataFromToken
  ✔️ User_LinkCredentials_AllowsLoginWithNewCredentials
  ✔️ User_LinkCredentials_MultipleTimes_AllowsLoginWithAllCredentials
  ✔️ User_LinkCredentials_MultipleTimesSameCredentials_IsNoOp
  ✔️ User_LinkCredentials_WhenAnonymous_Throws
  ✔️ User_LinkCredentials_WhenInUse_Throws
  ✔️ User_LinkCredentials_WhenMultipleEmailPassword_Throws
  ✔️ User_ResetPasswordAsync_ConfirmsResetPassword
  ✔️ User_RetryCustomConfirmationAsync_RerunsConfirmation
  ✔️ UserAnonymous_CombiningReuseAndNotReuse
  ✔️ UserApiKeys_CanLoginWithGeneratedKey
  ✔️ UserApiKeys_CanLoginWithReenabledKey
  ✔️ UserApiKeys_CantLoginWithDeletedKey
  ✔️ UserApiKeys_CantLoginWithDisabledKey
  ✔️ UserApiKeys_Create_CreatesApiKeyAndRevealsValue
  ✔️ UserApiKeys_Create_WithInvalidName_Throws
  ✔️ UserApiKeys_DeleteKey_WithExistingId
  ✔️ UserApiKeys_DeleteKey_WithNonExistingId
  ✔️ UserApiKeys_Disable_DisablesKey
  ✔️ UserApiKeys_DisableApiKey_WhenDisabled_IsNoOp
  ✔️ UserApiKeys_DisableApiKey_WhenNonExistent_Throws
  ✔️ UserApiKeys_Enable_ReenablesKey
  ✔️ UserApiKeys_EnableApiKey_WhenEnabled_IsNoOp
  ✔️ UserApiKeys_EnableApiKey_WhenNonExistent_Throws
  ✔️ UserApiKeys_Fetch_WhenIdDoesntMatch_ReturnsNull
  ✔️ UserApiKeys_Fetch_WhenIdMatches_ReturnsKey
  ✔️ UserApiKeys_Fetch_WhenNoneExist_ReturnsNull
  ✔️ UserApiKeys_FetchAll_WithMultipleKeys
  ✔️ UserApiKeys_FetchAll_WithNoKeys
  ✔️ UserApiKeys_FetchAll_WithOneKey
  ✔️ UserChanged_DoesntKeepObjectAlive
  ✔️ UserCustomData
  ✔️ UserCustomData_Generic
  ✔️ UserCustomData_Generic_ReadsFromAccessToken
  ✔️ UserCustomData_ReadsFromAccessToken
  ✔️ UserCustomData_WhenEmpty_ReturnsNull
  ✔️ UserCustomDataChange_RaisesChanged
  ✔️ UserEqualsOverrides
  ❌ UserLogOut_RaisesChanged
	  Expected: LoggedOut
	  But was:  Removed
	
  ✔️ UserToStringOverride

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.UserManagementTests. ► Realms.Tests.Sync.UserManagementTests ► UserLogOut_RaisesChanged

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: LoggedOut
    But was:  Removed
  
Raw output
   at Realms.Tests.Sync.UserManagementTests.<>c__DisplayClass55_0.<UserLogOut_RaisesChanged>b__1(Object s, EventArgs _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/UserManagementTests.cs:line 1110
   at Realms.Sync.User.RaiseChanged() in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Sync/User.cs:line 335
   at Realms.Sync.SyncUserHandle.<>c__DisplayClass27_0.<HandleUserChanged>b__0(Object _) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SyncUserHandle.cs:line 461
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()