Search in sources :

Example 1 with BitmapRegressionTester

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

the class FitCenterRegressionTest 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)

Example 2 with BitmapRegressionTester

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

the class CenterInsideRegressionTest 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)

Example 3 with BitmapRegressionTester

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

the class RoundedCornersRegressionTest method setUp.

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

Example 4 with BitmapRegressionTester

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

the class CenterCropRegressionTest 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)

Example 5 with BitmapRegressionTester

use of com.bumptech.glide.test.BitmapRegressionTester 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

BitmapRegressionTester (com.bumptech.glide.test.BitmapRegressionTester)5 CanonicalBitmap (com.bumptech.glide.test.CanonicalBitmap)5 Before (org.junit.Before)5