Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
com.google.protobuf.ServiceTest Class Reference
Inheritance diagram for com.google.protobuf.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 56 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

Member Function Documentation

◆ setUp()

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

◆ testBlockingStub()

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

Tests generated blocking stubs.

Definition at line 140 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

◆ testCallMethod()

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

◆ testGetPrototype()

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

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

Definition at line 102 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

◆ testNewReflectiveBlockingService()

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

◆ testNewReflectiveService()

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

◆ testNoGenericServices()

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

◆ testStub()

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

Tests generated stubs.

Definition at line 112 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

Member Data Documentation

◆ barDescriptor

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

Definition at line 62 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

◆ control

IMocksControl com.google.protobuf.ServiceTest.control
private

◆ fooDescriptor

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

Definition at line 60 of file core/src/test/java/com/google/protobuf/ServiceTest.java.

◆ mockController

RpcController com.google.protobuf.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:07