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

RNET-1134: Add obfuscation attribute on generated RealmSchema #3594

Merged
merged 4 commits into from
May 21, 2024

Merge branch 'main' into ni/obfuscation

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

RNET-1134: Add obfuscation attribute on generated RealmSchema #3594

Merge branch 'main' into ni/obfuscation
b91e683
Select commit
Loading
Failed to load commit list.
GitHub Actions / Results Woven classes failed May 21, 2024 in 0s

Results Woven classes ❌

Tests failed

❌ TestResults.WovenClasses.xml

5840 tests were completed in 172s with 5286 passed, 1 failed and 553 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. 52✔️ 1❌ 4s

❌ Realm.Tests.dll.Realms.Tests.Database.InstanceTests.

Realms.Tests.Database.InstanceTests
  ✔️ BeginWrite_CalledMultipleTimes_Throws
  ✔️ Compact_WhenInTransaction_ShouldThrow
  ✔️ Compact_WhenOpenOnDifferentThread_ShouldReturnFalse
  ✔️ Compact_WhenOpenOnSameThread_ShouldReturnTrue
  ✔️ Compact_WhenResultsAreOpen_ShouldReturnFalse
  ✔️ DeleteRealmFailsIfOpenSameThread
  ✔️ DeleteRealmWorksIfCalledMultipleTimes
  ✔️ DeleteRealmWorksIfClosed
  ✔️ DeleteRealmWorksIfFolderDoesntExist
  ✔️ Dispose_WhenCalledMultipletimes_ShouldNotInvalidateOtherInstances
  ✔️ Dispose_WhenOnDifferentThread_ShouldNotInvalidateOtherInstances
  ✔️ Dispose_WhenOnTheSameThread_ShouldNotInvalidateOtherInstances
  ✔️ Freeze_FreezesTheRealm
  ✔️ FrozenRealm_CannotSubscribeForNotifications
  ✔️ FrozenRealm_CannotWrite
  ✔️ FrozenRealm_DoesntUpdate
  ✔️ FrozenRealms_CanBeUsedAcrossThreads
  ✔️ FrozenRealms_GetGarbageCollected
  ✔️ FrozenRealms_ReuseParentSchemaAndMetadata
  ✔️ GetCachedInstancesSameThread
  ✔️ GetInstance_WhenDynamic_ReadsSchemaFromDisk
  ✔️ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
  ✔️ GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
  ✔️ GetInstance_WhenReadonly_TreatsAdditionalTablesAsEmpty
  ✔️ GetInstance_WithManualSchema_CanReadAndWrite
  ✔️ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
  ✔️ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
  ✔️ GetInstanceAsync_ExecutesMigrationsInBackground
  ✔️ GetInstanceShouldThrowWithBadPath
  ✔️ GetInstanceTest
  ✔️ GetInstanceWithJustFilenameTest
  ✔️ GetTwice_ReadOnlyInstance_DoesNotThrow
  ✔️ GetUniqueInstancesDifferentThreads
  ✔️ InstanceIsClosedByDispose
  ✔️ InstancesHaveDifferentHashes
  ✔️ IsInTransaction_WhenInvokedOnADifferentThread_Throws
  ❌ Logger_ChangeLevel_ReflectedImmediately
	  Expected: <empty>
	  But was:  "2024-05-21 22:38:37.683 Error: App: request location failed (CustomError 998): An unexpected error occurred while sending the request: No connection could be made because the target machine actively refused it.
	"
	
  ✔️ ParallelOpen_DoesNotThrow
  ✔️ ReadOnlyInstance_ThrowsOnRefresh
  ✔️ Realm_Freeze_ReadOnly
  ✔️ Realm_Freeze_WhenFrozen_ReturnsSameInstance
  ✔️ Realm_HittingMaxNumberOfVersions_Throws
  ✔️ RealmChangedShouldFireForEveryInstance
  ✔️ RealmDispose_DisposesActiveTransaction
  ✔️ RealmObjectClassesOnlyAllowRealmObjects
  ✔️ RealmState_GetsGarbageCollected
  ✔️ RealmWithFrozenObjects_WhenDeleted_DoesNotThrow
  ✔️ RealmWithOneClassThrowsIfUseOther
  ✔️ RealmWithOneClassWritesDesiredClass
  ✔️ Transaction_PerformAction_WhenDisposed_Throws
  ✔️ TransactionStateIsCorrect
  ✔️ TransactionStateIsCorrectAsync
  ✔️ UsingDisposedRealm_ShouldThrowObjectDisposedException

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Woven classes

Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► Logger_ChangeLevel_ReflectedImmediately

Failed test found in:
  TestResults.WovenClasses.xml
Error:
    Expected: <empty>
    But was:  "2024-05-21 22:38:37.683 Error: App: request location failed (CustomError 998): An unexpected error occurred while sending the request: No connection could be made because the target machine actively refused it.
  "
  
Raw output
   at Realms.Tests.Database.InstanceTests.Logger_ChangeLevel_ReflectedImmediately() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1304