Review Build time (#16444)
This commit is contained in:
parent
979f4ffb2c
commit
8b62a51599
|
@ -8,7 +8,7 @@ import org.junit.jupiter.api.Test;
|
|||
import org.optaplanner.core.api.solver.Solver;
|
||||
import org.optaplanner.core.api.solver.SolverFactory;
|
||||
|
||||
public class OptaPlannerUnitTest {
|
||||
public class OptaPlannerLongRunningUnitTest {
|
||||
|
||||
static CourseSchedule unsolvedCourseSchedule;
|
||||
|
|
@ -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 {
|
|
@ -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 {
|
|
@ -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
|
|
@ -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 {
|
|
@ -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;
|
|
@ -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;
|
|
@ -11,7 +11,7 @@ import io.javaoperatorsdk.operator.springboot.starter.test.EnableMockOperator;
|
|||
|
||||
@SpringBootTest
|
||||
@EnableMockOperator(crdPaths = "classpath:META-INF/fabric8/deptrackresources.com.baeldung-v1.yml")
|
||||
class ApplicationUnitTest {
|
||||
class ApplicationLongRunningUnitTest {
|
||||
@Autowired
|
||||
KubernetesClient client;
|
||||
@Test
|
|
@ -7,7 +7,7 @@ import static io.restassured.RestAssured.given;
|
|||
import static org.hamcrest.CoreMatchers.is;
|
||||
|
||||
@QuarkusTest
|
||||
public class HelloResourceUnitTest {
|
||||
public class HelloResourceLongRunningUnitTest {
|
||||
|
||||
@Test
|
||||
public void testHelloEndpoint() {
|
|
@ -6,7 +6,7 @@ import io.quarkus.test.junit.QuarkusIntegrationTest;
|
|||
|
||||
@QuarkusIntegrationTest
|
||||
@QuarkusTestResource(H2DatabaseTestResource.class)
|
||||
public class NativeHelloResourceIT extends HelloResourceUnitTest {
|
||||
public class NativeHelloResourceIT extends HelloResourceLongRunningUnitTest {
|
||||
|
||||
// Execute the same tests but in native mode.
|
||||
}
|
|
@ -14,7 +14,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
import static org.mockito.Mockito.when;
|
||||
|
||||
@QuarkusTest
|
||||
class LibraryServiceInjectMockUnitTest {
|
||||
class LibraryServiceInjectMockLongRunningUnitTest {
|
||||
|
||||
@Inject
|
||||
LibraryService libraryService;
|
|
@ -15,7 +15,7 @@ import java.util.Arrays;
|
|||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
@QuarkusTest
|
||||
class LibraryServiceQuarkusMockUnitTest {
|
||||
class LibraryServiceQuarkusMockLongRunningUnitTest {
|
||||
|
||||
@Inject
|
||||
LibraryService libraryService;
|
Loading…
Reference in New Issue