Use source generation for serialization #687
452 passed, 130 failed and 5 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_49_40.trx | 136✅ | 3s | ||
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_49_46.trx | 136✅ | 5s | ||
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx | 180✅ | 130❌ | 5⚪ | 1732s |
✅ /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_49_40.trx
136 tests were completed in 3s with 136 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
NGitLab.Mock.Tests.BotUserTests | 2✅ | 43ms | ||
NGitLab.Mock.Tests.BranchesMockTests | 1✅ | 136ms | ||
NGitLab.Mock.Tests.CommitsMockTests | 6✅ | 133ms | ||
NGitLab.Mock.Tests.ConfigTests | 3✅ | 283ms | ||
NGitLab.Mock.Tests.GitLabClientMockTest | 26✅ | 23ms | ||
NGitLab.Mock.Tests.GroupsMockTests | 24✅ | 122ms | ||
NGitLab.Mock.Tests.IssuesMockTests | 5✅ | 94ms | ||
NGitLab.Mock.Tests.LabelsMockTests | 7✅ | 9ms | ||
NGitLab.Mock.Tests.LintCITests | 3✅ | 5ms | ||
NGitLab.Mock.Tests.MembersMockTests | 7✅ | 66ms | ||
NGitLab.Mock.Tests.MergeRequestsMockTests | 15✅ | 288ms | ||
NGitLab.Mock.Tests.MilestonesMockTests | 7✅ | 29ms | ||
NGitLab.Mock.Tests.PipelineTests | 6✅ | 54ms | ||
NGitLab.Mock.Tests.ProjectsMockTests | 19✅ | 752ms | ||
NGitLab.Mock.Tests.ReleasesMockTests | 4✅ | 43ms | ||
NGitLab.Mock.Tests.TagTests | 1✅ | 12ms |
✅ /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_49_46.trx
136 tests were completed in 5s with 136 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
NGitLab.Mock.Tests.BotUserTests | 2✅ | 74ms | ||
NGitLab.Mock.Tests.BranchesMockTests | 1✅ | 120ms | ||
NGitLab.Mock.Tests.CommitsMockTests | 6✅ | 124ms | ||
NGitLab.Mock.Tests.ConfigTests | 3✅ | 316ms | ||
NGitLab.Mock.Tests.GitLabClientMockTest | 26✅ | 14ms | ||
NGitLab.Mock.Tests.GroupsMockTests | 24✅ | 110ms | ||
NGitLab.Mock.Tests.IssuesMockTests | 5✅ | 94ms | ||
NGitLab.Mock.Tests.LabelsMockTests | 7✅ | 9ms | ||
NGitLab.Mock.Tests.LintCITests | 3✅ | 3ms | ||
NGitLab.Mock.Tests.MembersMockTests | 7✅ | 38ms | ||
NGitLab.Mock.Tests.MergeRequestsMockTests | 15✅ | 218ms | ||
NGitLab.Mock.Tests.MilestonesMockTests | 7✅ | 31ms | ||
NGitLab.Mock.Tests.PipelineTests | 6✅ | 62ms | ||
NGitLab.Mock.Tests.ProjectsMockTests | 19✅ | 485ms | ||
NGitLab.Mock.Tests.ReleasesMockTests | 4✅ | 49ms | ||
NGitLab.Mock.Tests.TagTests | 1✅ | 28ms |
❌ /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
315 tests were completed in 1732s with 180 passed, 130 failed and 5 skipped.
❌ NGitLab.Tests.CommitStatusTests
❌ Test_get_commit_status
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.CommitStatus[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_post_commit_status_and_update_it_from_canceled_to_pending
✅ Test_post_commit_status_and_update_it_from_pending_to_canceled
✅ Test_post_commit_status_and_update_it_from_pending_to_failed
✅ Test_post_commit_status_and_update_it_from_pending_to_running_to_success
✅ Test_post_commit_status_and_update_it_from_success_to_canceled
✅ Test_post_commit_status_and_update_it_from_success_to_failed
✅ Test_post_commit_status_and_update_it_from_success_to_pending
✅ Test_post_commit_status_with_no_coverage
❌ NGitLab.Tests.CommitsTests
✅ Test_can_cherry_pick_commit
✅ Test_can_get_commit
❌ Test_can_get_merge_request_associated_to_commit
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_can_get_stats_in_commit
❌ NGitLab.Tests.ContributorsTests
❌ Test_can_get_contributors
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_can_get_MultipleContributors
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.EnvironmentsTests
❌ CreateAndGetAll
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Delete
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Edit
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ GetById
❌ QueryByName
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ QueryBySearch
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ QueryByState
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Stop
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.EventTests
❌ Test_get_global_events_works
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Event[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_user_events_works
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Event[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.FilesTests
✅ Test_add_update_delete_and_get_file
❌ Test_blame_comparison
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Blame[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_blame_of_an_old_commit
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Blame[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_blame_of_latest_commit
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Blame[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_get_file_with_bom
❌ NGitLab.Tests.GraphQLTests
❌ Test_get_project
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Impl.GraphQLClient+GraphQLResponse`1[NGitLab.Tests.GraphQLTests+ProjectResponse]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_invalid_request
Assert.That(caughtException, expression)
Expected: <NGitLab.GitLabException>
But was: <System.InvalidOperationException: JsonTypeInfo metadata for type 'NGitLab.Impl.GraphQLClient+GraphQLResponse`1[NGitLab.Tests.GraphQLTests+ProjectResponse]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.DeserializeAsync[T](Stream s) in /_/NGitLab/Impl/HttpRequestor.cs:line 191
at NGitLab.Impl.HttpRequestor.<>c__DisplayClass12_0`1.<<ToAsync>b__0>d.MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 77
--- End of stack trace from previous location ---
at NGitLab.Impl.HttpRequestor.StreamAndHeadersAsync(String tailAPIUrl, Func`3 parser, CancellationToken cancellationToken) in /_/NGitLab/Impl/HttpRequestor.cs:line 163
at NGitLab.Impl.HttpRequestor.ToAsync[T](String tailAPIUrl, CancellationToken cancellationToken) in /_/NGitLab/Impl/HttpRequestor.cs:line 75
at NGitLab.Impl.GraphQLClient.ExecuteAsync[T](GraphQLQuery query, CancellationToken cancellationToken) in /_/NGitLab/Impl/GraphQLClient.cs:line 20
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
❌ NGitLab.Tests.GroupBadgeClientTests
❌ Test_group_badges
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Badge[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.GroupHooksClientTests
❌ Test_create_update_delete_group_hook
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.GroupHook[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.GroupsTests
✅ Test_create_delete_group
✅ Test_get_by_group_query_groupQuery_AllAvailable_returns_groups
✅ Test_get_by_group_query_groupQuery_MinAccessLevel_returns_groups
✅ Test_get_by_group_query_groupQuery_OrderBy_returns_groups
✅ Test_get_by_group_query_groupQuery_Owned_returns_groups
✅ Test_get_by_group_query_groupQuery_Search_returns_groups
✅ Test_get_by_group_query_groupQuery_SkipGroups_returns_groups
✅ Test_get_by_group_query_groupQuery_Sort_returns_groups
✅ Test_get_by_group_query_groupQuery_Statistics_returns_groups
✅ Test_get_by_group_query_groupQuery_WithCustomAttributes_returns_groups
✅ Test_get_by_group_query_nulls_does_not_throws
✅ Test_get_group_by_fullpath
✅ Test_get_subgroups_by_fullpath
✅ Test_get_subgroups_by_fullpath_groupQuery_MinAccessLevel_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_OrderBy_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_Owned_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_Search_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_Sort_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_Statistics_returns_groups
✅ Test_get_subgroups_by_fullpath_groupQuery_WithCustomAttributes_returns_groups
✅ Test_get_subgroups_by_fullpath_query_groupQuery_AllAvailable_returns_groups
✅ Test_get_subgroups_by_fullpath_SkipGroups_returns_groups
✅ Test_get_subgroups_by_id
✅ Test_get_subgroups_by_id_groupQuery_AllAvailable_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_MinAccessLevel_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_OrderBy_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_Owned_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_Search_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_Sort_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_Statistics_returns_groups
✅ Test_get_subgroups_by_id_groupQuery_WithCustomAttributes_returns_groups
✅ Test_get_subgroups_by_id_SkipGroups_returns_groups
✅ Test_group_created_on_date_is_now
✅ Test_group_projects_query_returns_archived
✅ Test_group_projects_query_returns_searched_project
✅ Test_groups_is_not_empty
❌ Test_page_group_projects_returns_expected_pages
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.IReadOnlyCollection`1[NGitLab.Models.Project]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_page_group_query_TopLevelOnly_does_not_return_children
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.IReadOnlyCollection`1[NGitLab.Models.Group]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_page_group_returns_expected_pages
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.IReadOnlyCollection`1[NGitLab.Models.Group]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_page_subgroup_including_descendants_returns_expected_pages
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.IReadOnlyCollection`1[NGitLab.Models.Group]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_page_subgroup_returns_expected_pages
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.IReadOnlyCollection`1[NGitLab.Models.Group]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_projects_are_set_in_a_group_by_id
❌ NGitLab.Tests.GroupVariableClientTests
❌ Test_group_variables
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Variable[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.Impl.JsonConverterTests
❌ Test_DeserializeNullToSupportedValueType_Succeeds
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeNullToUnsupportedValueType_Throws
Assert.That(caughtException, expression)
Expected: <System.Text.Json.JsonException>
But was: <System.InvalidOperationException: JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Tests.Impl.JsonConverterTests.<>c__DisplayClass1_0.<Test_DeserializeNullToUnsupportedValueType_Throws>b__0() in /_/NGitLab.Tests/Impl/JsonConverterTests.cs:line 35
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
❌ Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12",Unspecified)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12T22:49:21.552+00:00",Utc)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12T22:49:21.552Z",Utc)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeStringToDouble_Succeeds
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeStringToInt32
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_DeserializeStringToInt64_Succeeds
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.JsonConverterTests+MyDataContract' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.Impl.SimpleJsonTests
❌ Test_basic_field
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.SimpleJsonTests+MockModel' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_dynamic_enums_fill_the_enum_value_when_the_enum_is_unknown
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.SimpleJsonTests+MockModel' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_dynamic_enums_fill_the_string_value_when_the_enum_is_unknown
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.Impl.SimpleJsonTests+MockModel' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.IssueTests
❌ Test_get_all_project_issues
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_all_resource_label_events
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_all_resource_milestone_events
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_assigned_issues_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_assigned_issues_with_IssueQuery_and_project_id
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_confidential_issues_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_get_issue_by_id
❌ Test_get_issue_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_issues_no_confidential_filter_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_get_issues_with_invalid_project_id_will_throw
❌ Test_get_linked_issue
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_get_new_and_updated_issue_with_duedate
❌ Test_get_non_confidential_issues_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_unassigned_issues_with_IssueQuery
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Issue[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.JobTests
❌ Test_get_job_artifact
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_job_artifact_query
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_job_artifacts
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_job_from_id
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_job_trace
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_getjobs_all
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_getjobs_multiple_scopes
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_getjobs_scope
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_run_action_play
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_run_action_retry
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.JsonTests
❌ DeserializeEnumWithEnumMemberAttribute_Ok("v1",Value1)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestEnum' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ DeserializeEnumWithEnumMemberAttribute_Ok("V1",Value1)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestEnum' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ DeserializeEnumWithEnumMemberAttribute_Ok("v2",Value2)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestEnum' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ DeserializeEnumWithEnumMemberAttribute_Ok("V2",Value2)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestEnum' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ DeserializeEnumWithEnumMemberAttribute_Ok("value2",Value2)
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestEnum' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ DeserializeEnumWithEnumMemberAttribute_UnknownValues("dfsf")
❌ DeserializeNewerContract_Ok
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestContractV2' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ DeserializeOlderContract_Ok
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Tests.JsonTests+TestContractV1' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.LintClientTests
❌ LintInvalidCIYaml
System.NotSupportedException : JsonTypeInfo metadata for type '<>f__AnonymousType0`1[System.String]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ LintInvalidProjectCIYaml
✅ LintValidCIProjectYaml
❌ LintValidCIYaml
System.NotSupportedException : JsonTypeInfo metadata for type '<>f__AnonymousType0`1[System.String]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.MembersClientTests
❌ AddMemberToGroup
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Membership[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ AddMemberToProject
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Membership[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ AsyncMethodsBehaveAsExpected
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Membership[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ GetAccessLevelMemberOfGroup
✅ GetAccessLevelMemberOfProject
❌ UpsertAccessLevelMemberOfGroup
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Membership[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ UpsertAccessLevelMemberOfProject
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Membership[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.MergeRequestClientTests
✅ Test_cancel_merge_when_pipeline_succeeds
❌ Test_get_assigned_merge_requests
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_unassigned_merge_requests
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_gitlab_returns_an_error_when_trying_to_create_a_request_with_same_source_and_destination
❌ Test_merge_request_api
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
⚪ Test_merge_request_approvers
✅ Test_merge_request_delete
✅ Test_merge_request_head_pipeline
✅ Test_merge_request_id_is_not_equal_to_iid
✅ Test_merge_request_rebase
✅ Test_merge_request_rebaseasync_skip_ci
❌ Test_merge_request_versions
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequestVersion[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_set_reviewers_merge_requests
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.MergeRequestDiscussionsClientTests
❌ AddDiscussionToMergeRequest_DiscussionCreated
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequestDiscussion[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ AddDiscussionToMergeRequestOnArchivedProject
❌ DeleteOneNoteFromDiscussion_DiscussionAndNoteDeleted
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequestDiscussion[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ EditCommentFromDiscussion_CommentEdited
✅ GetDiscussion_DiscussionFound
✅ ResolveDiscussion_AllNotesResolved
❌ NGitLab.Tests.Milestone.MilestoneClientTests
❌ Test_group_milestone_api
System.NotSupportedException : JsonTypeInfo metadata for type 'NGitLab.Models.MilestoneUpdateState' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_group_milestone_merge_requests
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_project_milestone_api
System.NotSupportedException : JsonTypeInfo metadata for type 'NGitLab.Models.MilestoneUpdateState' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_project_milestone_merge_requests
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.NamespacesTests
❌ Test_namespaces_contains_a_group
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Namespace[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_namespaces_contains_a_user
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Namespace[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_namespaces_search_for_group
❌ Test_namespaces_search_for_user
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Namespace[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.PipelineTests
❌ Test_can_get_coverage
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_can_list_all_jobs_from_project
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Job[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_can_list_jobs_from_pipeline
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_can_list_the_pipelines
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ Test_create_pipeline_with_testreports
❌ Test_create_pipeline_with_variables
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineVariable[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_delete_pipeline
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_get_triggered_pipeline_variables
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineVariable[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_retry
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_search_for_pipeline
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.PipelineBasic[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.ProjectBadgeClientTests
❌ Test_project_badges
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Badge[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.ProjectIssueNoteTests
✅ CreateNote
❌ ListNotes
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.ProjectIssueNote[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.ProjectsTests
✅ CreateAsync_CreatesNewProject
✅ CreateAsync_WhenInitializeWithReadmeIsFalse_ItIgnoresDefaultBranch
✅ CreateAsync_WhenProjectAlreadyExists_ItThrows
✅ CreateProjectWithSquashOption(Always)
✅ CreateProjectWithSquashOption(DefaultOff)
✅ CreateProjectWithSquashOption(DefaultOn)
✅ CreateProjectWithSquashOption(Never)
✅ CreateProjectWithSquashOption(null)
✅ CreateUpdateDelete(False)
✅ CreateUpdateDelete(True)
✅ DeleteAsync_WhenProjectExists_ItIsDeleted
✅ DeleteAsync_WhenProjectNotFound_ItThrows
✅ ForkProject
✅ GetAccessibleProjects
✅ GetByNamespacedPathAsync
✅ GetOwnedProjects
✅ GetProjectAsync_WhenProjectDoesNotExist_ShouldThrowNotFound
✅ GetProjectAsync_WithPathAndWithoutQuery_ReturnsProject
✅ GetProjectAsync_WorksWithId_ReturnsProject
✅ GetProjectByIdAsync
✅ GetProjectByIdByQuery_Statistics
✅ GetProjectByTopics
❌ GetProjectLanguages
System.InvalidOperationException : JsonTypeInfo metadata for type 'System.Collections.Generic.Dictionary`2[System.String,System.Double]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
✅ GetProjectsAsync
✅ GetProjectsByLastActivity
✅ GetProjectsByQuery
✅ GetProjectsByQuery_VisibilityInternal
✅ GetProjectsCanSpecifyTheProjectPerPageCount
✅ GetProjectsProperties
✅ GetProjectsStatistics
✅ GetVisibleProjects
✅ IsEmpty
✅ SearchAsync_WhenNotFound_ReturnsEmptySet
✅ SearchAsync_WhenSearchForExistingProject_ItFindsIt
✅ Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Developer)
✅ Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Guest)
✅ Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Maintainer)
✅ Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Reporter)
✅ UpdateAsync_WhenProjectNotFound_ItThrows
✅ UpdateAsync_WhenUpdateVisibilityAndTopics_ItWorks
❌ NGitLab.Tests.ProjectVariableClientTests
❌ Test_project_variables
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Variable[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.ProtectedBranchTests
❌ ProtectBranch_Test
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.ProtectedBranch[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.ProtectedTagTests
❌ ProtectTag_Test
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.ProtectedTag[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.Release.ReleaseClientTests
❌ Test_release_api
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.ReleaseInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ Test_release_links
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Tag[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.RepositoryClient.ProjectHooksClientTests
❌ CreateUpdateDelete
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.ProjectHook[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ NGitLab.Tests.RepositoryClient.RepositoryClientTests
✅ GetAllCommits
❌ GetAllTreeObjectsAtInvalidPath
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Tree[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
❌ GetAllTreeObjectsAtRoot(11)
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.CommitStatusTests ► Test_get_commit_status
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.CommitStatus[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.CommitStatus[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerContext context, Type inputType)
at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerContext context)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 242
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NGitLab.Tests.CommitStatusTests.Test_get_commit_status() in /_/NGitLab.Tests/CommitStatusTests.cs:line 92
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.CommitsTests ► Test_can_get_merge_request_associated_to_commit
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 242
at System.Linq.Enumerable.<Any>g__WithEnumerator|36_0[TSource](IEnumerable`1 source)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at NGitLab.Tests.CommitsTests.<>c.<Test_can_get_merge_request_associated_to_commit>b__2_1(GitLabCollectionResponse`1 mergeRequests) in /_/NGitLab.Tests/CommitsTests.cs:line 78
at NGitLab.Tests.Docker.GitLabTestContext.RetryUntilAsync[T](Func`1 action, Func`2 predicate, CancellationToken cancellationToken) in /_/NGitLab.Tests/Docker/GitLabTestContext.cs:line 465
at NGitLab.Tests.Docker.GitLabTestContext.RetryUntilAsync[T](Func`1 action, Func`2 predicate, TimeSpan timeSpan) in /_/NGitLab.Tests/Docker/GitLabTestContext.cs:line 458
at NGitLab.Tests.CommitsTests.Test_can_get_merge_request_associated_to_commit() in /_/NGitLab.Tests/CommitsTests.cs:line 76
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.ContributorsTests ► Test_can_get_contributors
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 242
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at NGitLab.Tests.ContributorsTests.Test_can_get_contributors() in /_/NGitLab.Tests/ContributorsTests.cs:line 23
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.ContributorsTests ► Test_can_get_MultipleContributors
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 242
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NGitLab.Tests.ContributorsTests.<>c__DisplayClass1_0.<Test_can_get_MultipleContributors>b__2() in /_/NGitLab.Tests/ContributorsTests.cs:line 64
at NGitLab.Tests.Docker.GitLabTestContext.RetryUntilAsync[T](Func`1 action, Func`2 predicate, CancellationToken cancellationToken) in /_/NGitLab.Tests/Docker/GitLabTestContext.cs:line 464
at NGitLab.Tests.Docker.GitLabTestContext.RetryUntilAsync[T](Func`1 action, Func`2 predicate, TimeSpan timeSpan) in /_/NGitLab.Tests/Docker/GitLabTestContext.cs:line 458
at NGitLab.Tests.ContributorsTests.Test_can_get_MultipleContributors() in /_/NGitLab.Tests/ContributorsTests.cs:line 64
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► CreateAndGetAll
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext() in /_/NGitLab/Impl/HttpRequestor.cs:line 242
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at NGitLab.Tests.EnvironmentsTests.CreateAndGetAll() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 34
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► Delete
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at NGitLab.Tests.EnvironmentsTests.Delete() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 113
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► Edit
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at NGitLab.Tests.EnvironmentsTests.Edit() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 78
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► QueryByName
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at NGitLab.Tests.EnvironmentsTests.QueryByName() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 213
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► QueryBySearch
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at NGitLab.Tests.EnvironmentsTests.QueryBySearch() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 240
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► QueryByState
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at NGitLab.Tests.EnvironmentsTests.QueryByState() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 188
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36
github-actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
NGitLab.Tests.EnvironmentsTests ► Stop
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
Raw output
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_NoMetadataForType(Type type, IJsonTypeInfoResolver resolver)
at NGitLab.Impl.Json.Serializer.Deserialize[T](String json) in /_/NGitLab/Impl/Json/Serializer.cs:line 29
at NGitLab.Impl.HttpRequestor.Enumerable`1.GetEnumerator()+MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at NGitLab.Tests.EnvironmentsTests.Stop() in /_/NGitLab.Tests/EnvironmentsTests.cs:line 151
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NGitLab.Tests.Docker.NGitLabRetryAttribute.RetryCommand.Execute(TestExecutionContext context) in /_/NGitLab.Tests/Docker/NGitLabRetryAttribute.cs:line 36