Search in sources :

Example 6 with CanonicalBitmap

use of com.bumptech.glide.test.CanonicalBitmap in project glide by bumptech.

the class CircleCropRegressionTest method setUp.

@Before
public void setUp() {
    context = InstrumentationRegistry.getTargetContext();
    bitmapRegressionTester = new BitmapRegressionTester(getClass(), testName);
    canonical = new CanonicalBitmap();
}
Also used : BitmapRegressionTester(com.bumptech.glide.test.BitmapRegressionTester) CanonicalBitmap(com.bumptech.glide.test.CanonicalBitmap) Before(org.junit.Before)

Aggregations

CanonicalBitmap (com.bumptech.glide.test.CanonicalBitmap)6 BitmapRegressionTester (com.bumptech.glide.test.BitmapRegressionTester)5 Before (org.junit.Before)5 Bitmap (android.graphics.Bitmap)1 RoundedCorners (com.bumptech.glide.load.resource.bitmap.RoundedCorners)1 RegressionTest (com.bumptech.glide.test.RegressionTest)1 Test (org.junit.Test)1