GlassianBlurTest: move golden images comment next to the test

PiperOrigin-RevId: 596892569
This commit is contained in:
tofunmi 2024-01-09 04:39:24 -08:00 committed by Copybara-Service
parent 4198f7e242
commit dee2d3af73

View File

@ -44,8 +44,6 @@ import org.junit.runner.RunWith;
public class GaussianBlurTest {
@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 int BLANK_FRAME_WIDTH = 200;
private static final int BLANK_FRAME_HEIGHT = 100;
@ -83,6 +81,8 @@ public class GaussianBlurTest {
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
@RequiresNonNull({"textureBitmapReader", "testId"})
public void gaussianBlur_blursFrame() throws Exception {