Skip to content

Commit

Permalink
chore: fix checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Nov 14, 2023
1 parent 765d092 commit 91aa936
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion test/src/androidTest/java/com/hcaptcha/sdk/AssertUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import android.view.View;
import android.webkit.ValueCallback;
import android.webkit.WebView;

import androidx.test.espresso.PerformException;
import androidx.test.espresso.UiController;
import androidx.test.espresso.ViewAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentMatchers;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -224,7 +223,7 @@ public void webViewNotInstalled() throws InterruptedException {
Assume.assumeTrue("Skip test for release, because impossible to mock LayoutInflater", BuildConfig.DEBUG);

final LayoutInflater inflater = mock(LayoutInflater.class);
when(inflater.inflate(ArgumentMatchers.eq(R.layout.hcaptcha_fragment), any(), eq(false)))
when(inflater.inflate(eq(R.layout.hcaptcha_fragment), any(), eq(false)))
.thenThrow(InflateException.class);

final CountDownLatch latch = new CountDownLatch(1);
Expand Down

0 comments on commit 91aa936

Please sign in to comment.