Skip to content

Commit 10191e0

Browse files
committed
format fixed
1 parent dc0008f commit 10191e0

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.gradle
22
.idea
3-
/build/
4-
/out/
3+
**/build/
4+
**/out/
55
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
66
!gradle-wrapper.jar

core/src/test/java/com/avast/grpc/jwt/client/JwtCallCredentialsTest.java

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
package com.avast.grpc.jwt.client;
22

3+
import static org.junit.Assert.assertEquals;
4+
import static org.mockito.Mockito.mock;
5+
36
import com.avast.grpc.jwt.Constants;
47
import io.grpc.CallCredentials;
58
import io.grpc.Metadata;
69
import io.grpc.Status;
7-
import org.junit.Test;
8-
910
import java.util.concurrent.CompletableFuture;
1011
import java.util.concurrent.ExecutorService;
1112
import java.util.concurrent.Executors;
1213
import java.util.concurrent.atomic.AtomicReference;
13-
14-
import static org.junit.Assert.assertEquals;
15-
import static org.mockito.Mockito.mock;
14+
import org.junit.Test;
1615

1716
public class JwtCallCredentialsTest {
1817

core/src/test/java/com/avast/grpc/jwt/server/JwtServerInterceptorTest.java

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
package com.avast.grpc.jwt.server;
22

3+
import static org.junit.Assert.*;
4+
import static org.mockito.Mockito.*;
5+
36
import com.avast.grpc.jwt.Constants;
47
import io.grpc.Metadata;
58
import io.grpc.ServerCall;
69
import io.grpc.ServerCallHandler;
7-
import org.junit.Test;
8-
910
import java.util.concurrent.atomic.AtomicReference;
10-
11-
import static org.mockito.Mockito.*;
12-
import static org.junit.Assert.*;
11+
import org.junit.Test;
1312

1413
public class JwtServerInterceptorTest {
1514

keycloak/src/test/java/com/avast/grpc/jwt/keycloak/KeycloakTest.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.avast.grpc.jwt.keycloak;
22

3+
import static org.junit.Assert.assertEquals;
4+
35
import com.avast.grpc.jwt.keycloak.client.KeycloakJwtCallCredentials;
46
import com.avast.grpc.jwt.keycloak.server.KeycloakJwtServerInterceptor;
57
import com.avast.grpc.jwt.test.TestServiceGrpc;
@@ -11,11 +13,8 @@
1113
import io.grpc.ServerInterceptors;
1214
import io.grpc.inprocess.InProcessChannelBuilder;
1315
import io.grpc.inprocess.InProcessServerBuilder;
14-
import org.junit.Test;
15-
1616
import java.io.IOException;
17-
18-
import static org.junit.Assert.assertEquals;
17+
import org.junit.Test;
1918

2019
public class KeycloakTest {
2120
@Test

0 commit comments

Comments
 (0)