Skip to content

Commit

Permalink
Remove remaining usages of fest
Browse files Browse the repository at this point in the history
Summary: fest is deprecated in favor of AssertJ. This removes the last remaining usages.

Reviewed By: jiawei-lyu

Differential Revision: D44469926

fbshipit-source-id: f2ea60348511942a396c7aa7a23c8b2fc1d5289c
  • Loading branch information
Joshua Selbo authored and facebook-github-bot committed Mar 28, 2023
1 parent 11791b4 commit 3036463
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/ByteBufferTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThat;

import java.nio.Buffer;
import java.nio.ByteBuffer;
Expand Down
4 changes: 2 additions & 2 deletions test/DocTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.fest.assertions.api.Assertions.failBecauseExceptionWasNotThrown;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown;

import com.facebook.soloader.nativeloader.NativeLoader;
import java.nio.ByteBuffer;
Expand Down
4 changes: 2 additions & 2 deletions test/FBJniTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.verify;

import com.facebook.jni.annotations.DoNotStrip;
import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.Callable;
import org.fest.assertions.api.Fail;
import org.assertj.core.api.Fail;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
Expand Down
2 changes: 1 addition & 1 deletion test/HybridTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThat;

import com.facebook.jni.annotations.DoNotStrip;
import org.junit.Test;
Expand Down
2 changes: 1 addition & 1 deletion test/IteratorTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThat;

import java.util.ArrayList;
import java.util.HashMap;
Expand Down
4 changes: 2 additions & 2 deletions test/PrimitiveArrayTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.fest.assertions.api.Assertions.offset;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.offset;
import static org.junit.Assume.assumeFalse;
import static org.junit.Assume.assumeTrue;

Expand Down
2 changes: 1 addition & 1 deletion test/ReadableByteChannelTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.facebook.jni;

import static org.fest.assertions.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThat;

import java.nio.ByteBuffer;
import java.nio.channels.ReadableByteChannel;
Expand Down

0 comments on commit 3036463

Please sign in to comment.