Review Build time (#16444)

This commit is contained in:
Harry9656 2024-04-20 13:08:21 +02:00 committed by GitHub
parent 979f4ffb2c
commit 8b62a51599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 13 additions and 13 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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() {

View File

@ -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.
}

View File

@ -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;

View File

@ -15,7 +15,7 @@ import java.util.Arrays;
import static org.junit.jupiter.api.Assertions.assertEquals;
@QuarkusTest
class LibraryServiceQuarkusMockUnitTest {
class LibraryServiceQuarkusMockLongRunningUnitTest {
@Inject
LibraryService libraryService;