This repository was archived by the owner on Oct 24, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +0
-16
lines changed
src/test/java/org/seasar/doma/quarkus/deployment Expand file tree Collapse file tree 3 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 8888 <configuration >
8989 <systemPropertyVariables >
9090 <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
91- <doma .profile>${doma.profile} </doma .profile>
9291 </systemPropertyVariables >
9392 </configuration >
9493 </plugin >
Original file line number Diff line number Diff line change 1010import org .junit .jupiter .api .AfterAll ;
1111import org .junit .jupiter .api .BeforeAll ;
1212import org .junit .jupiter .api .Test ;
13- import org .junit .jupiter .api .condition .EnabledIfSystemProperty ;
1413import org .junit .jupiter .api .extension .RegisterExtension ;
1514
1615public class HotReplacementTest {
@@ -44,7 +43,6 @@ public static void tearDownPort() {
4443 }
4544
4645 @ Test
47- @ EnabledIfSystemProperty (named = "doma.profile" , matches = "release" )
4846 public void sql () {
4947 RestAssured .when ().get ("/hot/sql" ).then ().body (is ("select\n *\n from\n employee\n " ));
5048 runner .modifyResourceFile (
@@ -53,7 +51,6 @@ public void sql() {
5351 }
5452
5553 @ Test
56- @ EnabledIfSystemProperty (named = "doma.profile" , matches = "release" )
5754 public void script () {
5855 RestAssured .when ().get ("/hot/script" ).then ().body (is ("create table employee (\n id int\n )\n " ));
5956 runner .modifyResourceFile (
Original file line number Diff line number Diff line change 6565 </dependencyManagement >
6666
6767 <profiles >
68- <profile >
69- <activation >
70- <activeByDefault >true</activeByDefault >
71- </activation >
72- <id >default</id >
73- <properties >
74- <doma .profile>default</doma .profile>
75- </properties >
76- </profile >
7768 <profile >
7869 <activation >
7970 <activeByDefault >false</activeByDefault >
8071 </activation >
8172 <id >release</id >
82- <properties >
83- <doma .profile>release</doma .profile>
84- </properties >
8573 <build >
8674 <plugins >
8775 <plugin >
You can’t perform that action at this time.
0 commit comments