Package io.roastedroot.protobuf4j.test
Class AbstractDescriptorTest
- java.lang.Object
-
- io.roastedroot.protobuf4j.test.AbstractDescriptorTest
-
public abstract class AbstractDescriptorTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractDescriptorTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProtobufTestAdaptercreateAdapter(Path workdir)protected com.google.protobuf.Descriptors.FileDescriptorfindDescriptor(List<com.google.protobuf.Descriptors.FileDescriptor> descriptors, String name)voidshouldAutomaticallyProvideWellKnownTypesWithoutManualSetup()voidshouldBuildFileDescriptorsFromDescriptorSet()voidshouldBuildFileDescriptorsFromPath()voidshouldBuildFileDescriptorWithTimestamp()voidshouldConvertBackToProto()voidshouldExtractDescriptors()voidshouldHandleGoogleApisTypesImportingWellKnownTypes()voidshouldHandleMultipleWellKnownTypes()voidshouldHandleProtoWithoutPackageName()voidshouldHandleWellKnownTypeImport_Timestamp()voidshouldHandleWellKnownTypesInBuildFileDescriptorsFromDescriptorSet()
-
-
-
Method Detail
-
createAdapter
protected abstract ProtobufTestAdapter createAdapter(Path workdir)
-
shouldExtractDescriptors
@Test public void shouldExtractDescriptors() throws Exception- Throws:
Exception
-
shouldBuildFileDescriptorsFromPath
@Test public void shouldBuildFileDescriptorsFromPath() throws Exception- Throws:
Exception
-
shouldBuildFileDescriptorsFromDescriptorSet
@Test public void shouldBuildFileDescriptorsFromDescriptorSet() throws Exception- Throws:
Exception
-
shouldConvertBackToProto
@Test public void shouldConvertBackToProto() throws Exception- Throws:
Exception
-
shouldHandleProtoWithoutPackageName
@Test public void shouldHandleProtoWithoutPackageName() throws Exception- Throws:
Exception
-
shouldHandleWellKnownTypeImport_Timestamp
@Test public void shouldHandleWellKnownTypeImport_Timestamp() throws Exception- Throws:
Exception
-
shouldBuildFileDescriptorWithTimestamp
@Test public void shouldBuildFileDescriptorWithTimestamp() throws Exception- Throws:
Exception
-
shouldHandleMultipleWellKnownTypes
@Test public void shouldHandleMultipleWellKnownTypes() throws Exception- Throws:
Exception
-
shouldAutomaticallyProvideWellKnownTypesWithoutManualSetup
@Test public void shouldAutomaticallyProvideWellKnownTypesWithoutManualSetup() throws Exception- Throws:
Exception
-
shouldHandleGoogleApisTypesImportingWellKnownTypes
@Test public void shouldHandleGoogleApisTypesImportingWellKnownTypes() throws Exception- Throws:
Exception
-
shouldHandleWellKnownTypesInBuildFileDescriptorsFromDescriptorSet
@Test public void shouldHandleWellKnownTypesInBuildFileDescriptorsFromDescriptorSet() throws Exception- Throws:
Exception
-
-