Skip to content

Commit

Permalink
fbandroid/libraries/fresco/memory-types/nativememory/src/test/java/co…
Browse files Browse the repository at this point in the history
…m/facebook/imagepipeline/testing/FakeNativeMemoryChunkPool.java

Reviewed By: defHLT

Differential Revision: D68761453

fbshipit-source-id: 54aaa53e716abfbc378e78c34f6bef168daf6178
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Jan 28, 2025
1 parent a0346f9 commit 316c4be
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
import com.facebook.imagepipeline.memory.NativeMemoryChunkPool;
import com.facebook.imagepipeline.memory.PoolParams;
import com.facebook.imagepipeline.memory.PoolStatsTracker;
import com.facebook.infer.annotation.Nullsafe;

/** A 'fake' {@link NativeMemoryChunkPool} instance as a test helper */
@Nullsafe(Nullsafe.Mode.LOCAL)
public class FakeNativeMemoryChunkPool extends NativeMemoryChunkPool {
public FakeNativeMemoryChunkPool() {
this(new PoolParams(128, getBucketSizes()));
Expand Down

0 comments on commit 316c4be

Please sign in to comment.