File tree 7 files changed +18
-18
lines changed
artemis-elasticsearch/src/test/java/org/acme
file-bindy-ftp/src/test/java/org/acme/bindy/ftp
jdbc-datasource/src/test/java/org/acme/jdbc
jms-jpa/src/test/java/org/acme
jpa-idempotent-repository/src/test/java/org/acme/jpa/idempotent/repository
jta-jpa/src/test/java/org/acme
message-bridge/src/test/java/org/acme/message/bridge
7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 20
20
import java .io .IOException ;
21
21
import java .time .Duration ;
22
22
23
- import io .quarkus .test .common .QuarkusTestResource ;
23
+ import io .quarkus .test .common .WithTestResource ;
24
24
import io .quarkus .test .junit .QuarkusTest ;
25
25
import org .acme .resource .CustomPahoTestResource ;
26
26
import org .acme .resource .ElasticSearchTestResource ;
31
31
import static org .hamcrest .Matchers .is ;
32
32
33
33
@ QuarkusTest
34
- @ QuarkusTestResource (CustomPahoTestResource .class )
35
- @ QuarkusTestResource (ElasticSearchTestResource .class )
34
+ @ WithTestResource (CustomPahoTestResource .class )
35
+ @ WithTestResource (ElasticSearchTestResource .class )
36
36
class ElasticSearchTest {
37
37
38
38
@ Test
Original file line number Diff line number Diff line change 23
23
import com .jcraft .jsch .JSch ;
24
24
import com .jcraft .jsch .JSchException ;
25
25
import com .jcraft .jsch .Session ;
26
- import io .quarkus .test .common .QuarkusTestResource ;
26
+ import io .quarkus .test .common .WithTestResource ;
27
27
import io .quarkus .test .junit .QuarkusTest ;
28
28
import org .eclipse .microprofile .config .Config ;
29
29
import org .eclipse .microprofile .config .ConfigProvider ;
32
32
import static org .awaitility .Awaitility .await ;
33
33
34
34
@ QuarkusTest
35
- @ QuarkusTestResource (FtpTestResource .class )
35
+ @ WithTestResource (FtpTestResource .class )
36
36
public class FileToFtpTest {
37
37
38
38
@ Test
Original file line number Diff line number Diff line change 18
18
19
19
import java .util .concurrent .TimeUnit ;
20
20
21
- import io .quarkus .test .common .QuarkusTestResource ;
21
+ import io .quarkus .test .common .WithTestResource ;
22
22
import io .quarkus .test .junit .QuarkusTest ;
23
23
import io .restassured .RestAssured ;
24
24
import org .junit .jupiter .api .Test ;
25
25
26
26
import static org .awaitility .Awaitility .await ;
27
27
28
28
@ QuarkusTest
29
- @ QuarkusTestResource (PostgresSourceDatabaseTestResource .class )
30
- @ QuarkusTestResource (PostgresTargetDatabaseTestResource .class )
29
+ @ WithTestResource (PostgresSourceDatabaseTestResource .class )
30
+ @ WithTestResource (PostgresTargetDatabaseTestResource .class )
31
31
public class JdbcTest {
32
32
33
33
@ Test
Original file line number Diff line number Diff line change 20
20
import java .util .concurrent .TimeUnit ;
21
21
22
22
import io .quarkus .artemis .test .ArtemisTestResource ;
23
- import io .quarkus .test .common .QuarkusTestResource ;
23
+ import io .quarkus .test .common .WithTestResource ;
24
24
import io .quarkus .test .h2 .H2DatabaseTestResource ;
25
25
import io .quarkus .test .junit .QuarkusTest ;
26
26
import org .awaitility .Awaitility ;
30
30
import static org .hamcrest .Matchers .is ;
31
31
32
32
@ QuarkusTest
33
- @ QuarkusTestResource (H2DatabaseTestResource .class )
34
- @ QuarkusTestResource (ArtemisTestResource .class )
33
+ @ WithTestResource (H2DatabaseTestResource .class )
34
+ @ WithTestResource (ArtemisTestResource .class )
35
35
public class JtaTest {
36
36
@ Test
37
37
public void testXA () {
Original file line number Diff line number Diff line change 18
18
19
19
import java .util .concurrent .TimeUnit ;
20
20
21
- import io .quarkus .test .common .QuarkusTestResource ;
21
+ import io .quarkus .test .common .WithTestResource ;
22
22
import io .quarkus .test .junit .QuarkusTest ;
23
23
import io .restassured .RestAssured ;
24
24
import org .junit .jupiter .api .Test ;
25
25
26
26
import static org .awaitility .Awaitility .await ;
27
27
28
28
@ QuarkusTest
29
- @ QuarkusTestResource (JpaIdempotentRepositoryTestResource .class )
29
+ @ WithTestResource (JpaIdempotentRepositoryTestResource .class )
30
30
public class JpaIdempotentRepositoryTest {
31
31
@ Test
32
32
public void contentSetShouldStartWithOneThreeFive () {
Original file line number Diff line number Diff line change 18
18
19
19
import java .util .UUID ;
20
20
21
- import io .quarkus .test .common .QuarkusTestResource ;
21
+ import io .quarkus .test .common .WithTestResource ;
22
22
import io .quarkus .test .h2 .H2DatabaseTestResource ;
23
23
import io .quarkus .test .junit .QuarkusTest ;
24
24
import org .junit .jupiter .api .Test ;
27
27
import static org .hamcrest .Matchers .is ;
28
28
29
29
@ QuarkusTest
30
- @ QuarkusTestResource (H2DatabaseTestResource .class )
30
+ @ WithTestResource (H2DatabaseTestResource .class )
31
31
public class JtaTest {
32
32
@ Test
33
33
public void testXA () {
Original file line number Diff line number Diff line change 22
22
import java .util .concurrent .TimeUnit ;
23
23
24
24
import io .quarkus .artemis .test .ArtemisTestResource ;
25
- import io .quarkus .test .common .QuarkusTestResource ;
25
+ import io .quarkus .test .common .WithTestResource ;
26
26
import io .quarkus .test .junit .QuarkusIntegrationTest ;
27
27
import io .restassured .RestAssured ;
28
28
import org .acme .message .bridge .resource .IBMMQTestResource ;
37
37
import static org .assertj .core .api .Assertions .assertThat ;
38
38
39
39
@ QuarkusIntegrationTest
40
- @ QuarkusTestResource (ArtemisTestResource .class )
41
- @ QuarkusTestResource (IBMMQTestResource .class )
40
+ @ WithTestResource (ArtemisTestResource .class )
41
+ @ WithTestResource (IBMMQTestResource .class )
42
42
// The crash test will kill the app, so it must be executed last as there is no way to restart the application
43
43
@ TestMethodOrder (MethodOrderer .OrderAnnotation .class )
44
44
public class MessageBridgeITCase {
You can’t perform that action at this time.
0 commit comments