File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed
src/test/java/org/carlspring/cloud/storage/s3fs Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 85
85
<version .guava>30.1-jre</version .guava>
86
86
<version .tika>1.25</version .tika>
87
87
<version .findbugs.jsr305>3.0.2</version .findbugs.jsr305>
88
+ <version .junit>5.7.0</version .junit>
89
+ <version .junit.platform.runner>1.7.0</version .junit.platform.runner>
88
90
<version .mockito>3.6.28</version .mockito>
89
91
<version .marschall.memoryfilesystem>2.1.0</version .marschall.memoryfilesystem>
90
92
</properties >
232
234
<dependency >
233
235
<groupId >org.junit.jupiter</groupId >
234
236
<artifactId >junit-jupiter</artifactId >
235
- <version >5.7.0</version >
237
+ <version >${version.junit} </version >
238
+ <scope >test</scope >
239
+ </dependency >
240
+ <dependency >
241
+ <groupId >org.junit.platform</groupId >
242
+ <artifactId >junit-platform-runner</artifactId >
243
+ <version >${version.junit.platform.runner} </version >
236
244
<scope >test</scope >
237
245
</dependency >
238
246
284
292
<version >3.0.0-M5</version >
285
293
<configuration >
286
294
<includes >
287
- <include >**/*IT .java</include >
295
+ <include >**/*ITSuite .java</include >
288
296
</includes >
289
297
<excludes >
290
298
<exclude >**/**Test.java</exclude >
Original file line number Diff line number Diff line change 13
13
import java .util .HashMap ;
14
14
import java .util .Map ;
15
15
16
+ import org .junit .jupiter .api .Tag ;
16
17
import org .junit .jupiter .api .Test ;
17
18
import static org .carlspring .cloud .storage .s3fs .S3Factory .PATH_STYLE_ACCESS ;
18
19
import static org .carlspring .cloud .storage .s3fs .S3Factory .PROTOCOL ;
22
23
import static org .junit .jupiter .api .Assertions .assertEquals ;
23
24
import static org .junit .jupiter .api .Assertions .assertNull ;
24
25
26
+ @ Tag ("foo" )
25
27
public class ToURLIT
26
28
{
27
29
Original file line number Diff line number Diff line change
1
+ package org .carlspring .cloud .storage .s3fs .suites ;
2
+
3
+ import org .junit .platform .runner .JUnitPlatform ;
4
+ import org .junit .platform .suite .api .IncludeTags ;
5
+ import org .junit .platform .suite .api .SelectPackages ;
6
+ import org .junit .runner .RunWith ;
7
+
8
+ /**
9
+ * @author carlspring
10
+ */
11
+ @ RunWith (JUnitPlatform .class )
12
+ @ IncludeTags ({ "s" })
13
+ @ SelectPackages ("org.carlspring.cloud.storage.s3fs.path" )
14
+ public class AmazonS3ITSuite
15
+ {
16
+ }
You can’t perform that action at this time.
0 commit comments