Excluindo testes de código apagado

This commit is contained in:
Gustavo Barbosa 2025-07-30 23:55:53 -03:00
parent cfe62b1c15
commit 0807d760b1
2 changed files with 0 additions and 44 deletions

View file

@ -1,9 +0,0 @@
package org.acme.getting.started;
import io.quarkus.test.junit.QuarkusIntegrationTest;
@QuarkusIntegrationTest
public class GreetingResourceIT extends GreetingResourceTest {
// Execute the same tests but in native mode.
}

View file

@ -1,35 +0,0 @@
package org.acme.getting.started;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
import java.util.UUID;
import org.junit.jupiter.api.Test;
import io.quarkus.test.junit.QuarkusTest;
@QuarkusTest
public class GreetingResourceTest {
@Test
public void testHelloEndpoint() {
given()
.when().get("/hello")
.then()
.statusCode(200)
.body(is("hello"));
}
@Test
public void testGreetingEndpoint() {
String uuid = UUID.randomUUID().toString();
given()
.pathParam("name", uuid)
.when().get("/hello/greeting/{name}")
.then()
.statusCode(200)
.body(is("hello " + uuid));
}
}