File tree Expand file tree Collapse file tree 3 files changed +47
-37
lines changed
quarkus-spring-boot-test-api
src/main/java/org/springframework/boot/test/context Expand file tree Collapse file tree 3 files changed +47
-37
lines changed Original file line number Diff line number Diff line change 4444 <maven .compiler.target>17</maven .compiler.target>
4545 <spring-boot-test .version>3.5.7</spring-boot-test .version>
4646 <spring-test .version>6.2.12</spring-test .version>
47+ <quarkus-junit5 .version>3.15.1</quarkus-junit5 .version>
4748 </properties >
4849
4950 <packaging >pom</packaging >
6566 <artifactId >spring-test</artifactId >
6667 <version >${spring-test.version} </version >
6768 </dependency >
69+ <dependency >
70+ <groupId >io.quarkus</groupId >
71+ <artifactId >quarkus-junit5</artifactId >
72+ <version >${quarkus-junit5.version} </version >
73+ </dependency >
6874 </dependencies >
6975 </dependencyManagement >
7076
Original file line number Diff line number Diff line change 1414
1515 <dependencies >
1616 <dependency >
17- <groupId >org.springframework.boot</groupId >
18- <artifactId >spring-boot-test</artifactId >
17+ <groupId >io.quarkus</groupId >
18+ <artifactId >quarkus-junit5</artifactId >
19+ <scope >provided</scope >
1920 </dependency >
2021 </dependencies >
2122
22- <build >
23- <plugins >
24- <plugin >
25- <groupId >org.apache.maven.plugins</groupId >
26- <artifactId >maven-shade-plugin</artifactId >
27- <version >${maven-shade-plugin.version} </version >
28- <executions >
29- <execution >
30- <phase >package</phase >
31- <goals >
32- <goal >shade</goal >
33- </goals >
34- <configuration >
35- <createSourcesJar >true</createSourcesJar >
36- <artifactSet >
37- <includes >
38- <include >org.springframework.boot:spring-boot-test</include >
39- </includes >
40- </artifactSet >
41- <filters >
42- <filter >
43- <artifact >org.springframework.boot:spring-boot-test</artifact >
44- <includes >
45- <!-- Used in Quarkus -->
46- <include >org/springframework/boot/test/context/SpringBootTest**</include >
47- </includes >
48- </filter >
49- </filters >
50- </configuration >
51- </execution >
52- </executions >
53- </plugin >
54- </plugins >
55- </build >
56- </project >
23+ </project >
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2012-present the original author or authors.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * https://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package org .springframework .boot .test .context ;
18+
19+ import java .lang .annotation .Documented ;
20+ import java .lang .annotation .ElementType ;
21+ import java .lang .annotation .Inherited ;
22+ import java .lang .annotation .Retention ;
23+ import java .lang .annotation .RetentionPolicy ;
24+ import java .lang .annotation .Target ;
25+
26+ import org .junit .jupiter .api .extension .ExtendWith ;
27+
28+ import io .quarkus .test .junit .QuarkusTestExtension ;
29+
30+ @ Target (ElementType .TYPE )
31+ @ Retention (RetentionPolicy .RUNTIME )
32+ @ Documented
33+ @ Inherited
34+ @ ExtendWith (QuarkusTestExtension .class )
35+ public @interface SpringBootTest {
36+
37+ }
You can’t perform that action at this time.
0 commit comments