mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-18 23:44:43 +01:00
Add Grpc ProtoBuf support (request-response) (#1047)
* ProtoBuf
* .
* x
* ---
* x
* fx
* ...
* sc
* ...
* .
* groen
* x
* fix tests
* ok!?
* fix tests
* fix tests
* !
* x
* 6
* .
* x
* ivaluematcher
* transformer
* .
* sc
* .
* mapping
* x
* tra
* com
* ...
* .
* .
* .
* AddProtoDefinition
* .
* set
* grpahj
* .
* .
* IdOrText
* ...
* async
* async2
* .
* t
* nuget
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />
* http version
* tests
* .WithHttpVersion("2")
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />
* HttpVersionParser
This commit is contained in:
@@ -102,7 +102,7 @@ public partial class MappingConverterTests
|
||||
return Verifier.Verify(code, VerifySettings);
|
||||
}
|
||||
|
||||
private Mapping CreateMapping()
|
||||
private IMapping CreateMapping()
|
||||
{
|
||||
var guid = new Guid("8e7b9ab7-e18e-4502-8bc9-11e6679811cc");
|
||||
var request = Request.Create()
|
||||
@@ -119,7 +119,8 @@ public partial class MappingConverterTests
|
||||
.WithDelay(12345)
|
||||
.WithTransformer();
|
||||
|
||||
return new Mapping(
|
||||
return new Mapping
|
||||
(
|
||||
guid,
|
||||
_updatedAt,
|
||||
string.Empty,
|
||||
@@ -136,9 +137,8 @@ public partial class MappingConverterTests
|
||||
null,
|
||||
false,
|
||||
null,
|
||||
data: null,
|
||||
probability: 0.3
|
||||
);
|
||||
data: null
|
||||
).WithProbability(0.3);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user