C# Class Grpc.IntegrationTesting.InteropClient

Mostra file Open project: endlessm/chromium-browser Class Usage Examples

Public Methods

Method Description
Run ( string args ) : void
RunCancelAfterBeginAsync ( Grpc.Testing.TestService client ) : Task
RunCancelAfterFirstResponseAsync ( Grpc.Testing.TestService client ) : Task
RunClientStreamingAsync ( Grpc.Testing.TestService client ) : Task
RunComputeEngineCreds ( Grpc.Testing.TestService client, string defaultServiceAccount, string oauthScope ) : void
RunCustomMetadataAsync ( Grpc.Testing.TestService client ) : Task
RunEmptyStreamAsync ( Grpc.Testing.TestService client ) : Task
RunEmptyUnary ( Grpc.Testing.TestService client ) : void
RunJwtTokenCreds ( Grpc.Testing.TestService client ) : void
RunLargeUnary ( Grpc.Testing.TestService client ) : void
RunOAuth2AuthTokenAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
RunPerRpcCredsAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
RunPingPongAsync ( Grpc.Testing.TestService client ) : Task
RunServerStreamingAsync ( Grpc.Testing.TestService client ) : Task
RunStatusCodeAndMessageAsync ( Grpc.Testing.TestService client ) : Task
RunTimeoutOnSleepingServerAsync ( Grpc.Testing.TestService client ) : Task
RunUnimplementedMethod ( Grpc.Testing.UnimplementedService client ) : void

Private Methods

Method Description
CreateCredentialsAsync ( ) : Task
CreateTestMetadata ( ) : Grpc.Core.Metadata
CreateZerosPayload ( int size ) : Payload
GetEmailFromServiceAccountFile ( ) : string
InteropClient ( ClientOptions options ) : System
Run ( ) : Task
RunTestCaseAsync ( Grpc.Core.Channel channel, ClientOptions options ) : Task

Method Details

Run() public static method

public static Run ( string args ) : void
args string
return void

RunCancelAfterBeginAsync() public static method

public static RunCancelAfterBeginAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunCancelAfterFirstResponseAsync() public static method

public static RunCancelAfterFirstResponseAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunClientStreamingAsync() public static method

public static RunClientStreamingAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunComputeEngineCreds() public static method

public static RunComputeEngineCreds ( Grpc.Testing.TestService client, string defaultServiceAccount, string oauthScope ) : void
client Grpc.Testing.TestService
defaultServiceAccount string
oauthScope string
return void

RunCustomMetadataAsync() public static method

public static RunCustomMetadataAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunEmptyStreamAsync() public static method

public static RunEmptyStreamAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunEmptyUnary() public static method

public static RunEmptyUnary ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
return void

RunJwtTokenCreds() public static method

public static RunJwtTokenCreds ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
return void

RunLargeUnary() public static method

public static RunLargeUnary ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
return void

RunOAuth2AuthTokenAsync() public static method

public static RunOAuth2AuthTokenAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
client Grpc.Testing.TestService
oauthScope string
return Task

RunPerRpcCredsAsync() public static method

public static RunPerRpcCredsAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
client Grpc.Testing.TestService
oauthScope string
return Task

RunPingPongAsync() public static method

public static RunPingPongAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunServerStreamingAsync() public static method

public static RunServerStreamingAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunStatusCodeAndMessageAsync() public static method

public static RunStatusCodeAndMessageAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunTimeoutOnSleepingServerAsync() public static method

public static RunTimeoutOnSleepingServerAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
return Task

RunUnimplementedMethod() public static method

public static RunUnimplementedMethod ( Grpc.Testing.UnimplementedService client ) : void
client Grpc.Testing.UnimplementedService
return void