remove generated GreetingResource

This commit is contained in:
Dusan Jakub
2023-09-18 14:19:49 +02:00
parent 2b2616cbe7
commit aff39b8d26
3 changed files with 0 additions and 45 deletions

View File

@@ -1,16 +0,0 @@
package com.ysoft.geecon;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
@Path("/hello")
public class GreetingResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
public String hello() {
return "Hello from RESTEasy Reactive";
}
}

View File

@@ -1,8 +0,0 @@
package com.ysoft.geecon;
import io.quarkus.test.junit.QuarkusIntegrationTest;
@QuarkusIntegrationTest
public class GreetingResourceIT extends GreetingResourceTest {
// Execute the same tests but in packaged mode.
}

View File

@@ -1,21 +0,0 @@
package com.ysoft.geecon;
import io.quarkus.test.junit.QuarkusTest;
import org.junit.jupiter.api.Test;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
@QuarkusTest
public class GreetingResourceTest {
@Test
public void testHelloEndpoint() {
given()
.when().get("/hello")
.then()
.statusCode(200)
.body(is("Hello from RESTEasy Reactive"));
}
}