GlassianBlurTest: move golden images comment next to the test
PiperOrigin-RevId: 596892569
This commit is contained in:
parent
4198f7e242
commit
dee2d3af73
@ -44,8 +44,6 @@ import org.junit.runner.RunWith;
|
|||||||
public class GaussianBlurTest {
|
public class GaussianBlurTest {
|
||||||
@Rule public final TestName testName = new TestName();
|
@Rule public final TestName testName = new TestName();
|
||||||
|
|
||||||
// Golden images were generated on an API 33 emulator. API 26 emulators have a different text
|
|
||||||
// rendering implementation that leads to a larger pixel difference.
|
|
||||||
private static final String ASSET_PATH = "media/bitmap/GaussianBlurTest";
|
private static final String ASSET_PATH = "media/bitmap/GaussianBlurTest";
|
||||||
private static final int BLANK_FRAME_WIDTH = 200;
|
private static final int BLANK_FRAME_WIDTH = 200;
|
||||||
private static final int BLANK_FRAME_HEIGHT = 100;
|
private static final int BLANK_FRAME_HEIGHT = 100;
|
||||||
@ -83,6 +81,8 @@ public class GaussianBlurTest {
|
|||||||
testId = testName.getMethodName();
|
testId = testName.getMethodName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Golden images for these tests were generated on an API 33 emulator. API 26 emulators have a
|
||||||
|
// different text rendering implementation that leads to a larger pixel difference.
|
||||||
@Test
|
@Test
|
||||||
@RequiresNonNull({"textureBitmapReader", "testId"})
|
@RequiresNonNull({"textureBitmapReader", "testId"})
|
||||||
public void gaussianBlur_blursFrame() throws Exception {
|
public void gaussianBlur_blursFrame() throws Exception {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user