File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed
src/test/java/line/bot/generator Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 31
31
<plugin >
32
32
<groupId >org.apache.maven.plugins</groupId >
33
33
<artifactId >maven-surefire-plugin</artifactId >
34
- <version >2.12 </version >
34
+ <version >2.22.2 </version >
35
35
<configuration >
36
36
<systemProperties >
37
37
<property >
76
76
<configuration >
77
77
<sources >
78
78
<source >
79
- src/main/java</source >
79
+ src/main/java
80
+ </source >
80
81
</sources >
81
82
</configuration >
82
83
</execution >
89
90
<configuration >
90
91
<sources >
91
92
<source >
92
- src/test/java</source >
93
+ src/test/java
94
+ </source >
93
95
</sources >
94
96
</configuration >
95
97
</execution >
114
116
<scope >provided</scope >
115
117
</dependency >
116
118
<dependency >
117
- <groupId >junit</groupId >
118
- <artifactId >junit</artifactId >
119
- <version >${junit-version} </version >
119
+ <groupId >org.junit.jupiter</groupId >
120
+ <artifactId >junit-jupiter-api</artifactId >
121
+ <version >5.8.0</version > <!-- JUnit 5 のバージョン -->
122
+ <scope >test</scope >
123
+ </dependency >
124
+ <dependency >
125
+ <groupId >org.junit.jupiter</groupId >
126
+ <artifactId >junit-jupiter-engine</artifactId >
127
+ <version >5.8.0</version > <!-- JUnit 5 のバージョン -->
128
+ <scope >test</scope >
120
129
</dependency >
121
130
</dependencies >
122
131
<properties >
123
132
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
124
133
<openapi-generator-version >7.0.0</openapi-generator-version >
125
134
<maven-plugin-version >1.0.0</maven-plugin-version >
126
- <junit-version >4.13.2</junit-version >
127
135
</properties >
128
136
</project >
Original file line number Diff line number Diff line change 1
1
package line .bot .generator ;
2
2
3
- import org .junit .Test ;
3
+ import org .junit .jupiter . api . Test ;
4
4
import org .openapitools .codegen .ClientOptInput ;
5
5
import org .openapitools .codegen .DefaultGenerator ;
6
6
import org .openapitools .codegen .config .CodegenConfigurator ;
7
7
8
- import static org .junit .Assert .assertEquals ;
8
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
9
+
9
10
10
11
/***
11
12
* This test allows you to easily launch your code generation software under a debugger.
You can’t perform that action at this time.
0 commit comments