Skip to content

RNET-1161: Implement support for using a log level for a specific log category #1914

RNET-1161: Implement support for using a log level for a specific log category

RNET-1161: Implement support for using a log level for a specific log category #1914

GitHub Actions / Results Weaver failed Jun 28, 2024 in 1s

1471 passed, 1 failed and 0 skipped

Tests failed

❌ TestResults.xml

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

Test suite Passed Failed Skipped Time
Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage. 44✅ 1❌ 154s

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

Analytics.Tests
  ✅ ValidateFeatureUsage("IEmbeddedObject","I_EMBEDDED_OBJECT")
  ❌ ValidateFeatureUsage("IAsymmetricObject","I_ASYMMETRIC_OBJECT")
	at MongoDB.Bson.BsonDocument.get_Item(String name)
  ✅ 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 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Weaver

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

Failed test found in:
  TestResults.xml
Error:
     at MongoDB.Bson.BsonDocument.get_Item(String name)
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