Review Build time (#16444)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ import javax.imageio.ImageIO;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class Graphics2DExampleUnitTest {
|
||||
public class Graphics2DExampleIntegrationTest {
|
||||
|
||||
@Test(expected = Test.None.class)
|
||||
public void whenOriginalImageExistsAndTargetSizesAreNotZero_thenImageGeneratedWithoutError() throws IOException {
|
||||
+1
-1
@@ -13,7 +13,7 @@ import javax.imageio.ImageIO;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ImageScaledInstanceExampleUnitTest {
|
||||
public class ImageScaledInstanceExampleIntegrationTest {
|
||||
|
||||
@Test(expected = Test.None.class)
|
||||
public void whenOriginalImageExistsAndTargetSizesAreNotZero_thenImageGeneratedWithoutError() throws IOException {
|
||||
+2
-2
@@ -13,10 +13,10 @@ import java.io.IOException;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
public class ImageToBufferedImageUnitTest {
|
||||
public class ImageToBufferedImageIntegrationTest {
|
||||
Image image = ImageIO.read(new File("src/main/resources/images/sampleImage.jpg"));
|
||||
|
||||
public ImageToBufferedImageUnitTest() throws IOException {
|
||||
public ImageToBufferedImageIntegrationTest() throws IOException {
|
||||
}
|
||||
|
||||
@Test
|
||||
+1
-1
@@ -13,7 +13,7 @@ import javax.imageio.ImageIO;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ImgscalrExampleUnitTest {
|
||||
public class ImgscalrExampleIntegrationTest {
|
||||
|
||||
@Test(expected = Test.None.class)
|
||||
public void whenOriginalImageExistsAndTargetSizesAreNotZero_thenImageGeneratedWithoutError() throws IOException {
|
||||
+1
-1
@@ -13,7 +13,7 @@ import javax.imageio.ImageIO;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class MarvinExampleUnitTest {
|
||||
public class MarvinExampleIntegrationTest {
|
||||
@Test(expected = Test.None.class)
|
||||
public void whenOriginalImageExistsAndTargetSizesAreNotZero_thenImageGeneratedWithoutError() throws IOException {
|
||||
int targetWidth = 200;
|
||||
+1
-1
@@ -13,7 +13,7 @@ import javax.imageio.ImageIO;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ThumbnailatorExampleUnitTest {
|
||||
public class ThumbnailatorExampleIntegrationTest {
|
||||
@Test(expected = Test.None.class)
|
||||
public void whenOriginalImageExistsAndTargetSizesAreNotZero_thenImageGeneratedWithoutError() throws IOException {
|
||||
int targetWidth = 200;
|
||||
Reference in New Issue
Block a user