Package io.roastedroot.protobuf4j.test
Class AbstractProtoTextConverterTest
- java.lang.Object
-
- io.roastedroot.protobuf4j.test.AbstractProtoTextConverterTest
-
public abstract class AbstractProtoTextConverterTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractProtoTextConverterTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProtobufTestAdaptercreateAdapter(Path workdir)voidshouldConvertFileDescriptorSet()voidshouldConvertHelloWorldProtoWithOptions()voidshouldConvertProtoWithAllFieldTypes()voidshouldConvertProtoWithEnum()voidshouldConvertProtoWithImports()voidshouldConvertProtoWithMapField()voidshouldConvertProtoWithNestedEnum()voidshouldConvertProtoWithNestedMessage()voidshouldConvertProtoWithOneof()voidshouldConvertProtoWithOptionalField()voidshouldConvertProtoWithRepeatedField()voidshouldConvertProtoWithReservedFields()voidshouldConvertProtoWithService()voidshouldConvertProtoWithStreamingRpc()voidshouldConvertSimpleProtoToText()voidshouldRoundTripSimpleProto()
-
-
-
Method Detail
-
createAdapter
protected abstract ProtobufTestAdapter createAdapter(Path workdir)
-
shouldConvertSimpleProtoToText
@Test public void shouldConvertSimpleProtoToText() throws Exception- Throws:
Exception
-
shouldConvertHelloWorldProtoWithOptions
@Test public void shouldConvertHelloWorldProtoWithOptions() throws Exception- Throws:
Exception
-
shouldConvertProtoWithService
@Test public void shouldConvertProtoWithService() throws Exception- Throws:
Exception
-
shouldConvertProtoWithEnum
@Test public void shouldConvertProtoWithEnum() throws Exception- Throws:
Exception
-
shouldConvertProtoWithNestedMessage
@Test public void shouldConvertProtoWithNestedMessage() throws Exception- Throws:
Exception
-
shouldConvertProtoWithRepeatedField
@Test public void shouldConvertProtoWithRepeatedField() throws Exception- Throws:
Exception
-
shouldConvertProtoWithOneof
@Test public void shouldConvertProtoWithOneof() throws Exception- Throws:
Exception
-
shouldConvertProtoWithMapField
@Test public void shouldConvertProtoWithMapField() throws Exception- Throws:
Exception
-
shouldConvertProtoWithImports
@Test public void shouldConvertProtoWithImports() throws Exception- Throws:
Exception
-
shouldConvertProtoWithAllFieldTypes
@Test public void shouldConvertProtoWithAllFieldTypes() throws Exception- Throws:
Exception
-
shouldConvertProtoWithReservedFields
@Test public void shouldConvertProtoWithReservedFields() throws Exception- Throws:
Exception
-
shouldConvertFileDescriptorSet
@Test public void shouldConvertFileDescriptorSet() throws Exception- Throws:
Exception
-
shouldRoundTripSimpleProto
@Test public void shouldRoundTripSimpleProto() throws Exception- Throws:
Exception
-
shouldConvertProtoWithStreamingRpc
@Test public void shouldConvertProtoWithStreamingRpc() throws Exception- Throws:
Exception
-
shouldConvertProtoWithOptionalField
@Test public void shouldConvertProtoWithOptionalField() throws Exception- Throws:
Exception
-
-