__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
3 ���h1� � @ s$ d Z dZddlZyddlZW n ek r8 ddlZY nX ddlmZ ddlmZ ddlm Z ddlm Z ddlmZ dd lm Z dd lmZ ddlmZ ddlmZ dd lmZ dZG dd� dej�ZG dd� de�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedk�r ej� dS )z1Unittest for google.protobuf.internal.descriptor.z#robinson@google.com (Will Robinson)� N)�unittest_custom_options_pb2)�unittest_import_pb2)�unittest_pb2)�descriptor_pb2)�api_implementation)� test_util)� descriptor)�descriptor_pool)�symbol_database)�text_formatz name: 'TestEmptyMessage' c @ s� e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zejej� dkp�ej� dkd�d d!� �Zd"S )#�DescriptorTestc C s t jddd�}|jjdd�}|jjddt jjt jjd� |jjd d�}|j jd dd� |j jd dd� |j jddd� |jjdd� |j jdd�}|jjdddd�}| j� | _ | j j|� | j j|j�| _| jj|j | _| jj|j | _| jj|j | _| jj|j | _d S )Nzsome/filename/some.proto�protobuf_unittest)�name�package� NestedMessage)r Zbb� )r �number�type�label�ForeignEnum�FOREIGN_FOO� )r r ZFOREIGN_BAR� ZFOREIGN_BAZ� ZResponseMessageZServiceZ CallMethodz .protobuf_unittest.NestedMessagez".protobuf_unittest.ResponseMessage)r Z input_typeZoutput_type)r �FileDescriptorProto�message_type�add�fieldZFieldDescriptorProtoZ TYPE_INT32ZLABEL_OPTIONAL� enum_type�valueZservice�method�GetDescriptorPool�poolZAddZFindFileByNamer �my_file�message_types_by_name� my_message�enum_types_by_name�my_enum�services_by_name� my_service�methods_by_name� my_method)�self� file_protoZ message_protoZ enum_protoZ service_protoZmethod_proto� r. �%/usr/lib/python3.6/descriptor_test.py�setUp>