Skip to content

Let non-required, nullable properties of Record classes be C#-optiona… #351

Let non-required, nullable properties of Record classes be C#-optiona…

Let non-required, nullable properties of Record classes be C#-optiona… #351

Re-run triggered March 30, 2025 18:38
Status Failure
Total duration 4m 34s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
ubuntu-latest
[xUnit.net 00:00:01.95] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_native_record_no_setter_in_class_and_constructor_provided [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_native_record_no_setter_in_class_and_constructor_provided: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1822
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @city, string @stre"···
ubuntu-latest
[xUnit.net 00:00:03.10] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_class_is_abstract_constructor_is_protected_for_record [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_class_is_abstract_constructor_is_protected_for_record: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1870
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "protected AbstractAddress(string @city, s"···
ubuntu-latest
[xUnit.net 00:00:03.24] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_property_name_is_created_by_custom_fun_then_parameter_name_is_correct_for_record [FAIL]
ubuntu-latest
[xUnit.net 00:00:03.24] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_no_setter_in_class_and_constructor_provided [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_property_name_is_created_by_custom_fun_then_parameter_name_is_correct_for_record: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L177
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @myCustomCity, stri"···
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_no_setter_in_class_and_constructor_provided: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1797
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @city, string @stre"···
ubuntu-latest
[xUnit.net 00:00:03.28] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_has_inheritance [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_has_inheritance: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1889
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "protected AbstractAddress(string @city, s"···
windows-latest
[xUnit.net 00:00:02.78] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_native_record_no_setter_in_class_and_constructor_provided [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_native_record_no_setter_in_class_and_constructor_provided: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1822
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @city, string @stre"···
windows-latest
[xUnit.net 00:00:03.54] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_class_is_abstract_constructor_is_protected_for_record [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_class_is_abstract_constructor_is_protected_for_record: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1870
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "protected AbstractAddress(string @city, s"···
windows-latest
[xUnit.net 00:00:04.02] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_property_name_is_created_by_custom_fun_then_parameter_name_is_correct_for_record [FAIL]
windows-latest
[xUnit.net 00:00:04.02] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_no_setter_in_class_and_constructor_provided [FAIL]
windows-latest
[xUnit.net 00:00:04.06] NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_has_inheritance [FAIL]
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_property_name_is_created_by_custom_fun_then_parameter_name_is_correct_for_record: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L177
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @myCustomCity, stri"···
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_no_setter_in_class_and_constructor_provided: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1797
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "public Address(string @city, string @stre"···
NJsonSchema.CodeGeneration.CSharp.Tests.GeneralGeneratorTests.When_record_has_inheritance: _/src/NJsonSchema.CodeGeneration.CSharp.Tests/GeneralGeneratorTests.cs#L1889
Assert.Contains() Failure: Sub-string not found String: "//----------------------\n// <auto-generat"··· Not found: "protected AbstractAddress(string @city, s"···
ubuntu-latest
Attempting second-chance registration of MSBuild after RegisterDefaults failed
ubuntu-latest
Could not register MSBuild: "Could not load file or assembly 'System.Runtime, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. "
ubuntu-latest
Exception was suppressed