Skip to content

Commit

Permalink
Add javafmt plugin (#260)
Browse files Browse the repository at this point in the history
* add javafmt plugin

* execute sbt javafmtAll

* update .git-blame-ignore-revs

---------

Co-authored-by: tangjiafu <[email protected]>
Co-authored-by: PJ Fanning <[email protected]>
  • Loading branch information
3 people authored Apr 6, 2024
1 parent 3a14cf3 commit 7783170
Show file tree
Hide file tree
Showing 26 changed files with 1,276 additions and 1,146 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# scalafmt
3b6138ee4093ae6c451d03e48d2bc085b3239731
64b67e4087205035744f3a2851443472569b46c5

# manual
6d565ee5f4851d9c7bb3546f684cceeb23b9eb73
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,67 +13,68 @@

package io.grpc.testing.integration2;

import io.grpc.ManagedChannel;

import java.io.InputStream;

/**
* This class has all the methods of the grpc-java AbstractInteropTest, but none of the implementations,
* so it can be implemented either by calling AbstractInteropTest or with an Apache Pekko gRPC implementation.
* This class has all the methods of the grpc-java AbstractInteropTest, but none of the
* implementations, so it can be implemented either by calling AbstractInteropTest or with an Apache
* Pekko gRPC implementation.
*
* Test requirements documentation: https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md
* <p>Test requirements documentation:
* https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md
*/
public interface ClientTester {

void setUp();

void tearDown() throws Exception;
void setUp();

void emptyUnary() throws Exception;
void tearDown() throws Exception;

void cacheableUnary();
void emptyUnary() throws Exception;

void largeUnary() throws Exception;
void cacheableUnary();

void clientCompressedUnary(boolean probe) throws Exception;
void largeUnary() throws Exception;

void serverCompressedUnary() throws Exception;
void clientCompressedUnary(boolean probe) throws Exception;

void clientStreaming() throws Exception;
void serverCompressedUnary() throws Exception;

void clientCompressedStreaming(boolean probe) throws Exception;
void clientStreaming() throws Exception;

void serverStreaming() throws Exception;
void clientCompressedStreaming(boolean probe) throws Exception;

void serverCompressedStreaming() throws Exception;

void pingPong() throws Exception;
void serverStreaming() throws Exception;

void emptyStream() throws Exception;
void serverCompressedStreaming() throws Exception;

void computeEngineCreds(String serviceAccount, String oauthScope) throws Exception;
void pingPong() throws Exception;

void serviceAccountCreds(String jsonKey, InputStream credentialsStream, String authScope) throws Exception;
void emptyStream() throws Exception;

void jwtTokenCreds(InputStream serviceAccountJson) throws Exception;
void computeEngineCreds(String serviceAccount, String oauthScope) throws Exception;

void oauth2AuthToken(String jsonKey, InputStream credentialsStream, String authScope) throws Exception;
void serviceAccountCreds(String jsonKey, InputStream credentialsStream, String authScope)
throws Exception;

void perRpcCreds(String jsonKey, InputStream credentialsStream, String oauthScope) throws Exception;
void jwtTokenCreds(InputStream serviceAccountJson) throws Exception;

void customMetadata() throws Exception;
void oauth2AuthToken(String jsonKey, InputStream credentialsStream, String authScope)
throws Exception;

void statusCodeAndMessage() throws Exception;
void perRpcCreds(String jsonKey, InputStream credentialsStream, String oauthScope)
throws Exception;

void unimplementedMethod();
void customMetadata() throws Exception;

void unimplementedService();
void statusCodeAndMessage() throws Exception;

void cancelAfterBegin() throws Exception;
void unimplementedMethod();

void cancelAfterFirstResponse() throws Exception;
void unimplementedService();

void timeoutOnSleepingServer() throws Exception;
void cancelAfterBegin() throws Exception;

void cancelAfterFirstResponse() throws Exception;

void timeoutOnSleepingServer() throws Exception;
}
Loading

0 comments on commit 7783170

Please sign in to comment.