Fix google protobuf WellKnownTypes: Empty, Duration and Timestamp (#1231)

* Fix google protobuf WellKnownTypes: Timestamp and Duration

* Fix protobuf Empty

* .

* small refactor

* 006

* fix

* policy

* ---

* <PackageReference Include="ProtoBufJsonConverter" Version="0.7.0" />
This commit is contained in:
Stef Heyenrath
2025-01-09 18:50:16 +01:00
committed by GitHub
parent 9c94324cff
commit 44c1c7aaa8
15 changed files with 413 additions and 79 deletions

View File

@@ -215,10 +215,10 @@ public partial class WireMockServerTests
{
// Arrange
var port = PortUtils.FindFreeTcpPort();
var IPv4 = GetIPAddressesByFamily(System.Net.Sockets.AddressFamily.InterNetwork);
var IPv4 = GetIPAddressesByFamily(AddressFamily.InterNetwork);
var settings = new WireMockServerSettings
{
Urls = ["http://0.0.0.0:" + port],
Urls = ["http://0.0.0.0:" + port]
};
using var server = WireMockServer.Start(settings);
@@ -234,15 +234,16 @@ public partial class WireMockServerTests
}
}
#if NET8_0_OR_GREATER
[IgnoreOnContinuousIntegrationFact]
public async Task WireMockServer_WithUrl0000_Should_Listen_On_All_IPs_IPv6()
{
// Arrange
var port = PortUtils.FindFreeTcpPort();
var IPv6 = GetIPAddressesByFamily(System.Net.Sockets.AddressFamily.InterNetworkV6);
var IPv6 = GetIPAddressesByFamily(AddressFamily.InterNetworkV6);
var settings = new WireMockServerSettings
{
Urls = ["http://0.0.0.0:" + port],
Urls = ["http://0.0.0.0:" + port]
};
using var server = WireMockServer.Start(settings);
@@ -257,6 +258,7 @@ public partial class WireMockServerTests
response.Should().Be("x");
}
}
#endif
#endif
[Fact]