Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fc2d80a authored by Bryan Bonnet's avatar Bryan Bonnet Committed by Android (Google) Code Review
Browse files

Merge "Update CachingWidgetPreviewLoaderTest members to be non-static. These...

Merge "Update CachingWidgetPreviewLoaderTest members to be non-static. These classes are stubbed by roboelectric so they cannot be static" into sc-dev
parents 4e74ccb0 3341a710
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -52,15 +52,15 @@ import java.util.Collections;

@RunWith(RobolectricTestRunner.class)
public class CachingWidgetPreviewLoaderTest {
    private static final Size SIZE_10_10 = new Size(10, 10);
    private static final Size SIZE_20_20 = new Size(20, 20);
    private final Size SIZE_10_10 = new Size(10, 10);
    private final Size SIZE_20_20 = new Size(20, 20);
    private static final String TEST_PACKAGE = "com.example.test";
    private static final ComponentName TEST_PROVIDER =
    private final ComponentName TEST_PROVIDER =
            new ComponentName(TEST_PACKAGE, ".WidgetProvider");
    private static final ComponentName TEST_PROVIDER2 =
    private final ComponentName TEST_PROVIDER2 =
            new ComponentName(TEST_PACKAGE, ".WidgetProvider2");
    private static final Bitmap BITMAP = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);
    private static final Bitmap BITMAP2 = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888);
    private final Bitmap BITMAP = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);
    private final Bitmap BITMAP2 = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888);


    @Mock private CancellationSignal mCancellationSignal;