Class AbstractDescriptorTest


  • public abstract class AbstractDescriptorTest
    extends Object
    • Constructor Detail

      • AbstractDescriptorTest

        public AbstractDescriptorTest()
    • Method Detail

      • 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
      • findDescriptor

        protected com.google.protobuf.Descriptors.FileDescriptor findDescriptor​(List<com.google.protobuf.Descriptors.FileDescriptor> descriptors,
                                                                                String name)