Collections of Mixed #2341
Results Unity Windows Mono_Net4 ❌
❌ TestResults.xml
5732 tests were completed in 563s with 5177 passed, 7 failed and 548 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.InstanceTests. | 52✔️ | 1❌ | 26s | |
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. | 13✔️ | 5❌ | 1s | |
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmValueWithCollections.Dictionary_WhenRetrieved_WorksWithAllTypes. | 1✔️ | 1❌ | 109ms |
❌ Tests.Unity.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
Expected: No Exception to be thrown
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.InstanceTests+<>c__DisplayClass34_0.<GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Constraints.ThrowsConstraint+VoidInvocationDescriptor.Invoke () [0x00001] in <10b6135e63434fdba4fc6c109928ab3b>:0
at NUnit.Framework.Constraints.ThrowsConstraint+ExceptionInterceptor.Intercept (System.Object invocation) [0x0000a] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
✔️ 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
✔️ 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
❌ Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests.
Realms.Tests.Database.MigrationTests
❌ ExceptionInMigrationCallback
Expected: <System.AggregateException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests+<>c__DisplayClass3_0.<ExceptionInMigrationCallback>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Assert.Throws (NUnit.Framework.Constraints.IResolveConstraint expression, NUnit.Framework.TestDelegate code, System.String message, System.Object[] args) [0x00004] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
✔️ Migration_ChangePrimaryKey_Dynamic
✔️ Migration_ChangePrimaryKey_Static
✔️ Migration_ChangePrimaryKey_WithDuplicates_Throws
✔️ Migration_ChangePrimaryKeyType
✔️ Migration_NewRealm_Remove
✔️ Migration_ToEmbedded_DeletesOrphans
✔️ Migration_ToEmbedded_DuplicatesObjects
✔️ Migration_WhenDone_DisposesAllObjectsAndLists
✔️ MigrationRemoveTypeInSchema
✔️ MigrationRemoveTypeInvalidArguments
✔️ MigrationRemoveTypeNotInSchema
❌ MigrationRenameProperty
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
❌ MigrationRenamePropertyErrors
Expected: <System.ArgumentException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests+<>c__DisplayClass6_0.<MigrationRenamePropertyErrors>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Assert.Throws (NUnit.Framework.Constraints.IResolveConstraint expression, NUnit.Framework.TestDelegate code, System.String message, System.Object[] args) [0x00004] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
❌ MigrationRenamePropertyInvalidArguments
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
✔️ MigrationTriggersDelete
❌ TriggerMigrationBySchemaEditing
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
✔️ TriggerMigrationBySchemaVersion
❌ Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmValueWithCollections.Dictionary_WhenRetrieved_WorksWithAllTypes.
Realms.Tests.Database.RealmValueWithCollections
❌ Dictionary_WhenRetrieved_WorksWithAllTypes(True)
Expected: True
But was: False
✔️ Dictionary_WhenRetrieved_WorksWithAllTypes(False)
Annotations
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
Failed test found in:
TestResults.xml
Error:
Expected: No Exception to be thrown
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.InstanceTests+<>c__DisplayClass34_0.<GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Constraints.ThrowsConstraint+VoidInvocationDescriptor.Invoke () [0x00001] in <10b6135e63434fdba4fc6c109928ab3b>:0
at NUnit.Framework.Constraints.ThrowsConstraint+ExceptionInterceptor.Intercept (System.Object invocation) [0x0000a] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
Raw output
at Realms.Tests.Database.InstanceTests.GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow () [0x00048] in <01cf4e8c0dc64891b9dec47f8f663364>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► ExceptionInMigrationCallback
Failed test found in:
TestResults.xml
Error:
Expected: <System.AggregateException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests+<>c__DisplayClass3_0.<ExceptionInMigrationCallback>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Assert.Throws (NUnit.Framework.Constraints.IResolveConstraint expression, NUnit.Framework.TestDelegate code, System.String message, System.Object[] args) [0x00004] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
Raw output
at Realms.Tests.Database.MigrationTests.ExceptionInMigrationCallback () [0x00067] in <01cf4e8c0dc64891b9dec47f8f663364>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenameProperty
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests.MigrationRenameProperty () [0x00058] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6073cf49ed704e958b8a66d540dea948>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenamePropertyErrors
Failed test found in:
TestResults.xml
Error:
Expected: <System.ArgumentException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests+<>c__DisplayClass6_0.<MigrationRenamePropertyErrors>b__0 () [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at NUnit.Framework.Assert.Throws (NUnit.Framework.Constraints.IResolveConstraint expression, NUnit.Framework.TestDelegate code, System.String message, System.Object[] args) [0x00004] in <10b6135e63434fdba4fc6c109928ab3b>:0 >
Raw output
at Realms.Tests.Database.MigrationTests.MigrationRenamePropertyErrors () [0x00075] in <01cf4e8c0dc64891b9dec47f8f663364>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenamePropertyInvalidArguments
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests.MigrationRenamePropertyInvalidArguments () [0x00058] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6073cf49ed704e958b8a66d540dea948>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► TriggerMigrationBySchemaEditing
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <c200b1ab31d842b5a06ae947a26aa39b>:0
at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at Realms.Tests.Database.MigrationTests.TriggerMigrationBySchemaEditing () [0x00056] in <01cf4e8c0dc64891b9dec47f8f663364>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6073cf49ed704e958b8a66d540dea948>:0
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmValueWithCollections.Dictionary_WhenRetrieved_WorksWithAllTypes. ► Realms.Tests.Database.RealmValueWithCollections ► Dictionary_WhenRetrieved_WorksWithAllTypes(True)
Failed test found in:
TestResults.xml
Error:
Expected: True
But was: False
Raw output
at Realms.Tests.Database.RealmValueWithCollections.Dictionary_WhenRetrieved_WorksWithAllTypes (System.Boolean isManaged) [0x002a0] in <01cf4e8c0dc64891b9dec47f8f663364>:0