Skip to content

Commit cf82724

Browse files
committed
(╯°□°)╯︵ ┻━┻
1 parent 9525c08 commit cf82724

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

tests/protobuf-net.Grpc.Test.Integration/StreamTests.cs

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,18 @@ public async ValueTask DisposeAsync()
340340
}
341341
#endif
342342

343+
public class StreamMarshallerTests
344+
{
345+
[Fact]
346+
public void FooIsContractType()
347+
=> Assert.True(RuntimeTypeModel.Default.IsDefined(typeof(Foo)));
348+
349+
350+
[Fact]
351+
public void FooHasMarshaller()
352+
=> Assert.NotNull(BinderConfiguration.Default.GetMarshaller<Foo>());
353+
}
354+
343355
public abstract class StreamTests : IClassFixture<StreamTestsFixture>, IDisposable
344356
{
345357
public class DebugTheoryAttribute : TheoryAttribute
@@ -379,15 +391,6 @@ public StreamTests(int port, StreamTestsFixture fixture, ITestOutputHelper log)
379391

380392
const int DEFAULT_SIZE = 20;
381393

382-
[Fact]
383-
public void FooIsContractType()
384-
=> Assert.True(RuntimeTypeModel.Default.IsDefined(typeof(Foo)));
385-
386-
387-
[Fact]
388-
public void FooHasMarshaller()
389-
=> Assert.NotNull(BinderConfiguration.Default.GetMarshaller<Foo>());
390-
391394
[DebugTheory]
392395
[InlineData(Scenario.RunToCompletion, DEFAULT_SIZE, CallContextFlags.None)]
393396
[InlineData(Scenario.RunToCompletion, DEFAULT_SIZE, CallContextFlags.CaptureMetadata)]

0 commit comments

Comments
 (0)