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  MockCallback
 
class  WrapsCallback
 

Public Member Functions

void setUp () throws Exception
 
void testBlockingStub () throws Exception
 
void testBlockingStub () throws Exception
 
void testCallMethod () throws Exception
 
void testCallMethod () throws Exception
 
void testGetPrototype () throws Exception
 
void testGetPrototype () throws Exception
 
void testNewReflectiveBlockingService () throws ServiceException
 
void testNewReflectiveBlockingService () throws ServiceException
 
void testNewReflectiveService ()
 
void testNewReflectiveService ()
 
void testNoGenericServices () throws Exception
 
void testNoGenericServices () throws Exception
 
void testStub () 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

Tests services and stubs.

Definition at line 56 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ServiceTest.java.

Member Function Documentation

◆ setUp() [1/2]

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

◆ setUp() [2/2]

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

◆ testBlockingStub() [1/2]

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

Tests generated blocking stubs.

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

◆ testBlockingStub() [2/2]

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

Tests generated blocking stubs.

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

◆ testCallMethod() [1/2]

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

◆ testCallMethod() [2/2]

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

◆ testGetPrototype() [1/2]

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

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

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

◆ testGetPrototype() [2/2]

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

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

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

◆ testNewReflectiveBlockingService() [1/2]

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

◆ testNewReflectiveBlockingService() [2/2]

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

◆ testNewReflectiveService() [1/2]

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

◆ testNewReflectiveService() [2/2]

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

◆ testNoGenericServices() [1/2]

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

◆ testNoGenericServices() [2/2]

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

◆ testStub() [1/2]

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

◆ testStub() [2/2]

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

Tests generated stubs.

Definition at line 121 of file protobuf/java/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 bloaty/third_party/protobuf/java/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 bloaty/third_party/protobuf/java/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:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07