[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user