Skip to content

RNET-1159: Flexible-schema POC #2077

RNET-1159: Flexible-schema POC

RNET-1159: Flexible-schema POC #2077

GitHub Actions / Results Code Coverage failed Aug 8, 2024 in 0s

6148 passed, 3 failed and 32 skipped

Tests failed

❌ TestResults.xml

6183 tests were completed in 1072s with 6148 passed, 3 failed and 32 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.DynamicAccessTests. 46✅ 2❌ 2s
Realm.Tests.dll.Realms.Tests.Sync.DataTypeSynchronizationTests. 61✅ 1❌ 189s

❌ Realm.Tests.dll.Realms.Tests.Database.DynamicAccessTests.

Realms.Tests.Database.DynamicAccessTests
  ✅ DynamicApi_WhenObjectIsUnmanaged_Throws
  ✅ GetBacklinks_WhenPropertyExists_ReturnsBacklinks
  ✅ GetBacklinks_WhenPropertyIsMissing_Throws
  ✅ GetBacklinks_WhenPropertyIsWrongType_Throws
  ✅ GetBacklinksFromType_WhenFromPropertyExists_Succeeds
  ✅ GetBacklinksFromType_WhenFromPropertyIsMissing_Throws
  ✅ GetBacklinksFromType_WhenFromTypeIsInvalid_Throws
  ✅ GetDictionary_WhenCastToRealmValue_Works
  ✅ GetDictionary_WhenCastToWrongValue_Throws
  ✅ GetDictionary_WhenPropertyIsMissing_Throws
  ✅ GetDictionary_WhenPropertyIsNotDictionary_Throws
  ✅ GetDictionary_WhenPropertyIsNull_Throws
  ✅ GetEmbeddedObjectProperty_WhenCastToEmbeddedObject_Succeeds
  ✅ GetEmbeddedObjectProperty_WhenCastToRealmObject_Throws
  ✅ GetEmbeddedObjectProperty_WhenCastToRealmObjectBase_Succeeds
  ✅ GetList_WhenCastToRealmValue_Works
  ✅ GetList_WhenCastToWrongValue_Throws
  ✅ GetList_WhenPropertyIsMissing_Throws
  ✅ GetList_WhenPropertyIsNotList_Throws
  ✅ GetList_WhenPropertyIsNull_Throws
  ✅ GetPrimaryKey_WhenPrivate_Works
  ✅ GetProperty_WhenIncorrectType_Throws
  ✅ GetProperty_WhenPropertyIsBacklinks_Throws
  ❌ GetProperty_WhenPropertyIsDictionary_Throws
	at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsDictionary_Throws>b__24_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 530
  ❌ GetProperty_WhenPropertyIsList_Throws
	at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsList_Throws>b__22_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 506
  ✅ GetProperty_WhenPropertyIsMissing_Throws
  ✅ GetProperty_WhenPropertyIsSet_Throws
  ✅ GetProperty_WhenUsingConvertibleType_Succeeds
  ✅ GetProperty_WhenUsingRealmValue_Succeeds
  ✅ GetProperty_WhenUsingSystemObject_Succeeds
  ✅ GetRealmObjectProperty_WhenCastToEmbeddedObject_Throws
  ✅ GetRealmObjectProperty_WhenCastToRealmObject_Succeeds
  ✅ GetRealmObjectProperty_WhenCastToRealmObjectBase_Succeeds
  ✅ GetSet_WhenCastToRealmValue_Works
  ✅ GetSet_WhenCastToWrongValue_Throws
  ✅ GetSet_WhenPropertyIsMissing_Throws
  ✅ GetSet_WhenPropertyIsNotSet_Throws
  ✅ GetSet_WhenPropertyIsNull_Throws
  ✅ RealmValueTests_WithObject
  ✅ SetProperty_WhenIncorrectType_Throws
  ✅ SetProperty_WhenPropertyIsBacklinks_Throws
  ✅ SetProperty_WhenPropertyIsDictionary_Throws
  ✅ SetProperty_WhenPropertyIsList_Throws
  ✅ SetProperty_WhenPropertyIsMissing_Throws
  ✅ SetProperty_WhenPropertyIsSet_Throws
  ✅ SetProperty_WhenUsingConvertibleType_Succeeds
  ✅ SetPropertyToNull_WhenPropertyIsNotNullable_Throws
  ✅ SimpleTest

❌ Realm.Tests.dll.Realms.Tests.Sync.DataTypeSynchronizationTests.

Realms.Tests.Sync.DataTypeSynchronizationTests
  ✅ Dict_Binary
  ✅ Dict_Boolean
  ✅ Dict_Byte
  ✅ Dict_DateTimeOffset
  ✅ Dict_Decimal
  ✅ Dict_Decimal128
  ✅ Dict_Double
  ✅ Dict_EmbeddedObject
  ✅ Dict_Float
  ✅ Dict_Int16
  ✅ Dict_Int32
  ✅ Dict_Int64
  ✅ Dict_Object
  ✅ Dict_ObjectId
  ✅ Dict_String
  ✅ List_Binary
  ✅ List_Boolean
  ✅ List_Byte
  ✅ List_DateTimeOffset
  ✅ List_Decimal
  ✅ List_Decimal128
  ✅ List_Double
  ✅ List_EmbeddedObject
  ✅ List_Float
  ✅ List_Int16
  ✅ List_Int32
  ✅ List_Int64
  ✅ List_Object
  ✅ List_ObjectId
  ✅ List_String
  ✅ NestedCollections_Bootstrap
  ✅ NestedCollections_DictionaryManipulations
  ✅ NestedCollections_ListManipulations
  ✅ NestedCollections_Merge
  ❌ NestedCollections_MergeNewObjects
	at Realms.Tests.Sync.DataTypeSynchronizationTests.<NestedCollections_MergeNewObjects>b__73_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/DataTypeSynchronizationTests.cs:line 974
  ✅ Property_Binary
  ✅ Property_Boolean
  ✅ Property_Byte
  ✅ Property_DateTimeOffset
  ✅ Property_Decimal
  ✅ Property_Decimal128
  ✅ Property_Double
  ✅ Property_Float
  ✅ Property_Int16
  ✅ Property_Int32
  ✅ Property_Int64
  ✅ Property_ObjectId
  ✅ Property_String
  ✅ Set_Binary
  ✅ Set_Boolean
  ✅ Set_Byte
  ✅ Set_DateTimeOffset
  ✅ Set_Decimal
  ✅ Set_Decimal128
  ✅ Set_Double
  ✅ Set_Float
  ✅ Set_Int16
  ✅ Set_Int32
  ✅ Set_Int64
  ✅ Set_Object
  ✅ Set_ObjectId
  ✅ Set_String

Annotations

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Database.DynamicAccessTests. ► Realms.Tests.Database.DynamicAccessTests ► GetProperty_WhenPropertyIsDictionary_Throws

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsDictionary_Throws>b__24_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 530
Raw output
   at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsDictionary_Throws>b__24_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 530
   at Realms.Tests.Database.DynamicAccessTests.RunTestInAllModes(Action`2 test) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 53
   at Realms.Tests.Database.DynamicAccessTests.GetProperty_WhenPropertyIsDictionary_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 526

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Database.DynamicAccessTests. ► Realms.Tests.Database.DynamicAccessTests ► GetProperty_WhenPropertyIsList_Throws

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsList_Throws>b__22_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 506
Raw output
   at Realms.Tests.Database.DynamicAccessTests.<>c.<GetProperty_WhenPropertyIsList_Throws>b__22_0(Realm realm, Boolean _) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 506
   at Realms.Tests.Database.DynamicAccessTests.RunTestInAllModes(Action`2 test) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 53
   at Realms.Tests.Database.DynamicAccessTests.GetProperty_WhenPropertyIsList_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 502

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.DataTypeSynchronizationTests. ► Realms.Tests.Sync.DataTypeSynchronizationTests ► NestedCollections_MergeNewObjects

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Sync.DataTypeSynchronizationTests.<NestedCollections_MergeNewObjects>b__73_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/DataTypeSynchronizationTests.cs:line 974
Raw output
   at Realms.Tests.Sync.DataTypeSynchronizationTests.<NestedCollections_MergeNewObjects>b__73_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/DataTypeSynchronizationTests.cs:line 974
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)