Skip to content

RNET-1159: Flexible-schema POC #2077

RNET-1159: Flexible-schema POC

RNET-1159: Flexible-schema POC #2077

GitHub Actions / Results net6.0, osx-x64 failed Aug 8, 2024 in 0s

5534 passed, 3 failed and 646 skipped

Tests failed

❌ TestResults.xml

6183 tests were completed in 383s with 5534 passed, 3 failed and 646 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.DynamicAccessTests. 46✅ 2❌ 9s
Realm.Tests.dll.Realms.Tests.Database.RelaxedSchemaTests. 15✅ 1❌ 688ms

❌ 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 /Users/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 /Users/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.Database.RelaxedSchemaTests.

Realms.Tests.Database.RelaxedSchemaTests
  ✅ Get_OnMissingProperty_Throws
  ✅ GetSet_Basic
  ✅ GetSet_OnEmbeddedObject
  ✅ ObjectSchema_Enumerator_EnumeratesExtraProperties
  ❌ ObjectSchema_HasProperty_ReturnsCorrectBoolean
	at Realms.Tests.Database.RelaxedSchemaTests.ObjectSchema_HasProperty_ReturnsCorrectBoolean() in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/RelaxedSchemaTests.cs:line 299
  ✅ ObjectSchema_TryFindProperty_ReturnsExtraProperties
  ✅ Set_OnSameProperty_WorksWithCollectionOfSameType
  ✅ Set_OnSameProperty_WorksWithDifferentType
  ✅ Set_OnSameProperty_WorksWithSameType
  ✅ TryGet_OnExistingProperty_ReturnsTrue
  ✅ TryGet_OnMissingProperty_ReturnsFalse
  ✅ TryUnset_OnExtraProperty_RemovesPropertyAndReturnsTrue
  ✅ TryUnset_OnUnknownProperty_ReturnsFalse
  ✅ Unset_OnExtraProperty_RemovesProperty
  ✅ Unset_OnSchemaProperty_Throws
  ✅ Unset_OnUnknownProperty_Throws

Annotations

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results net6.0, osx-x64

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 /Users/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 /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 530
   at Realms.Tests.Database.DynamicAccessTests.RunTestInAllModes(Action`2 test) in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 53
   at Realms.Tests.Database.DynamicAccessTests.GetProperty_WhenPropertyIsDictionary_Throws() in /Users/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 net6.0, osx-x64

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 /Users/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 /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 506
   at Realms.Tests.Database.DynamicAccessTests.RunTestInAllModes(Action`2 test) in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/DynamicAccessTests.cs:line 53
   at Realms.Tests.Database.DynamicAccessTests.GetProperty_WhenPropertyIsList_Throws() in /Users/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 net6.0, osx-x64

Realm.Tests.dll.Realms.Tests.Database.RelaxedSchemaTests. ► Realms.Tests.Database.RelaxedSchemaTests ► ObjectSchema_HasProperty_ReturnsCorrectBoolean

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Database.RelaxedSchemaTests.ObjectSchema_HasProperty_ReturnsCorrectBoolean() in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/RelaxedSchemaTests.cs:line 299
Raw output
   at Realms.Tests.Database.RelaxedSchemaTests.ObjectSchema_HasProperty_ReturnsCorrectBoolean() in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/RelaxedSchemaTests.cs:line 299