Skip to content

Commit

Permalink
rename dev profile to test profile to avoid confussion
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarranzan committed Sep 25, 2024
1 parent b3384fd commit 2bf0026
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Configuration {

@Produces
@TopCommand
@IfBuildProfile("dev")
@IfBuildProfile("test")
public Class<EntryCommand> devCommand() {
return EntryCommand.class;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io.quarkus.ts.qe.services.HelloService;

@QuarkusScenario
public class PicocliProdIT {
public class PicocliPofileProdIT {
@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "prod.properties")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,39 @@
import io.quarkus.ts.qe.services.HelloService;

@QuarkusScenario
public class PicocliDevIT {
public class PicocliProfileTestIT {

@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "dev.properties")
Configuration.class, AgeService.class, HelloService.class }, properties = "test.properties")
static final RestService greetingApp = new RestService()
.withProperty("quarkus.args", "greeting --name QE")
.setAutoStart(false);

@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "dev.properties")
Configuration.class, AgeService.class, HelloService.class }, properties = "test.properties")
static final RestService ageApp = new RestService()
.withProperty("quarkus.args", "age --age 30")
.setAutoStart(false);

@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "dev.properties")
Configuration.class, AgeService.class, HelloService.class }, properties = "test.properties")
static final RestService greetingBlankArgumentApp = new RestService()
.withProperty("quarkus.args", " --name QE")
.setAutoStart(false);

@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "dev.properties")
Configuration.class, AgeService.class, HelloService.class }, properties = "test.properties")
static final RestService greetingInvalidArgumentApp = new RestService()
.withProperty("quarkus.args", "greeting -x QE")
.setAutoStart(false);

@QuarkusApplication(classes = { AgeCommand.class, CommonOptions.class, EntryCommand.class, HelloCommand.class,
OtherCommand.class, OtherEntryCommand.class,
Configuration.class, AgeService.class, HelloService.class }, properties = "dev.properties")
Configuration.class, AgeService.class, HelloService.class }, properties = "test.properties")
static final RestService bothTopCommandApp = new RestService()
.setAutoStart(false);

Expand Down
1 change: 0 additions & 1 deletion quarkus-picocli/src/test/resources/dev.properties

This file was deleted.

1 change: 1 addition & 0 deletions quarkus-picocli/src/test/resources/test.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quarkus.profile=test

0 comments on commit 2bf0026

Please sign in to comment.