public class HttpJsonServiceClientTestClassComposer extends ServiceClientTestClassComposer
CLIENT_VAR_NAME, EMPTY_LINE_STATEMENT, FIXED_TYPESTORE, TEST_ANNOTATION| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonServiceClientTestClassComposer() |
| Modifier and Type | Method and Description |
|---|---|
protected MethodDefinition |
createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected GapicClass |
generate(String className,
GapicContext context,
Service service) |
static AbstractServiceClientTestClassComposer |
instance() |
protected boolean |
isSupportedMethod(Method method) |
constructRpcTestCheckerLogic, createClassMemberFieldDecls, createClassMemberVarExprs, createRpcExceptionTestMethod, createRpcLroExceptionTestCatchBody, createSetUpMethod, createStopServerMethod, createStreamingRpcExceptionTestStatements, createStreamingRpcTestMethod, createTearDownMethod, getMockServiceVarNamecreateRpcExceptionTestStatements, createUnsupportedTestMethod, generate, getCallableMethodName, getCallableType, getTransportContextprotected HttpJsonServiceClientTestClassComposer()
public static AbstractServiceClientTestClassComposer instance()
protected GapicClass generate(String className, GapicContext context, Service service)
generate in class AbstractServiceClientTestClassComposerprotected boolean isSupportedMethod(Method method)
isSupportedMethod in class AbstractServiceClientTestClassComposerprotected MethodDefinition createStartStaticServerMethod(Service service, GapicContext context, Map<String,VariableExpr> classMemberVarExprs, TypeStore typeStore, String newBuilderMethod)
createStartStaticServerMethod in class ServiceClientTestClassComposerCopyright © 2022 Google LLC. All rights reserved.