[Test Week] Add ViewCacheTest

Number of new tested methods: 3

Bug: 353303621
Test: This is the unit test
Flag: NONE - unit test
Change-Id: I235ba375db12b9f3fac6f204018b32e692835eab
This commit is contained in:
Fengjiang Li committed 2024-07-15 16:51:10 -07:00
1 parent 72c4ebed6c
commit 7c8f90f04a
2 files changed
+93 -1

No files matched your search

@@ -21,6 +21,8 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.VisibleForTesting;
import com.android.launcher3.R;
/**
@@ -67,7 +69,8 @@ public class ViewCache {
}
}
private static class CacheEntry {
@VisibleForTesting
static class CacheEntry {
final int mMaxSize;
final View[] mViews;