Skip to content

Added support for expressions in keypath building #1619

Added support for expressions in keypath building

Added support for expressions in keypath building #1619

GitHub Actions / Results Weaver win-x64 failed Mar 1, 2024 in 1s

Results Weaver win-x64 ❌

Tests failed

❌ TestResults.Weaver.xml

1472 tests were completed in 217s with 1471 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage. 44✔️ 1❌ 127s

❌ Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage.

Analytics.Tests
  ✔️ ValidateFeatureUsage("IEmbeddedObject","I_EMBEDDED_OBJECT")
  ❌ ValidateFeatureUsage("IAsymmetricObject","I_ASYMMETRIC_OBJECT")
	System.Collections.Generic.KeyNotFoundException : Element 'Asymmetric_Object' not found.
  ✔️ ValidateFeatureUsage("ReferenceList","REFERENCE_LIST")
  ✔️ ValidateFeatureUsage("PrimitiveList","PRIMITIVE_LIST")
  ✔️ ValidateFeatureUsage("ReferenceDictionary","REFERENCE_DICTIONARY")
  ✔️ ValidateFeatureUsage("PrimitiveDictionary","PRIMITIVE_DICTIONARY")
  ✔️ ValidateFeatureUsage("ReferenceSet","REFERENCE_SET")
  ✔️ ValidateFeatureUsage("PrimitiveSet","PRIMITIVE_SET")
  ✔️ ValidateFeatureUsage("RealmInteger","REALM_INTEGER")
  ✔️ ValidateFeatureUsage("RealmObjectReference","REALM_OBJECT_REFERENCE")
  ✔️ ValidateFeatureUsage("RealmValue","REALM_VALUE")
  ✔️ ValidateFeatureUsage("BacklinkAttribute","BACKLINK_ATTRIBUTE")
  ✔️ ValidateFeatureUsage("GetInstanceAsync","GET_INSTANCE_ASYNC")
  ✔️ ValidateFeatureUsage("GetInstance","GET_INSTANCE")
  ✔️ ValidateFeatureUsage("Find","FIND")
  ✔️ ValidateFeatureUsage("WriteAsync","WRITE_ASYNC")
  ✔️ ValidateFeatureUsage("ThreadSafeReference","THREAD_SAFE_REFERENCE")
  ✔️ ValidateFeatureUsage("Add","ADD")
  ✔️ ValidateFeatureUsage("ShouldCompactOnLaunch","SHOULD_COMPACT_ON_LAUNCH")
  ✔️ ValidateFeatureUsage("MigrationCallback","MIGRATION_CALLBACK")
  ✔️ ValidateFeatureUsage("RealmChanged","REALM_CHANGED")
  ✔️ ValidateFeatureUsage("ListSubscribeForNotifications","LIST_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("SetSubscribeForNotifications","SET_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("DictionarySubscribeForNotifications","DICTIONARY_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("ResultSubscribeForNotifications","RESULT_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("ObjectNotification","OBJECT_NOTIFICATION")
  ✔️ ValidateFeatureUsage("RecoverOrDiscardUnsyncedChangesHandler","RECOVER_OR_DISCARD_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("RecoverUnsyncedChangesHandler","RECOVER_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("DiscardUnsyncedChangesHandler","DISCARD_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("ManualRecoveryHandler","MANUAL_RECOVERY_HANDLER")
  ✔️ ValidateFeatureUsage("GetProgressObservable","GET_PROGRESS_OBSERVABLE")
  ✔️ ValidateFeatureUsage("PartitionSyncConfiguration","PARTITION_SYNC_CONFIGURATION")
  ✔️ ValidateFeatureUsage("FlexibleSyncConfiguration","FLEXIBLE_SYNC_CONFIGURATION")
  ✔️ ValidateFeatureUsage("Anonymous","ANONYMOUS")
  ✔️ ValidateFeatureUsage("EmailPassword","EMAIL_PASSWORD")
  ✔️ ValidateFeatureUsage("Facebook","FACEBOOK")
  ✔️ ValidateFeatureUsage("Google","GOOGLE")
  ✔️ ValidateFeatureUsage("Apple","APPLE")
  ✔️ ValidateFeatureUsage("JWT","J_W_T")
  ✔️ ValidateFeatureUsage("ApiKey","API_KEY")
  ✔️ ValidateFeatureUsage("Function","FUNCTION")
  ✔️ ValidateFeatureUsage("CallAsync","CALL_ASYNC")
  ✔️ ValidateFeatureUsage("GetMongoClient","GET_MONGO_CLIENT")
  ✔️ ValidateFeatureUsage("DynamicApi","DYNAMIC_API")
  ✔️ ValidateFeatureUsage("ConnectionNotification","CONNECTION_NOTIFICATION")

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Weaver win-x64

Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage. ► Analytics.Tests ► ValidateFeatureUsage("IAsymmetricObject","I_ASYMMETRIC_OBJECT")

Failed test found in:
  TestResults.Weaver.xml
Error:
  System.Collections.Generic.KeyNotFoundException : Element 'Asymmetric_Object' not found.
Raw output
   at MongoDB.Bson.BsonDocument.get_Item(String name)
   at Analytics.Tests.ValidateAnalyticsPayloadAllFrameworks(ValueTuple`2[] payloadFeatures) in D:\a\realm-dotnet\realm-dotnet\Tests\Weaver\Realm.Fody.Tests\AnalyticsTests.cs:line 173
   at Analytics.Tests.ValidateFeatureUsage(String feature, String constant) in D:\a\realm-dotnet\realm-dotnet\Tests\Weaver\Realm.Fody.Tests\AnalyticsTests.cs:line 83