Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
com.google.protobuf.test.ServiceTest Class Reference
Inheritance diagram for com.google.protobuf.test.ServiceTest:
Inheritance graph
[legend]

Classes

class  MockCallback
 
class  WrapsCallback
 

Public Member Functions

void testBlockingStub () throws Exception
 
void testCallMethod () throws Exception
 
void testGetPrototype () throws Exception
 
void testNewReflectiveBlockingService () throws ServiceException
 
void testNewReflectiveService ()
 
void testNoGenericServices () throws Exception
 
void testStub () throws Exception
 

Protected Member Functions

void setUp () throws Exception
 

Private Attributes

final Descriptors.MethodDescriptor barDescriptor
 
IMocksControl control
 
final Descriptors.MethodDescriptor fooDescriptor
 
RpcController mockController
 

Detailed Description

Tests services and stubs.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

Definition at line 60 of file compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ServiceTest.java.

Member Function Documentation

◆ setUp()

void com.google.protobuf.test.ServiceTest.setUp ( ) throws Exception
inlineprotected

◆ testBlockingStub()

void com.google.protobuf.test.ServiceTest.testBlockingStub ( ) throws Exception
inline

Tests generated blocking stubs.

Definition at line 142 of file compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ServiceTest.java.

◆ testCallMethod()

void com.google.protobuf.test.ServiceTest.testCallMethod ( ) throws Exception
inline

◆ testGetPrototype()

void com.google.protobuf.test.ServiceTest.testGetPrototype ( ) throws Exception
inline

Tests Service.get{Request,Response}Prototype().

Definition at line 100 of file compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ServiceTest.java.

◆ testNewReflectiveBlockingService()

void com.google.protobuf.test.ServiceTest.testNewReflectiveBlockingService ( ) throws ServiceException
inline

◆ testNewReflectiveService()

void com.google.protobuf.test.ServiceTest.testNewReflectiveService ( )
inline

◆ testNoGenericServices()

void com.google.protobuf.test.ServiceTest.testNoGenericServices ( ) throws Exception
inline

◆ testStub()

void com.google.protobuf.test.ServiceTest.testStub ( ) throws Exception
inline

Member Data Documentation

◆ barDescriptor

final Descriptors.MethodDescriptor com.google.protobuf.test.ServiceTest.barDescriptor
private
Initial value:
=
TestService.getDescriptor().getMethods().get(1)

Definition at line 66 of file compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ServiceTest.java.

◆ control

IMocksControl com.google.protobuf.test.ServiceTest.control
private

◆ fooDescriptor

final Descriptors.MethodDescriptor com.google.protobuf.test.ServiceTest.fooDescriptor
private
Initial value:
=
TestService.getDescriptor().getMethods().get(0)

Definition at line 64 of file compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ServiceTest.java.

◆ mockController

RpcController com.google.protobuf.test.ServiceTest.mockController
private

The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08