-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move tests that are not specific to H2 out of integration-tests/jpa-h2
- Loading branch information
Showing
22 changed files
with
103 additions
and
73 deletions.
There are no files selected for viewing
42 changes: 0 additions & 42 deletions
42
...on-tests/jpa-h2/src/main/java/io/quarkus/it/jpa/h2/basicproxy/BasicProxyTestEndpoint.java
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
integration-tests/jpa-h2/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
quarkus.datasource.jdbc.max-size=8 | ||
quarkus.hibernate-orm.database.generation=drop-and-create | ||
|
||
dummy.transaction.timeout=30 | ||
transaction.timeout.1s=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...erics/AbstractGenericMappedSuperType.java → ...erics/AbstractGenericMappedSuperType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../generics/IntermediateAbstractMapped.java → .../generics/IntermediateAbstractMapped.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/jpa/h2/generics/SnapshotEventEntry.java → ...s/it/jpa/generics/SnapshotEventEntry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.jpa.h2.generics; | ||
package io.quarkus.it.jpa.generics; | ||
|
||
import jakarta.persistence.Entity; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../it/jpa/h2/basicproxy/AbstractEntity.java → .../quarkus/it/jpa/proxy/AbstractEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../java/io/quarkus/it/jpa/h2/proxy/Cat.java → ...ain/java/io/quarkus/it/jpa/proxy/Cat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...io/quarkus/it/jpa/h2/CompanyCustomer.java → ...quarkus/it/jpa/proxy/CompanyCustomer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.jpa.h2; | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
import jakarta.persistence.Entity; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../it/jpa/h2/basicproxy/ConcreteEntity.java → .../quarkus/it/jpa/proxy/ConcreteEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/java/io/quarkus/it/jpa/h2/Customer.java → ...ava/io/quarkus/it/jpa/proxy/Customer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../java/io/quarkus/it/jpa/h2/proxy/Dog.java → ...ain/java/io/quarkus/it/jpa/proxy/Dog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../io/quarkus/it/jpa/h2/proxy/DogProxy.java → ...ava/io/quarkus/it/jpa/proxy/DogProxy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.jpa.h2.proxy; | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
public interface DogProxy { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...quarkus/it/jpa/h2/IndividualCustomer.java → ...rkus/it/jpa/proxy/IndividualCustomer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.jpa.h2; | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
import jakarta.persistence.Entity; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../java/io/quarkus/it/jpa/h2/proxy/Pet.java → ...ain/java/io/quarkus/it/jpa/proxy/Pet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../io/quarkus/it/jpa/h2/proxy/PetOwner.java → ...ava/io/quarkus/it/jpa/proxy/PetOwner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../io/quarkus/it/jpa/h2/proxy/PetProxy.java → ...ava/io/quarkus/it/jpa/proxy/PetProxy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.quarkus.it.jpa.h2.proxy; | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
public interface PetProxy { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...in/java/io/quarkus/it/jpa/h2/Project.java → ...java/io/quarkus/it/jpa/proxy/Project.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
integration-tests/jpa/src/test/java/io/quarkus/it/jpa/proxy/ProxyInGraalITCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
import io.quarkus.test.junit.QuarkusIntegrationTest; | ||
|
||
/** | ||
* Test various JPA operations running in native mode | ||
*/ | ||
@QuarkusIntegrationTest | ||
public class ProxyInGraalITCase extends ProxyTest { | ||
|
||
} |
28 changes: 28 additions & 0 deletions
28
integration-tests/jpa/src/test/java/io/quarkus/it/jpa/proxy/ProxyTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.quarkus.it.jpa.proxy; | ||
|
||
import static org.hamcrest.Matchers.is; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import io.quarkus.test.junit.QuarkusTest; | ||
import io.restassured.RestAssured; | ||
|
||
@QuarkusTest | ||
public class ProxyTest { | ||
|
||
@Test | ||
public void testBasicProxies() { | ||
RestAssured.when().get("/jpa/proxy/basic").then().body(is("OK")); | ||
} | ||
|
||
@Test | ||
public void testProxyInheritance() { | ||
RestAssured.when().get("/jpa/proxy/inheritance").then().body(is("OK")); | ||
} | ||
|
||
@Test | ||
public void testEnhancedProxies() { | ||
RestAssured.when().get("/jpa/proxy/enhanced").then().body(is("OK")); | ||
} | ||
|
||
} |